diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-09-22 16:07:00 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-09-22 16:28:11 -0400 |
commit | cef1f60522141f3e1a4fe5278d89bb77118735d4 (patch) | |
tree | 72ae0aa7b037fa35f4fb035ce444023c00154e0f /examples/rotation.c | |
parent | 06ae9e7c9f8811dcda3df8ec72ab75e54ee54b87 (diff) |
wlr-seat-keyboard: basic events
Diffstat (limited to 'examples/rotation.c')
-rw-r--r-- | examples/rotation.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/rotation.c b/examples/rotation.c index 2596e492..dfb81e59 100644 --- a/examples/rotation.c +++ b/examples/rotation.c @@ -99,7 +99,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 |