diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-09-23 15:00:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-23 15:00:52 -0400 |
commit | d89272dbbd87ebe1b8cbadf3a9c28552cc530eea (patch) | |
tree | 251e04861ec2ad3c50a00b9bc7cf7e321a74bf41 /examples/output-layout.c | |
parent | 02988e95e58a9d6fbf5b62225529b225e4bd540f (diff) | |
parent | 84a8f1b42dbd1882bef295cff66cd0c24afeb978 (diff) |
Merge pull request #156 from acrisci/feature/wlr-keyboard-events
[wip] wlr-seat-keyboard: keyboard events
Diffstat (limited to 'examples/output-layout.c')
-rw-r--r-- | examples/output-layout.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/output-layout.c b/examples/output-layout.c index be542630..69cb241a 100644 --- a/examples/output-layout.c +++ b/examples/output-layout.c @@ -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 |