Commit Graph

136 Commits

Author SHA1 Message Date
LunaMoo 95a14ca830 Add hotkey to toggle audio and video dumping together in sync. 2017-12-01 23:48:58 +01:00
Henrik Rydgård 62b24edde1 Fix some minor things found by running Sizer on PPSSPP
Sizer: https://github.com/aras-p/sizer
2017-11-08 16:56:48 +01:00
Unknown W. Brackets 9b7f43db04 Add additional button defines.
Not yet functional (overlap with virtkeys.)
2017-05-27 10:25:04 -07:00
LunaMoo a9d9063680 Handle more mouse buttons(middle, 4, 5) 2017-04-27 13:54:38 +02:00
Henrik Rydgard 5c918da774 Minor cleanups (combined two identical enums, misc) 2017-02-15 11:06:59 +01:00
Florent Castelli 70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli 373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Chris Burgener 8c96e92199 Hide Frame Advance from mobile devices 2016-08-30 10:03:16 -04:00
Chris Burgener c726691aba Remove all default bindings for Frame Advance 2016-08-29 16:39:16 -04:00
Chris Burgener 842a29b0ae Add Frame Advance 2016-08-28 12:21:45 -04:00
Unknown W. Brackets da78ec0b4d Use USING_WIN_UI for desktop Windows console. 2016-01-03 15:10:50 -08:00
latot c7b98b84c2 Add extended keys(latam) 2015-12-27 15:45:50 -03:00
Unknown W. Brackets 7bfe100b0f Fix some unused variable warnings.
The CheckAlpha one looks like it will matter.
2015-11-25 16:11:53 -08:00
Henrik Rydgard c84f0e6059 Show the id of unknown mapped keys in the UI. 2015-10-31 15:20:02 +01:00
Henrik Rydgård 5dc6e96168 Fix key mapping defaults on nVidia Shield TV 2015-10-04 13:25:57 +02:00
Henrik Rydgård 9636e4cef4 Fix assorted key mapping issues affecting Shield and probably pads in general on Android. See #7976 2015-09-17 22:46:59 +02:00
Henrik Rydgard 3232e46c36 Make debug build nearly warning free in MSVC 2015 2015-09-17 22:02:15 +02:00
Jonas Höglund a78d71029a Use DEVICE_ID_ANY for the NK_BACK key in default mappings 2015-09-02 10:23:18 +02:00
Jonas Höglund 06fadd5cad Set DPad keys in native for UI navigation
Complements the update to the key repeat logic in native.  Also renames
UpdateConfirmCancelKeys to UpdateNativeMenuKeys since even before this commit,
the function also set the TabLeft and TabRight keys.
2015-09-02 10:23:18 +02:00
Jonas Höglund 5bb2f20493 Use KeyDef for Confirm/Cancel/TabLeft/TabRight keys 2015-09-02 10:23:18 +02:00
Unknown W. Brackets bf14ad4667 Add a shortcut key for the devmenu.
This is useful when you don't have touch or mouse, only keyboard/pad.
2015-07-05 16:09:29 -07:00
Henrik Rydgard a8a7adc85f When using controller autoconf on PC, throw in a couple of useful keyboard mappings too.
See #7399
2015-02-04 11:52:13 +01:00
Unknown W. Brackets 116ddaaaf4 Fix a bad nullcheck. 2015-01-17 19:49:47 -08:00
Gabriel df3b407427 Detect azerty and qwertz
Addresses #2462.
2014-12-19 00:07:20 +01:00
Andrey Bondrov 35d0149162 Less code for bool variable inversion 2014-12-14 00:29:58 +10:00
Andrey Bondrov 89c6f76456 Less confusing function name 2014-12-13 12:20:31 +10:00
Andrey Bondrov c41e4ef905 Don't make Axis <-> D-pad swap persistent 2014-12-13 12:13:42 +10:00
Andrey Bondrov 38268a3d37 Use constants instead of hardcoded numbers for keys swap 2014-12-13 10:36:13 +10:00
Andrey Bondrov 5201f03720 Add a hotkey to swap D-pad and left analog stick keys 2014-11-07 22:40:53 +10:00
Henrik Rydgard 808f05da89 (Partially) slip thin3d underneath DrawBuffer. 2014-08-22 20:54:53 +02:00
The Dax 784f311d76 Make it available for everybody. 2014-08-17 14:36:35 -04:00
Henrik Rydgard 120e4329ba Revert the analog key names (lost mappings) 2014-06-10 00:24:14 +02:00
Henrik Rydgard c39c36ddea Improve layout of control mapping screen 2014-06-09 22:26:23 +02:00
mildlysec c3dfb64839 Added ability to press analog keys lightly using shift button 2014-06-07 22:21:54 +02:00
pal1000 8d9ecbb6b3 Do not map these keys. They are hard-coded. It just a waste. They are leftover from before finding the proper solution. 2014-06-06 18:19:10 +03:00
pal1000 a41737ebe7 Save state, load state and next save slot shortcuts are no longer hardcoded. 2014-06-06 11:52:33 +03:00
Henrik Rydgard 3023f7d06b Android: Switch dpad default to use HAT X/Y +/- instead of "dpad", as documented.
Add a simple "autoconfigure" facility for input devices, that lets the user choose
if several are connected.

Can be expanded in the future to provide custom default mapppings for various devices as long as we manage to identify them.

Ideally, key mappings should be unique per device but they aren't yet.
2014-05-19 23:31:11 +02:00
Ced2911 418d2ac8ce [xbox] 360 support for common 2014-03-02 12:15:10 -08:00
Sacha 6b8ab2e044 Fix keyboard on Blackberry. 2014-02-19 22:33:28 +10:00
Unknown W. Brackets d2108a962e Switch from USING_GLES2 to MOBILE_DEVICE.
Still using USING_GLES2 for, well, GLES2.  But for things that are really
about mobile, we need a new define.  Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Unknown W. Brackets 08f812518f Switch game browser tabs using L/R buttons.
Even with keyboard / custom controller mapping.
2014-01-25 12:01:48 -08:00
ufdada e3ae387e39 Textstring for additional keys
see: https://github.com/hrydgard/native/pull/188
2014-01-13 16:42:54 +01:00
zack-vii 26fbb4c32c "Next Slot" control mapping
-added "Next Slot" to control mapping menu
-added VIRTKEY_NEXT_SLOT -> incremented VIRTKEY_TOGGLE_FULLSCREEN
-added SaveState::NextSlot(); as replacement for code in
WndMainWindow
-added entry in EmuScreen using SaveState::NextSlot();
2014-01-07 15:56:04 +01:00
Henrik Rydgård f570601f84 Preliminatory support for a fullscreen toggle for SDL platforms.
Does not seem to work on Mac.
2014-01-03 15:16:23 +01:00
Henrik Rydgård 886607d529 Make Save/Load state mappable to controls. Not mapped by default. 2013-12-06 15:46:56 +01:00
Henrik Rydgård cd2adf80a4 Add keybinding to rewind (backspace by default), if rewind states are enabled. Disable rewind on mobile. 2013-12-05 16:25:17 +01:00
Henrik Rydgard 2a5c4ca420 Some math approximation research. Found a good approximate arcsin (to implement vasin in the future). 2013-11-30 12:46:23 +01:00
Henrik Rydgård 0d05a8f4a9 Merge pull request #4392 from hrydgard/multi-press
If an input (axis or key) is mapped to multiple targets, trigger them all.
2013-11-29 05:26:55 -08:00
Sacha 8597893e14 Fix Blackberry QWERTY default values. 2013-11-13 04:22:21 +10:00
Henrik Rydgård 5b58497b0d Flip the default Y-axis stick mapping for Ouya 2013-11-01 12:03:38 +01:00