mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 18:20:52 +07:00
HID: wacom: Have WACOM_PEN_FIELD and WACOM_FINGER_FIELD recgonize more fields
We've defined several new usages (e.g. WACOM_G9_PEN and WACOM_G9_TOUCHSCREEN) which aren't checked by the WACOM_PEN_FIELD and WACOM_FINGER_FIELD macros but probably should be. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
8de82280e3
commit
1b18b75c7e
@ -98,10 +98,14 @@
|
||||
((f)->physical == HID_DG_PEN) || \
|
||||
((f)->application == HID_DG_PEN) || \
|
||||
((f)->application == HID_DG_DIGITIZER) || \
|
||||
((f)->application == WACOM_HID_WD_DIGITIZER))
|
||||
((f)->application == WACOM_HID_WD_DIGITIZER) || \
|
||||
((f)->application == WACOM_HID_G9_PEN) || \
|
||||
((f)->application == WACOM_HID_G11_PEN))
|
||||
#define WACOM_FINGER_FIELD(f) (((f)->logical == HID_DG_FINGER) || \
|
||||
((f)->physical == HID_DG_FINGER) || \
|
||||
((f)->application == HID_DG_TOUCHSCREEN))
|
||||
((f)->application == HID_DG_TOUCHSCREEN) || \
|
||||
((f)->application == WACOM_HID_G9_TOUCHSCREEN) || \
|
||||
((f)->application == WACOM_HID_G11_TOUCHSCREEN))
|
||||
|
||||
enum {
|
||||
PENPARTNER = 0,
|
||||
|
Loading…
Reference in New Issue
Block a user