mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
config: support libinput sendEventsMode
This allows to enable / disable libinput devices. Co-Authored-By: @Consolatis
This commit is contained in:
parent
9456b50983
commit
6fb06c54c2
6 changed files with 78 additions and 6 deletions
|
|
@ -23,12 +23,13 @@ struct libinput_category {
|
|||
int left_handed;
|
||||
enum libinput_config_tap_state tap;
|
||||
enum libinput_config_tap_button_map tap_button_map;
|
||||
int tap_and_drag; /* -1 or libinput_config_drag_state */
|
||||
int drag_lock; /* -1 or libinput_config_drag_lock_state */
|
||||
int accel_profile; /* -1 or libinput_config_accel_profile */
|
||||
int middle_emu; /* -1 or libinput_config_middle_emulation_state */
|
||||
int dwt; /* -1 or libinput_config_dwt_state */
|
||||
int click_method; /* -1 or libinput_config_click_method */
|
||||
int tap_and_drag; /* -1 or libinput_config_drag_state */
|
||||
int drag_lock; /* -1 or libinput_config_drag_lock_state */
|
||||
int accel_profile; /* -1 or libinput_config_accel_profile */
|
||||
int middle_emu; /* -1 or libinput_config_middle_emulation_state */
|
||||
int dwt; /* -1 or libinput_config_dwt_state */
|
||||
int click_method; /* -1 or libinput_config_click_method */
|
||||
int send_events_mode; /* -1 or libinput_config_send_events_mode */
|
||||
};
|
||||
|
||||
enum lab_libinput_device_type get_device_type(const char *s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue