Commit graph

17 commits

Author SHA1 Message Date
sepp256
f1d0b59633 Added Save/Load controller configs.
Fixed compiler warning for FileBrowserFrame.
Note: Button configuration does not seem to be saving/loading properly.
2010-05-26 14:25:39 +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
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
tehpola
efaa33c1a8 Modifying configure method of controller_t. This should now be called whenever a controller's configuration has changed. 2010-05-24 14:45:17 +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
6e7ffef1de Adding invertedY flag 2010-05-23 03:29:08 +00:00
tehpola
014f16edf8 Demo implementation for fully configurable controls. This currently leaves WiimoteNunchuk and Classic as broken so those won't build until we've decided on this method or not. 2010-05-23 03:25:44 +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
7765fe0fc8 Updated Gamecube build.
There's a problem with the ROM cache load when loading a ROM. The ROM loading bar doesn't fill out all the way. If it's partially loading a ROM, the loading bar freezes. If it fully loads the ROM, the emulator freezes on "Play Game"
2009-11-09 19:00:59 +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
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