Commit Graph

75 Commits

Author SHA1 Message Date
Unknown W. Brackets
f258cb24c2 Eat some cycles when reading the button data. 2014-01-19 12:44:54 -08:00
Unknown W. Brackets
183b4cb45c Add a static method for creating PSPPointers.
This is still kinda ugly, but the assignment thing was just too ugly, I
couldn't do it anymore.
2013-12-16 23:50:52 -08:00
Unknown W. Brackets
7cff309cf7 Ignore the current button state in savestates.
Fixes #4149.
2013-11-19 18:33:17 -08:00
Unknown W. Brackets
6ebad9e06f Include all released buttons in the latch.
Not just newly released ones.  This does appear to be how the PSP fills
this buffer - it's normally 0xffffffff.
2013-11-17 19:32:21 -08:00
Unknown W. Brackets
d7d0242225 Minor simplification to ctrl buffer updates. 2013-11-17 19:32:20 -08:00
Unknown W. Brackets
9c874c754e Use the us based time for rtc/etc.
Instead of incorrect conversions from ticks based on current mhz.
2013-10-24 01:10:09 -07:00
shenweip
1cb59eb76a Fix savedata. 2013-09-29 17:30:17 +08:00
shenweip
3e5b6e6200 Only use a separate btnmake. 2013-09-29 16:21:30 +08:00
shenweip
43654e2a61 Use a separate latch for osk dialog. 2013-09-25 16:32:07 +08:00
Unknown W. Brackets
5c7c57dd3f Oops, typo. 2013-09-19 00:28:57 -07:00
Unknown W. Brackets
8e412234c9 Fix ctrl reinit problem. 2013-09-17 08:40:20 -07:00
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Henrik Rydgard
324cde5a79 Let's actually use the log category mechanism. A first step. 2013-09-07 21:19:21 +02:00
Unknown W. Brackets
15a0f39fa1 Return yet more errors while inside interrupts. 2013-08-28 23:15:13 -07:00
Unknown W. Brackets
61fae4e920 Return proper errors while dispatch disabled.
In at least the majority of waits.
2013-08-27 23:55:37 -07:00
Unknown W. Brackets
2222d07c11 Specify byte order in sceCtrl as well. 2013-07-27 15:30:36 -07:00
Unknown W. Brackets
13f6ca0019 When mapping to an axis, center when both pressed.
Fixes #2860.
2013-07-20 12:11:35 -07:00
Henrik Rydgard
ff225fab5a Finish the touch input rewrite, get rid of the fakeinput hacks. 2013-07-20 14:05:07 +02:00
Henrik Rydgard
4b539e842a Also replace the on-screen cross 2013-07-20 12:54:33 +02:00
Unknown W. Brackets
cb249c469b Properly send the right analog to the game.
I don't think this was actually working before.
2013-07-06 23:06:33 -07:00
Unknown W. Brackets
1ab86a68c9 Add rapid fire ctrl interface, minor cleanup. 2013-07-06 23:06:32 -07: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
Unknown W. Brackets
362c5be657 Tweak the ctrl analog rounding to be safer. 2013-06-20 01:11:45 -07:00
Unknown W. Brackets
250260cccd Fix sceCtrl analog range for all input devices.
It should map (-1.0... 0.0... 1.0) to (0... 128... 255.)  However, it was
instead being mapped to (1... 128... 255.)  This was causing games to not
respect analog movement if they checked for 100%.

Fixes #2363.
2013-06-20 01:00:53 -07:00
Unknown W. Brackets
f93c92d409 Add some syscall names that match by sha. 2013-05-19 22:12:39 -07:00