wlr-seat-keyboard: basic events

This commit is contained in:
Tony Crisci 2017-09-22 16:07:00 -04:00
parent 06ae9e7c9f
commit cef1f60522
7 changed files with 159 additions and 43 deletions

View file

@ -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