summaryrefslogtreecommitdiffstats
path: root/usb/endpt1.c
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-04-16 13:07:55 +0100
committerTomasz Kramkowski <tk@the-tk.com>2017-04-16 13:07:55 +0100
commitb348846482a17be4f35b717bc56940c84a671e79 (patch)
tree82b2272be7ba19d794668c645b708cf3732d4344 /usb/endpt1.c
parentc996951703f0062ef81e278936f0cf8d0581a200 (diff)
downloadfmk-b348846482a17be4f35b717bc56940c84a671e79.tar.gz
fmk-b348846482a17be4f35b717bc56940c84a671e79.tar.xz
fmk-b348846482a17be4f35b717bc56940c84a671e79.zip
usb: decrease interval, clean-up hid reports
Diffstat (limited to 'usb/endpt1.c')
-rw-r--r--usb/endpt1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usb/endpt1.c b/usb/endpt1.c
index 4358221..65684b5 100644
--- a/usb/endpt1.c
+++ b/usb/endpt1.c
@@ -10,10 +10,10 @@
#define MAX_PACKET 64
static unsigned char report[4][4] = {
- { 0x00, 0x01, 0x00, 0x00, },
- { 0x00, 0x00, 0x01, 0x00, },
- { 0x00, 0xff, 0x00, 0x00, },
- { 0x00, 0x00, 0xff, 0x00, },
+ { 0x00, 5, 0, 0x00, },
+ { 0x00, 0, 5, 0x00, },
+ { 0x00, -5, 0, 0x00, },
+ { 0x00, 0, -5, 0x00, },
};
static int nextrep;