Commit Graph

26 Commits

Author SHA1 Message Date
Henrik Rydgård
04d3d3111c Clean up __Ctrl button functions. 2023-04-01 08:55:45 +02:00
Henrik Rydgård
38f4cc4cc9 Make reverse mapping lookup work for the simple PSP buttons. 2023-03-31 11:05:29 +02:00
Henrik Rydgård
26bf40c497
ControlMapper: Change the callbacks to be more suitable for the upcoming refactor. (#17209)
* ControlMapper: Change the callbacks to be more suitable for the upcoming refactor.

* SetAllButtons: Separate bits to set and bits to clear.

* Oops, missed committing some files somehow
2023-03-30 10:47:28 +02:00
Henrik Rydgård
cd8cfcfcd7 Merge __CtrlSetAnalogX/Y into one function. Always called together. 2021-07-09 10:41:26 +02:00
LunaMoo
e999444b23 Implement PPSSPP specific cheats:
0xA0 vibration cheat(Xinput)
Syntax is: 0xA0NNLLLL 0x00MMRRRR
where NN/MM is time vibration lasts LLLL/RRRR is the vibration power

0xA1 read value for the vibration(Xinput) from game memory
Syntax is: 0xA1000000 0xNNNNNNNN
where NNNNNNNN is the address that stores following values at offset:
0xNNNNNNNN + 0x0 Left Vibration power,
0xNNNNNNNN + 0x2 Right Vibration Power
0xNNNNNNNN + 0x4 Left Vibration time
0xNNNNNNNN + 0x6 Right Vibration time

Left some room for other PPSSPP specific cheats(0xA2-0xAF)
2020-04-16 23:00:29 +02:00
iota97
f42e6a984f Rapid fire touch control 2020-01-28 08:52:18 +01:00
Unknown W. Brackets
89186d8113 Replay: Initial structure for replay functionality. 2018-04-07 15:36:28 -07:00
LunaMoo
d96232be72 Finish making extra psp keys mappable. 2017-09-23 15:37:10 +02:00
Unknown W. Brackets
9b7f43db04 Add additional button defines.
Not yet functional (overlap with virtkeys.)
2017-05-27 10:25:04 -07:00
Henrik Rydgard
18655d14a4 Release PSP buttons when losing gameplay focus, fixes part 1 of #7758, and part 2 of #7758 on Windows only. 2015-05-21 10:49:47 +02:00
sum2012
f0ad992b67 Add sceCtrl_driver and sceDisplay_driver 2014-02-17 20:46:57 +08: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
The Dax
ab8c1f5b5f Fix multiple compilation issues for all platforms. 2013-07-03 14:37:31 -04:00
Henrik Rydgard
f20e00315d Add basic support for the second analog stick present in the PS3 PSP emu for HD remakes.
Make vi2f safer.
2013-04-28 22:15:33 +02:00
Xele02
2a424977c0 Fix linux build ^^ 2013-02-04 21:24:01 +01:00
Unknown W. Brackets
2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Unknown W. Brackets
cd1d4367bf Save state of a bunch of small modules. 2012-12-28 13:55:28 -08:00
Unknown W. Brackets
d378b1c324 Deallocate properly in shutdown, not in init. 2012-12-24 01:41:15 -08:00
Unknown W. Brackets
1c4409e082 Naive fix for repeat rate issues in OSK.
Not sure if the latch should actually be consumed but makes sense.
Needs tests.
2012-12-23 08:59:34 -08:00
Unknown W. Brackets
fd2d666191 Add ctrl sampling (vblank).
This makes it work like the PSP does with number of buffers, etc.
Still doesn't wait yet.
2012-12-02 15:44:23 -08:00
Henrik Rydgard
75412b064b Implement sceUtilityMsgDialog 2012-11-18 17:51:14 +01:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00