summaryrefslogtreecommitdiffstats
path: root/src/mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mouse.c')
-rw-r--r--src/mouse.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mouse.c b/src/mouse.c
index acb4166..6e0a207 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -88,7 +88,8 @@ const struct usb_interface_descriptor mouse_iface = {
};
-void mouse_get_descriptor(uint8_t **buf,uint16_t *len)
+void
+mouse_get_descriptor (uint8_t ** buf, uint16_t * len)
{
/* Handle the HID report descriptor. */
@@ -104,9 +105,9 @@ mouse_test (void)
buf[0] = c & 7;
- buf[1] = c &8 ? -1:1;
- buf[2] = c &16 ? -1:1;
- buf[3] = c &32 ? -1:1;
+ buf[1] = c & 8 ? -1 : 1;
+ buf[2] = c & 16 ? -1 : 1;
+ buf[3] = c & 32 ? -1 : 1;
c++;