aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/wayland/keyboard.rs
diff options
context:
space:
mode:
authorVictor Berger <victor.berger@m4x.org>2015-05-14 21:46:29 +0200
committerVictor Berger <victor.berger@m4x.org>2015-05-14 21:46:29 +0200
commit02bd3758eefd87ac1a13068f8887afe392bc7823 (patch)
tree71eb21c0b8509c4d4071a85da2e0b341c005e99e /src/api/wayland/keyboard.rs
parenta6c33ef958d9c54581c9efb1760d48eeb8137e4b (diff)
downloadglutin-02bd3758eefd87ac1a13068f8887afe392bc7823.tar.gz
glutin-02bd3758eefd87ac1a13068f8887afe392bc7823.zip
Basic raw keyboard handling.
Diffstat (limited to 'src/api/wayland/keyboard.rs')
-rw-r--r--src/api/wayland/keyboard.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/api/wayland/keyboard.rs b/src/api/wayland/keyboard.rs
new file mode 100644
index 0000000..3a841e3
--- /dev/null
+++ b/src/api/wayland/keyboard.rs
@@ -0,0 +1,7 @@
+use super::wayland_kbd::KbState;
+
+use VirtualKeyCode;
+
+pub fn keycode_to_vkey(state: &KbState, keycode: u32) -> Option<VirtualKeyCode> {
+ None
+} \ No newline at end of file