Skip to content

Conversation

@MonsieurLazar
Copy link

No description provided.

Copilot AI review requested due to automatic review settings December 29, 2025 00:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds configuration support for the Lenovo Yoga 7 14AKP10 pen and tablet device by introducing a new tablet definition file and a corresponding stylus definition entry.

  • Adds stylus definition for Lenovo Yoga Pen (ID 0x8113) in wacom.stylus
  • Adds tablet configuration file for Lenovo Wacom 53FD (device ID i2c:056a:53fd)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
data/wacom.stylus Adds a new stylus definition entry for the Lenovo Yoga Pen with tilt and pressure support, 2 buttons, and Mobile type classification
data/lenovo-wacom-53fd.tablet Creates new tablet configuration file for Lenovo Yoga 7 14AKP10 with device dimensions (12"x7"), i2c interface matching, and references to both isdv4-aes group and the specific 0x8113 stylus

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

PairedStylusIds=0x56a:0x10002;
AliasOf=0x56a:0x100a

[0x8113]
Copy link

Copilot AI Dec 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The stylus ID section header format is inconsistent with all other entries in this file. All other stylus definitions in wacom.stylus use the vendor:product format (e.g., [0x56a:0x1], [0x56a:0x842]), but this entry uses only the product ID without the vendor prefix. This should likely be [0x56a:0x8113] to match the established pattern, where 0x56a is the Wacom vendor ID.

Suggested change
[0x8113]
[0x56a:0x8113]

Copilot uses AI. Check for mistakes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh, apparently copilot is enabled here now. Anyway, it's correct with this comment, you need a vid:pid format for the pen now and the vid has to effectively match the tablet's vid.

Name=Lenovo Yoga Pen (0x8113)
Group=isdv4-aes
Buttons=2
Axes=Tilt;Pressure;
Copy link

Copilot AI Dec 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The trailing semicolon in the Axes field is inconsistent with the pattern used elsewhere in this file. When the Axes list ends with the last axis (no more axes follow), there should be no trailing semicolon. Other entries with just Tilt and Pressure (e.g., lines 111, 118, 125, 132, 136, 141) use Axes=Tilt;Pressure without a trailing semicolon.

Suggested change
Axes=Tilt;Pressure;
Axes=Tilt;Pressure

Copilot uses AI. Check for mistakes.
Width=12
Height=7
IntegratedIn=Display;System
Styli=@isdv4-aes;0x8113;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering about the compatibility of that pen, my gut feeling tells me this one should be wacom-compatible and thus part of the @isdv4-aes group. @jigpu?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants