From f094e2d628afbd80da01d60108f838a9f2c99c90 Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Wed, 12 Dec 2012 16:02:08 +0100 Subject: [PATCH] Update mouse config; change Makefile. --- Makefile | 2 +- confs/mouse_map.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 04e5f64..cd80da5 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ default: map def_keys.h: echo '#include ' | gcc -E -dM - | grep '#define KEY_' | cut -f2 -d" " | sed 's/KEY_.*/DEF_KEY(&)/' > def_keys.h -map: map.c def_keys.h config.h +map: map.c def_keys.h config.h config_functions.h $(CC) map.c $(CFLAGS) -o map clean: diff --git a/confs/mouse_map.h b/confs/mouse_map.h index 902000e..f9f5708 100644 --- a/confs/mouse_map.h +++ b/confs/mouse_map.h @@ -57,11 +57,11 @@ JOYSTICK_ADD_KEY(REL_Y, UI_SET_RELBIT, 0) #ifndef H_JOYMAP_SEEN #define H_JOYMAP_SEEN -KEYMAP(EV_KEY, KEY_3, BTN_LEFT, EV_KEY, 0, +) -KEYMAP(EV_KEY, KEY_M, REL_X, EV_REL, 0, 10*) -KEYMAP(EV_KEY, KEY_N, REL_X, EV_REL, 0, -10*) -KEYMAP(EV_KEY, KEY_J, REL_Y, EV_REL, 0, 10*) -KEYMAP(EV_KEY, KEY_K, REL_Y, EV_REL, 0, -10*) +KEYMAP(EV_KEY, KEY_3, BTN_LEFT, EV_KEY, 0, -1, +) +KEYMAP(EV_KEY, KEY_M, REL_X, EV_REL, 0, -1, 10*) +KEYMAP(EV_KEY, KEY_N, REL_X, EV_REL, 0, -1, -10*) +KEYMAP(EV_KEY, KEY_J, REL_Y, EV_REL, 0, -1, 10*) +KEYMAP(EV_KEY, KEY_K, REL_Y, EV_REL, 0, -1, -10*) #endif #endif