added simple keycode->char lookup functionality
[ppcskel.git] / usb / drivers / class / hid.h
index 4ddf458f69df15bdea5a5938f73a24deeed56abf..85ce3a836398b3c31702b85107c1ac8bb4ae334f 100644 (file)
@@ -1,3 +1,15 @@
+/*
+       ppcskel - a Free Software replacement for the Nintendo/BroadOn bootloader.
+       hid driver
+
+Copyright (C) 2009     Bernhard Urban <lewurm@gmx.net>
+Copyright (C) 2009     Sebastian Falbesoner <sebastian.falbesoner@gmail.com>
+
+# This code is licensed to you under the terms of the GNU GPL, version 2;
+# see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
+*/
+
+
 #ifndef __HID_H
 #define __HID_H
 
@@ -19,8 +31,10 @@ struct kbrep {
 void usb_hidkb_probe();
 void usb_hidkb_check();
 void usb_hidkb_init();
+u8 usb_hidkb_inuse();
 
 struct kbrep *usb_hidkb_getChars();
+unsigned char usb_hidkb_get_char_from_keycode(u8 keycode, int shifted);
 
 #endif /* __HID_H */