tweaking mouse acceleration

pull/18/head
jesse 11 years ago
parent 6cca1a1987
commit 8961ea3e37

@ -236,12 +236,12 @@ void send_key_events(int layer) {
} }
} }
if (mouseActiveThisCycle) { if (mouseActiveThisCycle) {
if(mouseActiveForCycles<=60) { if(mouseActiveForCycles<=2400) {
mouseActiveForCycles++; mouseActiveForCycles++;
} }
int accel = int accel =
// int(log10(double( mouseActiveForCycles)))/ // int(log10(double( mouseActiveForCycles)))/
int(mouseActiveForCycles/20)+1; int(mouseActiveForCycles/600)+1;
; ;

@ -1,7 +1,7 @@
# Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile # Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile
BOARD_TAG = micro BOARD_TAG = micro
MONITOR_PORT = /dev/cu.usbmodem14?1 MONITOR_PORT = /dev/ttyACM0
ARDUINO_LIBS = ARDUINO_LIBS =
include build/arduino-mk/Arduino.mk include build/arduino-mk/Arduino.mk

Loading…
Cancel
Save