Commit graph

25 commits

Author SHA1 Message Date
Extrems
34c74cb91a 2016-12-09 21:49:26 -05:00
sepp256
b27f04e96a Load button mapping now loads only the 4 slots and then copies either default or one slot to the current mapping.
This setting needs to be added to the Settings Frame.
2010-05-26 16:35:41 +00:00
sepp256
2d4725feb3 Added Load/Save of current Button config to file. 2010-05-26 14:26:53 +00:00
sepp256
003873c67f Fixed Loading Button Config from file. 2010-05-26 14:26:27 +00:00
tehpola
d9b9ce9ba1 Refactored WiimoteNunchuk to also define a Wiimote controller_t using mostly the same code. Removed init method from controller_t and defined the default controls inline in controller_t. 2010-05-24 23:52:26 +00:00
tehpola
5e388aeeb0 Protect against potential memory issues by making sure indices read from controller configurations fall within their bounds. Also, I had forgotten to load and save C-buttons. 2010-05-24 23:01:07 +00:00
tehpola
ecd758be71 Loading/saving configuration support in input plugin. This will still need to be called by the GUI to actually do anything. 2010-05-24 22:55:54 +00:00
sepp256
354820b28f Refactored gc_input to separate controller assignment and controller init.
Button Mapping frame now called from Settings Frame.
Many bug fixes and tweaks relating to button mapping.
2010-05-24 14:47:32 +00:00
sepp256
69fe20becc Reverted some parts of input plugin to use controller_config_t* in virtualControllers[].
Now, the configs are saved in controller_t, virtualControllers[].config points to the one we're using.
Added index to button mappings, so that we can easily cycle through them.
Updated Button Configuration Frame.
Note: Classic and WM+NC still broken. Only GC controllers work.
2010-05-24 07:41:24 +00:00
sepp256
288827860d Rough implementation of reconfigurable button mapping in the menu.
Added default, current, and save config slots to the input plugin.
Currently only GC controllers work. Classic and WM+NC needs to be updated.
The menu layouts need a lot of tweaking, but I wanted to update SVN in case tehpola works on Classic/WM+NC code.
2010-05-23 04:40:07 +00:00
tehpola
ec1ecd205c Infrastructure for controller configurations. Only one configuration exists for each type so far. 2010-04-16 14:59:07 +00:00
emukidid
4a7f462bef gc_audio, gc_input & some main headers 2009-11-10 13:39:11 +00:00
sepp256
2a27697366 Various modifications to gc_input plugin and menu input management.
Added crude input status indicator to MainFrame.
Inputs are currently updated automatically while menu is running.
2009-11-08 05:19:46 +00:00
sepp256
1feadbc937 Ported tehpola's gc_input code to googlecode/.
Removed unnecessary usleep now that PAD_Init is fixed.
Changed N64_B button to map to wiimote MINUS or PLUS buttons for wiimote+nunchuck config.
Changed wiimote+nunchuck to get use buttons _held_ rather than buttons _down_.
Updated wii makefiles.
Added fade message for autosave to all devices when return to menu.
2009-11-05 21:48:38 +00:00
sepp256
59926e3a03 pakMode[4] added to wii64config and indicates MEMPAK/RUMBLEPAK.
Added ConfigurePaksFrame.
Added input controller polling when configure paks and on play/resume game.
Focus defaults to Frame if no buttons active.
2009-11-05 14:31:44 +00:00
emukidid
5be86ad4ca gc_input updated from tehpola branch. Removed -DNO_BT flag from wii Makefile.GLN64_dev_wii 2009-10-15 04:50:17 +00:00
tehpola
148116568d Updated gc_input (added classic controller support, support for different modules) 2008-05-23 02:21:37 +00:00
tehpola
a48f9451a5 Refactored input plugin to be modular (not totally finished, but works as before). 2008-04-19 20:04:11 +00:00
tehpola
6343c42108 Added pause/resume functions to input (for rumble now, for network play later hopefully). 2008-04-15 00:05:15 +00:00
emukidid
c271fa6f56 Commented out the controller printfs 2008-04-03 00:45:33 +00:00
emukidid
aefd89f797 Check wiki for more info, this was a compiler warning fixup commit 2007-12-13 08:47:27 +00:00
tehpola
cbecf8de6c I think I've implemented rumble, but its untested (and disabled for now). 2007-11-11 22:54:10 +00:00
emukidid
9134071128 Reset button now also exits the game 2007-10-31 09:53:17 +00:00
emukidid
1c10a69feb eeprom saving to memcards fixed 2007-10-08 14:00:35 +00:00
tehpola@yahoo.com
1c193cc77a Initial Import 2007-09-01 18:57:11 +00:00