Search
lxdream.org :: lxdream/src/maple/controller.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/maple/controller.c
changeset 724:f2bc1c7cca14
prev614:a2d239d4438a
next736:a02d1475ccfd
author nkeynes
date Sun Jul 06 03:17:32 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Add descriptive (localized) label to config entries for UI use
file annotate diff log raw
1.1 --- a/src/maple/controller.c Mon Jan 28 02:38:09 2008 +0000
1.2 +++ b/src/maple/controller.c Sun Jul 06 03:17:32 2008 +0000
1.3 @@ -47,21 +47,21 @@
1.4 controller_get_config, controller_attach, controller_detach, controller_destroy,
1.5 controller_clone, NULL, NULL, controller_get_cond, NULL, NULL, NULL },
1.6 {0x0000FFFF, 0x80808080},
1.7 - {{ "dpad left", CONFIG_TYPE_KEY },
1.8 - { "dpad right", CONFIG_TYPE_KEY },
1.9 - { "dpad up", CONFIG_TYPE_KEY },
1.10 - { "dpad down", CONFIG_TYPE_KEY },
1.11 - { "analog left", CONFIG_TYPE_KEY },
1.12 - { "analog right", CONFIG_TYPE_KEY },
1.13 - { "analog up", CONFIG_TYPE_KEY },
1.14 - { "analog down", CONFIG_TYPE_KEY },
1.15 - { "button X", CONFIG_TYPE_KEY },
1.16 - { "button Y", CONFIG_TYPE_KEY },
1.17 - { "button A", CONFIG_TYPE_KEY },
1.18 - { "button B", CONFIG_TYPE_KEY },
1.19 - { "trigger left", CONFIG_TYPE_KEY },
1.20 - { "trigger right", CONFIG_TYPE_KEY },
1.21 - { "start", CONFIG_TYPE_KEY },
1.22 + {{ "dpad left", N_("Dpad left"), CONFIG_TYPE_KEY },
1.23 + { "dpad right", N_("Dpad right"), CONFIG_TYPE_KEY },
1.24 + { "dpad up", N_("Dpad up"), CONFIG_TYPE_KEY },
1.25 + { "dpad down", N_("Dpad down"), CONFIG_TYPE_KEY },
1.26 + { "analog left", N_("Analog left"), CONFIG_TYPE_KEY },
1.27 + { "analog right", N_("Analog right"), CONFIG_TYPE_KEY },
1.28 + { "analog up", N_("Analog up"), CONFIG_TYPE_KEY },
1.29 + { "analog down", N_("Analog down"), CONFIG_TYPE_KEY },
1.30 + { "button X", N_("Button X"), CONFIG_TYPE_KEY },
1.31 + { "button Y", N_("Button Y"), CONFIG_TYPE_KEY },
1.32 + { "button A", N_("Button A"), CONFIG_TYPE_KEY },
1.33 + { "button B", N_("Button B"), CONFIG_TYPE_KEY },
1.34 + { "trigger left", N_("Trigger left"), CONFIG_TYPE_KEY },
1.35 + { "trigger right", N_("Trigger right"), CONFIG_TYPE_KEY },
1.36 + { "start", N_("Start button"), CONFIG_TYPE_KEY },
1.37 { NULL, CONFIG_TYPE_NONE }} };
1.38
1.39 #define CONTROLLER(x) ((controller_device_t)(x))
.