HCoop
/
jackhill
/
qmk
/
firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8583e2
)
xwhatsit util_comm: make get signal value reps smaller to increase refresh rate at...
author
Purdea Andrei
<andrei@purdea.ro>
Mon, 1 Jun 2020 05:33:48 +0000
(08:33 +0300)
committer
Purdea Andrei
<andrei@purdea.ro>
Mon, 1 Jun 2020 05:33:48 +0000
(08:33 +0300)
keyboards/xwhatsit/util_comm.c
patch
|
blob
|
blame
|
history
diff --git
a/keyboards/xwhatsit/util_comm.c
b/keyboards/xwhatsit/util_comm.c
index
9dc63de
..
3c5c1a3
100644
(file)
--- a/
keyboards/xwhatsit/util_comm.c
+++ b/
keyboards/xwhatsit/util_comm.c
@@
-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;