refractor device mouse app to use board_buttons

This commit is contained in:
hathach
2014-03-06 23:48:44 +07:00
parent 4b8c0d97c6
commit 26b1b879dd
3 changed files with 19 additions and 17 deletions

View File

@@ -82,8 +82,8 @@
#define TUSB_CFG_DEVICE_FULLSPEED 1 // TODO refractor, remove
//------------- CLASS -------------//
#define TUSB_CFG_DEVICE_HID_KEYBOARD 1
#define TUSB_CFG_DEVICE_HID_MOUSE 0
#define TUSB_CFG_DEVICE_HID_KEYBOARD 0
#define TUSB_CFG_DEVICE_HID_MOUSE 1
#define TUSB_CFG_DEVICE_HID_GENERIC 0
#define TUSB_CFG_DEVICE_MSC 0
#define TUSB_CFG_DEVICE_CDC 0