Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix kernel tool ID issue for Pro Pen 3 (0x4200) and Pro Pen 3D (0x8842) #435

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

Gavin-Hsia
Copy link

@Gavin-Hsia Gavin-Hsia commented Jul 25, 2024

No description provided.

@Pinglinux Pinglinux self-requested a review July 25, 2024 00:48
Copy link
Member

@Pinglinux Pinglinux left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you Gavin!

The pen ID, 0x80842, was not the correct ID for wacom driver to
treat. The ID was corrected to 0x8842.
Also, 0x4200 was not the expected ID used on any Wacom device.
Therefore, 0x4200 was removed.

Signed-off-by: Tatsunosuke Tobita <[email protected]>
Signed-off-by: Tatsunosuke Tobita <[email protected]>
Fixes: bfdc750c4cb2 ("HID: wacom: add three styli to wacom_intuos_get_tool_type")
Cc: [email protected] linuxwacom#6.2
Reviewed-by: Ping Cheng <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Benjamin Tissoires <[email protected]>
[[email protected]: Imported into input-wacom (f017d696dfce)]
Signed-off-by: Gavin Hsia <[email protected]>
Recent eraser and pen tools are able to be distinguished
by looking at its least significant nibble.
This modification applies it to wacom_intuos_get_tool_type
function and reduces its code lines.

Signed-off-by: Tatsunosuke Tobita <[email protected]>
Signed-off-by: Tatsunosuke Tobita <[email protected]>
Reviewed-by: Ping Cheng <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Benjamin Tissoires <[email protected]>
[[email protected]: Imported into input-wacom (9c2913n962da)]
Signed-off-by: Gavin Hsia <[email protected]>
@Pinglinux Pinglinux merged commit c2be38e into linuxwacom:master Jul 25, 2024
7 checks passed
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.

3 participants