summaryrefslogtreecommitdiffstats
path: root/key_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'key_process.c')
-rw-r--r--key_process.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/key_process.c b/key_process.c
index e4f2326e94..e4d66e303c 100644
--- a/key_process.c
+++ b/key_process.c
@@ -17,8 +17,11 @@
#define MOUSE_MOVE_UNIT 10
#define MOUSE_MOVE_ACCEL (mouse_repeat < 50 ? mouse_repeat/5 : 10)
-#define MOUSE_DELAY_TIME 255
-#define MOUSE_DELAY_MS (MOUSE_DELAY_TIME >> (mouse_repeat < 5 ? mouse_repeat : 5))
+
+#ifndef MOUSE_DELAY_TIME
+# define MOUSE_DELAY_TIME 255
+#endif
+#define MOUSE_DELAY_MS (MOUSE_DELAY_TIME >> (mouse_repeat < 5 ? mouse_repeat : 4))
// TODO: refactoring
@@ -157,7 +160,7 @@ void proc_matrix(void) {
case KB_V: // print version & information
usb_keyboard_clear();
usb_keyboard_send();
- print(XSTR(DESCRIPTION));
+ print(STR(DESCRIPTION) "\n");
_delay_ms(1000);
break;
}