will boot sysmenu when press reset button and again license stuff
[ppcskel.git] / usb / drivers / class / hid.c
index 9101c08e61cd8e39ca9c5c82b424e997a48ed1b2..60d3a4db118b0283b134ced18ccd086b98aa8c84 100644 (file)
@@ -1,3 +1,14 @@
+/*
+       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
+*/
+
 #include "../../core/core.h"
 #include "../../core/usb.h"
 #include "../../usbspec/usb11spec.h"
@@ -18,7 +29,6 @@ void usb_hidkb_init()
        usb_register_driver(&hidkb);
 }
 
-
 void usb_hidkb_probe()
 {
        struct usb_device *dev;
@@ -30,8 +40,6 @@ void usb_hidkb_probe()
                if(dev->conf->intf->bInterfaceClass == HID_CLASSCODE &&
                                dev->conf->intf->bInterfaceSubClass == 1 && /* keyboard support boot protocol? */
                                dev->conf->intf->bInterfaceProtocol == 1) { /* keyboard? */
-
-
                        hidkb.data = (void*) dev;
                }
 
@@ -39,7 +47,6 @@ void usb_hidkb_probe()
        }
 }
 
-
 void usb_hidkb_check()
 {
 }