From b348846482a17be4f35b717bc56940c84a671e79 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Sun, 16 Apr 2017 13:07:55 +0100 Subject: usb: decrease interval, clean-up hid reports --- usb/endpt1.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usb/endpt1.c') 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; -- cgit v1.2.3-54-g00ecf