mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
wlr-seat-keyboard: basic events
This commit is contained in:
parent
06ae9e7c9f
commit
cef1f60522
7 changed files with 159 additions and 43 deletions
|
|
@ -157,7 +157,8 @@ static void update_velocities(struct compositor_state *state,
|
|||
}
|
||||
|
||||
static void handle_keyboard_key(struct keyboard_state *kbstate,
|
||||
uint32_t keycode, xkb_keysym_t sym, enum wlr_key_state key_state) {
|
||||
uint32_t keycode, xkb_keysym_t sym, enum wlr_key_state key_state,
|
||||
uint64_t time_usec) {
|
||||
// NOTE: It may be better to simply refer to our key state during each frame
|
||||
// and make this change in pixels/sec^2
|
||||
// Also, key repeat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue