Search
lxdream.org :: lxdream/src/maple/controller.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/maple/controller.c
changeset 1298:d0eb2307b847
prev1072:d82e04e6d497
author nkeynes
date Wed Feb 04 08:38:23 2015 +1000 (5 years ago)
permissions -rw-r--r--
last change Fix assorted compile warnings reported by Clang
file annotate diff log raw
1.1 --- a/src/maple/controller.c Tue Jul 21 20:33:21 2009 +1000
1.2 +++ b/src/maple/controller.c Wed Feb 04 08:38:23 2015 +1000
1.3 @@ -123,11 +123,6 @@
1.4 /* Get the controller_device * from a lxdream_config_group_t */
1.5 #define DEV_FROM_CONFIG_GROUP(grp) ((controller_device_t)(((char *)grp) - offsetof( struct controller_device, config )))
1.6
1.7 -static int config_button_map[] = {
1.8 - BUTTON_DPAD_LEFT, BUTTON_DPAD_RIGHT, BUTTON_DPAD_UP, BUTTON_DPAD_DOWN,
1.9 - JOY_LEFT, JOY_RIGHT, JOY_UP, JOY_DOWN, BUTTON_X, BUTTON_Y, BUTTON_A,
1.10 - BUTTON_B, BUTTON_LEFT_TRIGGER, BUTTON_RIGHT_TRIGGER, BUTTON_START };
1.11 -
1.12 #define CONTROLLER(x) ((controller_device_t)(x))
1.13
1.14 static maple_device_t controller_new( )
.