Add Moza periodic envelope and direction fixup
This commit is contained in:
11
hid-pidff.h
11
hid-pidff.h
@@ -5,8 +5,12 @@
|
||||
/* PIDFF Quirks to solve issues with certain devices */
|
||||
|
||||
/*
|
||||
* Ignore direction for spring/damping/friction/inertia effects
|
||||
* and always set 16384
|
||||
* Always set a value > 0 for PERIODIC envelope attack and fade level
|
||||
*/
|
||||
#define PIDFF_QUIRK_FIX_PERIODIC_ENVELOPE BIT(0)
|
||||
|
||||
/*
|
||||
* Ignore direction and always set 16384 (0x4000)
|
||||
*/
|
||||
#define PIDFF_QUIRK_FIX_WHEEL_DIRECTION BIT(1)
|
||||
|
||||
@@ -16,6 +20,7 @@
|
||||
#define PIDFF_QUIRK_NO_DELAY_EFFECT BIT(2)
|
||||
|
||||
|
||||
int hid_new_pidff_init(struct hid_device *hid, const struct hid_device_id *id);
|
||||
int hid_pidff_init(struct hid_device *hid);
|
||||
int hid_pidff_init_with_quirks(struct hid_device *hid, const struct hid_device_id *id);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user