Initial import of work-in-progress of Poseidon port.
[cake.git] / rom / usb / classes / bootkeyboard / bootkeyboard.class.h
blob3b3ea94d611d0f7001144b6834a1e38cb81156df
1 #ifndef BOOTKEYBOARD_CLASS_H
2 #define BOOTKEYBOARD_CLASS_H
4 /*
5 *----------------------------------------------------------------------------
6 * Includes for Bootkeyboard class
7 *----------------------------------------------------------------------------
8 * By Chris Hodges <chrisly@platon42.de>
9 */
11 #include "common.h"
13 #include <devices/usb_hid.h>
15 #include "bootkeyboard.h"
17 /* Protos */
19 struct NepClassHid * usbAttemptInterfaceBinding(struct NepHidBase *nh, struct PsdInterface *pif);
20 struct NepClassHid * usbForceInterfaceBinding(struct NepHidBase *nh, struct PsdInterface *pif);
21 void usbReleaseInterfaceBinding(struct NepHidBase *nh, struct NepClassHid *nch);
23 void nParseKeys(struct NepClassHid *nch, UBYTE *buf);
25 struct NepClassHid * nAllocHid(void);
26 void nFreeHid(struct NepClassHid *nch);
28 BOOL nLoadClassConfig(struct NepHidBase *nh);
29 LONG nOpenCfgWindow(struct NepHidBase *nh);
31 void nGUITaskCleanup(struct NepHidBase *nh);
33 AROS_UFP0(void, nHidTask);
34 AROS_UFP0(void, nGUITask);
36 #endif /* BOOTKEYBOARD_CLASS_H */