xwhatsit util_comm: make get signal value reps smaller to increase refresh rate at...
authorPurdea Andrei <andrei@purdea.ro>
Mon, 1 Jun 2020 05:33:48 +0000 (08:33 +0300)
committerPurdea Andrei <andrei@purdea.ro>
Mon, 1 Jun 2020 05:33:48 +0000 (08:33 +0300)
keyboards/xwhatsit/util_comm.c

index 9dc63de..3c5c1a3 100644 (file)
@@ -128,7 +128,7 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
                 int i;
                 for (i=0;i<count;i++)
                 {
-                    uint16_t value = measure_middle_keymap_coords(col, row, CAPSENSE_HARDCODED_SAMPLE_TIME, 16);
+                    uint16_t value = measure_middle_keymap_coords(col, row, CAPSENSE_HARDCODED_SAMPLE_TIME, 8);
                     response[3+i*2] = value & 0xff;
                     response[3+i*2+1] = (value >> 8) & 0xff;
                     col += 1;