mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
input-device: unconfuse tablet naming
WLR_INPUT_DEVICE_TABLET_TOOL is renamed to WLR_INPUT_DEVICE_TABLET The input device corresponds to wlr_tablet, not wlr_tablet_tool.
This commit is contained in:
parent
889150f866
commit
b821be5749
10 changed files with 13 additions and 13 deletions
|
|
@ -171,7 +171,7 @@ void wlr_cursor_set_surface(struct wlr_cursor *cur, struct wlr_surface *surface,
|
|||
*
|
||||
* - WLR_INPUT_DEVICE_POINTER
|
||||
* - WLR_INPUT_DEVICE_TOUCH
|
||||
* - WLR_INPUT_DEVICE_TABLET_TOOL
|
||||
* - WLR_INPUT_DEVICE_TABLET
|
||||
*/
|
||||
void wlr_cursor_attach_input_device(struct wlr_cursor *cur,
|
||||
struct wlr_input_device *dev);
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ enum wlr_input_device_type {
|
|||
WLR_INPUT_DEVICE_KEYBOARD, // struct wlr_keyboard
|
||||
WLR_INPUT_DEVICE_POINTER, // struct wlr_pointer
|
||||
WLR_INPUT_DEVICE_TOUCH, // struct wlr_touch
|
||||
WLR_INPUT_DEVICE_TABLET_TOOL, // struct wlr_tablet
|
||||
WLR_INPUT_DEVICE_TABLET, // struct wlr_tablet
|
||||
WLR_INPUT_DEVICE_TABLET_PAD, // struct wlr_tablet_pad
|
||||
WLR_INPUT_DEVICE_SWITCH, // struct wlr_switch
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue