Commit graph

2442 commits

Author SHA1 Message Date
Unknown W. Brackets
d9bfcce0de Switch to buttons instead of A/B/X/Y for dinput.
This way people don't say "but my X button shows up as L1."
2013-07-07 17:05:03 -07:00
Unknown W. Brackets
4f93d57186 Add a few more dinput axises since it's easy. 2013-07-07 16:28:36 -07:00
Unknown W. Brackets
4541a79d54 Send only changed analog sticks in dinput. 2013-07-07 16:10:21 -07:00
Unknown W. Brackets
3852e26558 Remove the force device setting, map instead. 2013-07-07 13:44:21 -07:00
Unknown W. Brackets
b3b2269536 Remove some dead code. 2013-07-07 13:43:53 -07:00
Unknown W. Brackets
e6f4f3a9ac Fix POV so it resets, cooperates with kbd.
Only resends on change.  DirectInput is all about polling, unfortunately.
We could use a separate thread and wait on events...
2013-07-07 13:43:28 -07:00
The Dax
0003b4d4dd Layout ApplyButtons to more closely resemble the XInput code. 2013-07-07 16:33:15 -04:00
The Dax
175223118a Make coding style consistent across entire DinputDevice.cpp file. 2013-07-07 16:28:42 -04:00
The Dax
82b3afe923 Fix more styling issues. 2013-07-07 16:25:23 -04:00
The Dax
d182a3388e Fix some styling issues, remove some old and irrelevant comments. 2013-07-07 16:19:55 -04:00
The Dax
c65a2eeda3 Fix default button mappings and incorrect axes(they are wrong on my controller, at least..).
TODO: Fix comments.

Also, is there no way to remove the hack for the special buttons..?
2013-07-07 16:19:55 -04:00
The Dax
c5ffd23fb1 Fix inverted buttons, and allow the special keys to be remapped[hopefully..]. 2013-07-07 16:19:55 -04:00
The Dax
9aaf4e5e08 Add RightStickBind support. It's still not 100% bug free... 2013-07-07 16:19:55 -04:00
The Dax
3023ab91ec Add POV support. 2013-07-07 16:19:55 -04:00
The Dax
bc06c5992e Fix horrible styling. 2013-07-07 16:19:54 -04:00
The Dax
8e136bc383 Begin updating DirectInput for keymapping, and to take it off the legacy path. 2013-07-07 16:19:54 -04:00
Unknown W. Brackets
55a060332e Clean up some magic numbers, remove old code. 2013-07-07 09:27:53 -07:00
Unknown W. Brackets
f6abce2102 Add some missing keyboard VK constants.
VK_PRINT is confusingly not print screen.  Also remove some dups.
2013-07-07 09:27:18 -07:00
Henrik Rydgard
b581b73757 Make even more keys mappable 2013-07-07 14:38:10 +02:00
Henrik Rydgard
ab1b7e7288 Get rid of remaining legacy key mappings. Make Pause and F3 mappable, add default mappings. You may need to manually map these if you have an old ppsspp.ini. 2013-07-07 14:08:08 +02:00
Henrik Rydgard
d5f4933b44 Bugfix R2 on x360 controller 2013-07-07 13:44:32 +02:00
Henrik Rydgard
7cd45d9375 Make some more keys mappable in Windows. 2013-07-07 12:03:11 +02:00
Henrik Rydgard
19a6edd6cc Let the user map unthrottle and rapidfire. Make more keys mappable. 2013-07-07 11:25:19 +02:00
Henrik Rydgard
1256d5528d Use EXT_swap_control_tear when available to ensure that VSync never slows things down (tears instead if it can't keep up, better than stuttering) 2013-07-07 11:25:18 +02:00
Henrik Rydgard
cee45d0ad2 Win32: Switch to RawInput for keyboard processing. Lets us distinguish LSHIFT/RSHIFT and LCTRL/RCTRL. 2013-07-07 11:25:18 +02:00
Unknown W. Brackets
3e634e7677 Remove some no longer used xinput stuff. 2013-07-06 23:16:36 -07:00
Unknown W. Brackets
a37a6a8d54 Remove some unused keyboard code, avoid confusion. 2013-07-06 23:11:43 -07:00
Unknown W. Brackets
39fc7931bb Add keymap support for alt/shift/ctrl on Windows.
WM_KEYDOWN only gets VK_SHIFT, not L or R.  We could detect which on
press, but not on release.  It's simpler to just resend both.
2013-07-06 23:06:33 -07:00
Henrik Rydgård
a28cfe6327 Merge pull request #2654 from Kingcom/Debugger
Add thread list columns
2013-07-06 12:51:28 -07:00
Henrik Rydgard
cb87340e71 win: don't queue up key presses at all, send them instantly. 2013-07-06 21:49:28 +02:00
Henrik Rydgard
7e5a68ab16 Fix F3 2013-07-06 21:41:11 +02:00
Kingcom
82c242f237 Added "Wait type" and "Priority" columns to thread list 2013-07-06 21:40:41 +02:00
Henrik Rydgard
b0ee3a173a Add mechanism for unlimited mappable virtual keys (not restricted by some bitfield). Use it to implement X/Y analog key mapping. 2013-07-06 20:45:44 +02:00
Henrik Rydgard
cc58e34cf8 Remove legacy key mapping and associate devices with keys (DInput has been left behind for now, will be fixed up soon). Saving is broken, will be fixed soon. 2013-07-06 20:45:44 +02:00
The Dax
7421877ece Windows UI: Fix bug where topmost doesn't work on starting a new PPSSPP session, even if it's checked. 2013-07-06 13:47:37 -04:00
Henrik Rydgard
a599bf7500 Assorted warning fixes and cleanups 2013-07-06 11:09:19 +02:00
The Dax
3560a489fb Add an option to allow DirectInput to swap the right analog stick axes, in case the emulator detects them incorrectly. 2013-07-05 19:09:16 -04:00
The Dax
fb3ade56b9 Add option to bind right analog stick to left/right dpad buttons only. Can be useful for games that use the dpad as a camera, and horizontal camera movement is more common than vertical(i.e. Monster Hunter). 2013-07-05 06:02:47 -04:00
Daniel Dressler
349bed669c Fix windows dropping special keys 2013-07-04 12:18:05 -07:00
The Dax
72b33a5f5c Update Windows' keyboard input in preparation for eventual key remapping. Might need a bit more work, but for now, all keyboard functionality should be restored. 2013-07-04 02:11:39 -04:00
Kingcom
bccc3c4281 Debug interface improvements 2013-07-03 22:29:35 +02:00
Unknown W. Brackets
defe750558 Update debugger UI on the debugger's threads. 2013-07-02 22:59:47 -07:00
Kingcom
24559491f0 Thread list in disassembly window 2013-07-02 23:21:20 +02:00
The Dax
70a330e8f1 Fix Windows build error. 2013-07-02 16:47:52 -04:00
The Dax
7ab2da6dfc Simplify loop. 2013-07-02 16:21:42 -04:00
The Dax
2430324c40 Rename "Off" to "Auto", and fix buggy menu. 2013-07-02 16:21:42 -04:00
The Dax
2f2a9073b3 Add ID_OPTIONS_TEXTUREFILTERING_OFF to the int array. Thanks to @unknownbrackets for pointing it out. 2013-07-02 16:21:10 -04:00
The Dax
84702f87d8 Windows GUI: Add option to disable texture filtering to Options menu, since it's missing. 2013-07-02 16:21:10 -04:00
Kingcom
2521a88207 Use ChangeBreakPointAddCond function 2013-07-02 17:43:34 +02:00
Kingcom
c41b08f9e2 Add expression parser to breakpoints 2013-07-02 11:51:29 +02:00