5 *----------------------------------------------------------------------------
6 * Includes for numtostr.c
7 *----------------------------------------------------------------------------
8 * By Chris Hodges <chrisly@platon42.de>
11 #include <exec/types.h>
13 #include "hid.class.h"
15 #define NTS_USAGEPAGE 0x01
16 #define NTS_USAGEID 0x02
17 #define NTS_EXTRAWKEY 0x7e
18 #define NTS_RAWKEY 0x7f
20 #define UT_LC 0x01 /* Linear control */
21 #define UT_OOC 0x02 /* On/Off Control */
22 #define UT_MC 0x03 /* Momentary Control */
23 #define UT_OSC 0x04 /* One Shot Control */
24 #define UT_RTC 0x05 /* Retrigger Control */
29 STRPTR
nNumToStr(struct NepClassHid
*nch
, UWORD type
, ULONG id
, STRPTR defstr
);
37 struct HidUsagePageMap
41 const struct HidUsageIDMap
*hupm_UsageIDMap
;
44 extern const struct HidUsageIDMap hidusage07
[];
46 #endif /* NUMTOSTR_H */