2021-12-21 22:25:59 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2023-05-13 16:10:33 +03:00
|
|
|
#ifndef LABWC_KEY_STATE_H
|
|
|
|
|
#define LABWC_KEY_STATE_H
|
2021-12-21 22:25:59 +00:00
|
|
|
|
2026-04-06 21:57:24 +01:00
|
|
|
struct seat;
|
|
|
|
|
|
2022-09-20 20:46:39 +01:00
|
|
|
/*
|
|
|
|
|
* All keycodes in these functions are (Linux) libinput evdev scancodes which is
|
|
|
|
|
* what 'wlr_keyboard' uses (e.g. 'seat->keyboard_group->keyboard->keycodes').
|
|
|
|
|
* Note: These keycodes are different to XKB scancodes by a value of 8.
|
|
|
|
|
*/
|
|
|
|
|
|
2026-04-06 21:57:24 +01:00
|
|
|
void key_state_indicator_update(struct seat *seat);
|
|
|
|
|
void key_state_indicator_toggle(void);
|
|
|
|
|
|
2023-05-13 16:10:33 +03:00
|
|
|
#endif /* LABWC_KEY_STATE_H */
|