Commit Graph

98 Commits

Author SHA1 Message Date
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
Henrik Rydgård
bf7f582c3c If an input (axis or key) is mapped to multiple targets, trigger them
all, not just the first one.
2013-10-31 16:50:27 +01:00
Henrik Rydgård
43240515de Fix weird axis mapping issue on Ouya 2013-10-31 11:06:54 +01:00
Henrik Rydgård
cdee118c60 Make the default control mapping on Ouya a bit more workable:
Start/Select are now mapped to the analog triggers instead of
non-existing buttons.
2013-10-31 10:51:03 +01:00
Henrik Rydgard
9df2025c4f Azerty L/R fix 2013-10-28 11:25:18 +01:00
Henrik Rydgard
6c5a2ea91a Windows: Try to autodetect and adjust for QWERTZ and AZERTY keyboard layouts.
Might not have all the layout codes necessary yet.
2013-10-24 12:45:44 +02:00
Sacha
d49b4fad9a Miscellaneous changes for Blackberry. 2013-10-12 17:19:02 +10:00
Unknown W. Brackets
c3839a53e5 Fix some minor warnings. 2013-09-07 22:40:08 -07:00
Henrik Rydgard
d21db0f852 Fix Xperia Play detection, hide touch controls on Ouya 2013-09-07 11:06:28 +02:00
Henrik Rydgard
c845da2887 Switch System_GetName to System_GetProperty 2013-09-04 11:31:40 +02:00
papel
d22e555e4f Fix volume and name of Latin American languages. 2013-08-29 13:25:29 -03:00
Henrik Rydgard
cae5aef231 Detect Ouya correctly, for keymap assignment 2013-08-27 11:27:26 +02:00
The Dax
13f6c26b6b Fix a couple spacing things. 2013-08-25 16:55:00 -04:00
The Dax
59f878a3c4 Add space as a confirm key, and use a loop for hard-coded confirm keys, too. 2013-08-22 13:06:12 -04:00
The Dax
4beef2b877 Fix dumb copy and paste error. 2013-08-22 12:53:33 -04:00
The Dax
0c249f0084 Remove RMB as a default cancel key. We'll let the user bind it to cancel manually. 2013-08-22 12:38:04 -04:00
The Dax
57ab8aa611 Only hard-code keys if they're not bound. 2013-08-22 08:44:08 -04:00
The Dax
968150cc77 Rewrite the hard-coded removal of accept/cancel keys. It's much cleaner and simpler now. 2013-08-22 06:46:35 -04:00
Henrik Rydgard
6b48dda12f Fix a couple of keymap load/save/default bugs 2013-08-20 16:07:23 +02:00
The Dax
1fd2f1ab3d Do the default keymap for DirectInput, too. An oversight, I guess? 2013-08-20 03:34:30 -04:00
Henrik Rydgard
1559b4404a Fix some joystick mapping errors, a minor bug 2013-08-19 22:40:05 +02:00
Sacha
ba030da663 Enable controllers and change keymapping for Blackberry. 2013-08-19 00:03:02 +10:00
Henrik Rydgard
e6ad305545 360 controller: Update default mapping. Put speed toggle on THUMBR instead of a trigger as the triggers are bouncy. 2013-08-18 11:47:11 +02:00
Henrik Rydgard
1fabe1f78e Fix loading of non-mapped keys 2013-08-18 01:04:49 +02:00
Henrik Rydgard
47f2efb0e5 Fixes to default key mappings, add default button, fix saving of mapped controls on Android, fixes #3213 2013-08-18 00:41:19 +02:00
Henrik Rydgard
47ac6c02fc Disable accelerometer as axis, fix some omissions in KeyMap (doesn't actually autoload all those maps yet) 2013-08-17 13:41:29 +02:00
Henrik Rydgard
82b59a7e9d Fix up/down/left/right ordering for analog sticks 2013-08-17 11:47:56 +02:00
Henrik Rydgard
edb0614a59 Fix analog axis names. Make L2/R2 on x360 controllers analog.
Also slightly nicer behaviour - don't create empty mapping, instead ask for mappings immediately.
2013-08-17 11:18:45 +02:00
Henrik Rydgard
3636f90902 Step 3: Replace current key mapping dialog with a list-based one which is much more workable. 2013-08-17 10:34:38 +02:00
Henrik Rydgard
3a8432373d Step 2: Multiple inputs can be mapped per psp key now, and save load works. 2013-08-16 21:25:36 +02:00
Henrik Rydgard
f1bc751eb9 Step 1: Go back to a single control map.
Break save/load for now, it will be redone.
2013-08-16 19:34:44 +02:00
Henrik Rydgard
22ebe76f33 Move KeyMapping UI to its own file before rewriting.
Plus some minor tweaks and fixes.
2013-08-16 16:49:53 +02:00
Henrik Rydgard
22a05c5e38 Preliminary relative mouse mapping. Disabled because it breaks the control mapping UI currently.
Needs tweaking.
2013-08-12 23:27:41 +02:00
Sacha
8b4280b297 Rename KEYCODE to NKCODE (native key code) to stop name collision. Implement Blackberry keymapping. 2013-08-05 03:31:40 +10:00
Henrik Rydgard
7fc5ce56de Fix viim for x86, implement for ARM. 2013-07-31 18:21:23 +02:00
Henrik Rydgard
8972bf0d12 Fix stickiness of NV Shield d-pad (and other digital pads that are mapped to axises) 2013-07-31 18:08:31 +02:00
raven02
9108bf4771 Rename 360 and Pad to "Xbox 360 Pad" and "DirectInput Pad" respectively 2013-07-29 07:56:11 +08:00
raven02
c1bdd8b0db Assign HW select button on X360 to "SELECT" button 2013-07-29 07:31:19 +08:00
papel
314d286e37 Changed pause and speed shortcuts. Fixed disabled run on load. 2013-07-09 21:54:42 -03:00