diff --git a/ArduinoKeyboard.ino b/ArduinoKeyboard.ino index 5b80bed3..63bf64f1 100644 --- a/ArduinoKeyboard.ino +++ b/ArduinoKeyboard.ino @@ -236,12 +236,12 @@ void send_key_events(int layer) { } } if (mouseActiveThisCycle) { - if(mouseActiveForCycles<=60) { + if(mouseActiveForCycles<=2400) { mouseActiveForCycles++; } int accel = // int(log10(double( mouseActiveForCycles)))/ - int(mouseActiveForCycles/20)+1; + int(mouseActiveForCycles/600)+1; ; diff --git a/Makefile b/Makefile index 9b6786a3..77eb09dd 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile BOARD_TAG = micro -MONITOR_PORT = /dev/cu.usbmodem14?1 +MONITOR_PORT = /dev/ttyACM0 ARDUINO_LIBS = include build/arduino-mk/Arduino.mk