commit | 6ef444d0947459cda35e076fa3514635ec680df6 | [log] [tgz] |
---|---|---|
author | Giulio Camuffo <giuliocamuffo@gmail.com> | Thu Aug 28 19:44:09 2014 +0300 |
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Wed Sep 03 15:31:04 2014 +0300 |
tree | 645beb673a752b19fbabc710f6c443f4f3aff29b | |
parent | 2e62e4ad710d86fb5410e81541fda2c98f97a190 [diff] |
compositor: add a way to change the keyboard locks This adds a function weston_keyboard_set_locks() which can be used to change the state of the num lock and the caps locks, changing the leds too. Only the evdev and libinput backends supports this, since it doesn't make sense for embedded sessions. Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>