added set_rate for HID devices; keyboard driver works fine at proper
[ppcskel.git] / usb / drivers / class / hid.h
index 4ddf458f69df15bdea5a5938f73a24deeed56abf..e8218ad9778298a6f248c7d8758e1bc8a6329707 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,11 @@ 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);
+void usb_hidkb_set_idle(struct usb_device *dev, u8 duration);
 
 #endif /* __HID_H */