Skip to content
Commit 9c2913b9 authored by Tatsunosuke Tobita's avatar Tatsunosuke Tobita Committed by Benjamin Tissoires
Browse files

HID: wacom: more appropriate tool type categorization



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: default avatarTatsunosuke Tobita <tatsunosuke.tobita@wacom.com>
Signed-off-by: default avatarTatsunosuke Tobita <tatsunosuke.wacom@gmail.com>
Reviewed-by: default avatarPing Cheng <ping.cheng@wacom.com>
Link: https://patch.msgid.link/20240709055729.17158-2-tatsunosuke.wacom@gmail.com


Signed-off-by: default avatarBenjamin Tissoires <bentiss@kernel.org>
parent f0d17d69
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment