Commit Graph

70 Commits

Author SHA1 Message Date
goyuken e6058e6bd8 break some stuff. FDS can eject and insert disk sides now 2012-10-26 18:51:08 +00:00
zeromus ab46a076f2 swallow exception when joystick cant be acquired, instead of crashing 2012-10-20 22:44:15 +00:00
goyuken a43d02a422 fix: console no longer gets spammed with "Reset" if you use the menu soft reset item while the emulator is paused. if you want to log reset information, do it from a more appropriate location (core?) 2012-10-17 15:20:50 +00:00
adelikat 6e7a906cf5 Controller Config - some tweaks, but input widgets aren't working, dont' know why 2012-10-01 01:55:08 +00:00
zeromus 388f62f140 dont crash if xinput isnt available. i think thats important for some reason. 2012-10-01 01:03:04 +00:00
beirich 1b43645d7e add XInput support, LT/RT are possible inputs now.
Any existing gamepad mappings are so, so very totally screwed.
2012-09-30 06:29:30 +00:00
goyuken 4fc714d0ad more generalized directinput handling.
all axes are handled as boolbuttons with hardcoded deadzones.
all boolbuttons are handled as expected.
"slider"s are not handled because i had nothing to test against.
button names for axes have changed; button names for boolbuttons have not.
2012-09-29 19:16:37 +00:00
andres.delikat faed5ba5f7 1) Autohold and Autohold Clear hotkeys, same functionality as in FCEUX and other emulators (hold the autohold hotkey then press the controller buttons you want held)
2) Ram Poke - fix poking of signed/hex values, set the signed value to the value of the address on load, other misc fixes regarding signed
3) Hex Editor - add Poke to menu/context menu and Ctrl+P hotkey
2012-09-14 21:31:00 +00:00
andres.delikat 1460f7b860 Input Config - show when a button mapping conflicts with a hotkey mapping (but still allow it) 2012-09-10 17:49:33 +00:00
peter e310e90d9f Conditionally compile Windows code, make Throttle class portable, and add dummy input/audio implementations for non-Windows
This is (almost, bar some local resource hacks) enough to start the
emulator on Linux/Mono, load a ROM and watch the demo (input and
audio don't work yet).
2012-03-12 04:44:34 +00:00
zeromus 4acbf1e584 fix some sticky input bugs hopefully without creating anymore 2011-09-11 18:05:49 +00:00
andres.delikat aba919874d Autofire - take lag frames into account 2011-08-29 03:28:34 +00:00
zeromus 35ead836d2 fix input better 2011-08-27 02:56:15 +00:00
zeromus 3420f0bc5e see if this input code is any faster 2011-08-27 01:15:57 +00:00
andres.delikat 9e9b3051a8 Remove hard coded "Backspace" hotkey mapping for nes reset (the soft reset hotkey handles reset just fine). Add Reset hotkey mapping to Reset menu item 2011-08-10 22:58:06 +00:00
andres.delikat 6f3bc27c59 Autofire is smarter now and keeps track of when a button was pressed and then uses that for the basis of the autofire pattern 2011-08-10 00:34:33 +00:00
andres.delikat cde05919ad Refactor autofire into an autofire controller. Added On & Off values that can be used to create any combination of On/Off patterns, hooked them to Global.Config values 2011-08-09 22:13:57 +00:00
andres.delikat 0d01af5c7b Refactor autofire, remove the autofire adaptor. Added an autofire bool to IController and implemented it in the Controller object. Setting to true will turn the controller buttons into autofire buttons 2011-08-08 23:35:13 +00:00
zeromus ae3b4fad83 fix reset menu item? 2011-08-04 02:47:05 +00:00
zeromus 5580295085 movie input refactoring 2011-07-24 23:14:16 +00:00
zeromus 29b2e30c36 cleanup Controller class (remove old sticky and forcing code) 2011-07-24 20:37:10 +00:00
zeromus e4f9f76198 fix ti-83 virtual keypad 2011-07-24 20:23:27 +00:00
zeromus f8f1906a3c make alt hotkeys more useful by preventing interference from windows menu system 2011-07-10 19:50:59 +00:00
zeromus 61f466ca8e fix more input stuff better 2011-07-10 07:39:40 +00:00
zeromus 2425b3c87a fix some input things 2011-07-10 06:24:04 +00:00
zeromus 4991b95def refine input stuff 2011-07-10 02:14:58 +00:00
zeromus 4ac74a20b3 fix obvious bug in last checkin 2011-07-09 23:18:13 +00:00
zeromus 9355bc0f2e redo some of client input and hotkey handling 2011-07-09 22:09:39 +00:00
beirich 2cbc50143f Input update... always run directinput in background input mode, we take care of ignoring input when application isn't focused ourselves 2011-07-08 05:15:28 +00:00
beirich 10faa8a55f Fix issues with modifier keys. If you bind "Tab", it wont be triggered by pressing "Shift+Tab". 2011-07-05 05:41:59 +00:00
beirich a3df5345f6 GetPressedKey() progress, returns keyboard with desired modifier-key properties 2011-07-04 23:36:06 +00:00
beirich 9bd1d75ba1 Implement GetPressedKey for joysticks, untested; keyboard polling is in progress 2011-07-04 20:45:05 +00:00
zeromus 0aa234282e phase 1 of fixing up controller logic. tell me how terribly ive broken the movie code. might want to fix it before moving on to phase 2 or decide to revert. 2011-06-27 05:31:46 +00:00
andres.delikat 52215061aa some implementations necessary for the gameboy controller 2011-06-27 01:24:26 +00:00
andres.delikat 685a500cc5 movie - Reset recording for the NES core 2011-06-26 18:08:27 +00:00
andres.delikat e4a112c220 Hotkeys/Input - Use Ctrl for display instead of Control 2011-06-21 01:22:27 +00:00
andres.delikat 30296e4f5b Don't distinguish between left & right shift/alt/control! 2011-06-20 02:24:41 +00:00
andres.delikat e6af827d7c ...and remove some debug code I left in 2011-06-19 23:40:20 +00:00
andres.delikat 5bda595ee7 fixs spaces into tabs in a bunch of files because I'm tired of fixing it gradually 2011-06-19 23:39:25 +00:00
andres.delikat 38422fda10 Numpad 2,4,6,8 != Arrow keys! 2011-06-19 23:31:58 +00:00
andres.delikat f23c5f8382 Pause emulation when context menu is activated 2011-06-19 01:39:36 +00:00
andres.delikat e250355024 NES controller 2 implemented with some bugs 2011-06-19 00:18:02 +00:00
kylethomson c228699255 Getting closer. 2011-06-17 02:43:22 +00:00
kylethomson e9942dc101 Multitrack overwrite works. Now to fix playback. 2011-06-16 03:56:40 +00:00
kylethomson 882562c452 Multitrack for PCE done, if my idea works. Now to hook up hotkeys. 2011-06-16 02:29:45 +00:00
kylethomson b5b853196e 2011-06-16 01:49:12 +00:00
kylethomson a4fe9754c0 Look at where the error is - This is what I need to access. 2011-06-16 01:35:42 +00:00
kylethomson 18fe637193 Start of MultiTrack. 2011-06-16 01:18:16 +00:00
zeromus 40b7827798 improve fastforward system: add >> to fps display, add an 'alternate speed' selection (hold ctrl while choosing a speed from the config>speed/skip menu) which is used by holding FF key, add separate unthrottle toggle, clarify throttle control logic. 2011-06-10 07:12:57 +00:00
beirich 5a73fc03ad u+d/l+r toggle implemented 2011-06-10 04:14:21 +00:00