mirror of https://github.com/red-prig/fpPS4.git
![]() * initial SDL2 input stub restored only light button presses, bumpers, d-pad works axis, triggers, haptics and long presses haven't been implemented yet * fixed bumpers, buttons and hats cross, circle, square, triangle, L1, R1, L3, R3 and D-PAD should now work well * axes and triggers support added Left and Right stick should now work along with L2 and R2 * minor oopsie daisy fixed dpad down button * + controller info console output added + led set to pink (for goofy reasons) * Clipped headers from "SDL2-for-Pascal" * sdl2 made dynamically loadable * xinput made dynamically loadable * Detached headers * sce_pad_interface prototype * + * keyboard/mouse interface * touchpad * + * xinput interface * add LightBar interface * SDL_PollEvent * select_pad_interface * select_led_color * + --------- Co-authored-by: red-prig <vdpasha@mail.ru> |
||
---|---|---|
.github/workflows | ||
chip | ||
ffmpeg | ||
icons | ||
kernel | ||
rtl | ||
shaders | ||
spirv | ||
src | ||
static | ||
sys | ||
third_party_gui | ||
tools | ||
vulkan | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
as_only.cmd | ||
as_shader_dump.cmd | ||
fpPS4.ico | ||
fpPS4.lpi | ||
fpPS4.lpr | ||
fpPS4.res | ||
ps4_elf.pas | ||
ps4_program.pas | ||
ps4libdoc.pas | ||
tag.inc |
README.md
fpPS4

Donate: 
PS4 compatibility layer (emulator) written with Free Pascal
This project is currently at the beginning and started for fun.
Building
- Free Pascal compiler: 3.3.1 (use fpcupdeluxe with trunk), x86_64 only.
- Lazarus: 2.0.0 and higher, x86_64 only.
Minimum system requirements
- OS: Windows 7 SP1 x64 and higher
- CPU: x64, AVX2 support
- GPU: Vulkan API support
Game compatibility tracker
https://github.com/red-prig/fpps4-game-compatibility/issues
Control layout
To switch to borderless full screen mode, press Alt-Enter.
fpPS4 supports XInput-compatible gamepads natively. You can remap buttons by pressing Esc on the keyboard during emulation. Regardless, you can use a keyboard as a input. A DualShock4 touchpad is emulated by the mouse.
Keyboard layout:
PS4 Gamepad button | Keyboard button |
---|---|
Left Stick Up | W |
Left Stick Left | A |
Left Stick Down | S |
Left Stick Right | D |
Right Stick Up | I |
Right Stick Left | J |
Right Stick Down | K |
Right Stick Right | L |
OPTIONS | Enter |
Dpad Up | Arrow Up |
Dpad Left | Arrow Left |
Dpad Down | Arrow Down |
Dpad Right | Arrow Right |
Triangle | Numpad 8 |
Square | Numpad 4 |
Cross | Numpad 2 |
Circle | Numpad 6 |
L1 | Q |
L2 | 1 |
L3 | Z |
R1 | E |
R2 | 4 |
R3 | C |