Commit graph

59 commits

Author SHA1 Message Date
Extrems
866fce20ed 2017-10-03 21:00:42 -04:00
Extrems
223c058983 2017-09-30 16:55:02 -04:00
Extrems
fd4dfd02d4 2017-09-25 17:20:01 -04:00
Extrems
34c74cb91a 2016-12-09 21:49:26 -05:00
Extrems
56d9e9f69b 2016-11-26 19:34:00 -05:00
Extrems
a6a27c8b75 2015-02-04 04:12:48 -05:00
Extrems
426ac4db5a 2015-02-04 04:02:53 -05:00
Extrems
74c727b4c6 2015-02-04 02:56:45 -05:00
Extrems
1a42cd3159 2015-02-04 02:52:54 -05:00
Extrems
deb6357eda 2015-02-04 02:03:20 -05:00
sepp256
e7be4bcbc0 Added alternate Menu Combos for all controller types. 2010-05-27 01:56:52 +00:00
tehpola
3f92ac0114 Fixed up accelerometer-based input. 2010-05-26 23:14:30 +00: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
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
sepp256
9875de6cda Added status icon for Wiimote.
Updated status bar to work with wiimote.
Fixed detection of connected wiimote both in status bar and in gc_input.
Updated Button Mapping frame for wiimote.
2010-05-26 12:32:47 +00:00
tehpola
b632fba03f Fixing typo for C-Stick/Right analog stick's right direction. 2010-05-26 01:44:00 +00:00
tehpola
55ad2a387e Added analog_fmt in configure for 'None' analog source which only reads buttons, adjusted tilt/wheel analog_fmts so that they only read accel since they're not available with nunchuk, and added IR to Wiimote-only analog sources. 2010-05-25 14:32:47 +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
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
tehpola
dc7b8d9d9f Wiimote + Nunchuk now uses 1.1-style controls. It could probably use some button combinations for d-pad though. 2010-05-24 14:43:36 +00:00
tehpola
cb801caebc Classic controller now uses 1.1-style controls and a bit of GC controller refactoring and commenting. 2010-05-24 14:42:07 +00:00
sepp256
e084c1deaa Some improvements to the button mapping frame.
This is a WIP, so further tweaks are needed.
Classic & WMNC are incomplete and will crash if you try to map their buttons.
2010-05-24 14:38:47 +00:00
sepp256
3afb16515e Fixed "None" button mapping for GC pads. 2010-05-24 07:42:15 +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
7108755e55 Stop rumble for Classic and Wiimote+Nunchuk when game is paused 2010-04-27 14:16:40 +00:00
tehpola
9d9f4ddf5a Implemented TILT_AS_ANALOG flag for Wiimote+Nunchuk 2010-04-27 14:15:19 +00:00
tehpola
50060ceaac Added "Shooter" configuration to Wiimote+Nunchuk and implemented NUNCHUK_AS_C and IR_AS_ANALOG flags for that config 2010-04-27 14:13:57 +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
tehpola
1f29e29ee6 Rumble for CC and Wiimote+Nunchuk. Fixed a bug in the way I was detecting B is pressed for Wiimote+Nunchuk 2010-04-15 14:30:57 +00:00
tehpola
3883ab93ad Improving the controller code: its closer to being configurable and the C-Stick should do diagonal now. 2010-04-15 14:27:16 +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
48c4b1879d Added ConfigureInput Frame.
Added option to auto assign controllers or manually assign them.
Various changes to input plugin.
2009-11-08 05:20:38 +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
tehpola
4f2f6ba898 Only attempt 64 reads before giving up on GC controller init. Fixes freezing issue I had with my madcatz (I think it always emits an error, but it is still usable). 2009-11-06 06:11:52 +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
tehpola
33eec9d425 Z can be triggered by either classic controller Z buttons now. This improves F-Zero's playability with the CC. 2009-11-05 04:51:31 +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
sepp256
dbc43b4d3c 2008-06-05 00:21:36 +00:00
tehpola
72ffed8351 Fixed code to use hack around since WPAD interface isn't fully realized 2008-05-23 03:36:31 +00:00
tehpola
2e797f6c4b Fixed classic support in input plugin for latest cvs 2008-05-23 03:17:03 +00:00