mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 03:45:58 +01:00
Add basic drawing tablet support to rootston
This commit is contained in:
parent
933cffaa8d
commit
f2ea691b93
3 changed files with 5 additions and 2 deletions
|
@ -109,6 +109,8 @@ void pointer_add(struct wlr_input_device *device, struct roots_input *input);
|
||||||
void pointer_remove(struct wlr_input_device *device, struct roots_input *input);
|
void pointer_remove(struct wlr_input_device *device, struct roots_input *input);
|
||||||
void keyboard_add(struct wlr_input_device *device, struct roots_input *input);
|
void keyboard_add(struct wlr_input_device *device, struct roots_input *input);
|
||||||
void keyboard_remove(struct wlr_input_device *device, struct roots_input *input);
|
void keyboard_remove(struct wlr_input_device *device, struct roots_input *input);
|
||||||
|
void tablet_tool_add(struct wlr_input_device *device, struct roots_input *input);
|
||||||
|
void tablet_tool_remove(struct wlr_input_device *device, struct roots_input *input);
|
||||||
|
|
||||||
void cursor_initialize(struct roots_input *input);
|
void cursor_initialize(struct roots_input *input);
|
||||||
void cursor_load_config(struct roots_config *config,
|
void cursor_load_config(struct roots_config *config,
|
||||||
|
|
|
@ -40,7 +40,7 @@ static void input_add_notify(struct wl_listener *listener, void *data) {
|
||||||
//touch_add(device, input);
|
//touch_add(device, input);
|
||||||
break;
|
break;
|
||||||
case WLR_INPUT_DEVICE_TABLET_TOOL:
|
case WLR_INPUT_DEVICE_TABLET_TOOL:
|
||||||
//tablet_tool_add(device, input);
|
tablet_tool_add(device, input);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
@ -61,7 +61,7 @@ static void input_remove_notify(struct wl_listener *listener, void *data) {
|
||||||
//touch_remove(device, input);
|
//touch_remove(device, input);
|
||||||
break;
|
break;
|
||||||
case WLR_INPUT_DEVICE_TABLET_TOOL:
|
case WLR_INPUT_DEVICE_TABLET_TOOL:
|
||||||
//tablet_tool_remove(device, input);
|
tablet_tool_remove(device, input);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -9,6 +9,7 @@ executable(
|
||||||
'main.c',
|
'main.c',
|
||||||
'output.c',
|
'output.c',
|
||||||
'pointer.c',
|
'pointer.c',
|
||||||
|
'tablet_tool.c',
|
||||||
'xdg_shell_v6.c',
|
'xdg_shell_v6.c',
|
||||||
'xwayland.c',
|
'xwayland.c',
|
||||||
'wl_shell.c',
|
'wl_shell.c',
|
||||||
|
|
Loading…
Reference in a new issue