input: add click method and middle button emulation
This commit is contained in:
parent
0524e01a3c
commit
b20153550e
24 changed files with 598 additions and 21 deletions
|
|
@ -188,3 +188,18 @@ cenum! {
|
|||
LIBINPUT_CONFIG_DRAG_LOCK_DISABLED = 0,
|
||||
LIBINPUT_CONFIG_DRAG_LOCK_ENABLED = 1,
|
||||
}
|
||||
|
||||
cenum! {
|
||||
ConfigClickMethod, LIBINPUT_CONFIG_CLICK_METHOD;
|
||||
|
||||
LIBINPUT_CONFIG_CLICK_METHOD_NONE = 0,
|
||||
LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS = 1 << 0,
|
||||
LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER = 1 << 1,
|
||||
}
|
||||
|
||||
cenum! {
|
||||
ConfigMiddleEmulationState, LIBINPUT_CONFIG_MIDDLE_EMULATION_STATE;
|
||||
|
||||
LIBINPUT_CONFIG_MIDDLE_EMULATION_DISABLED = 0,
|
||||
LIBINPUT_CONFIG_MIDDLE_EMULATION_ENABLED = 1,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue