Key Mapping
only_keyboard.se goes like this:
Setup
git clone git@github.com:backslash-f/ShockEmu.git
cd ShockEmu
./build.sh only_keyboard.se
./run.shIt depends on your system having PS4 Remote Play installed at /Applications/RemotePlay.app. If this is not the case, you'll need to modify run.sh accordingly.
The OS X Command Line Tools needs to be installed.
SE File Format
SE files are, generally speaking, a mapping between an input key, mouse button, or mouse movement to a DualShock 4 input. See the example file (example.se) for a breakdown of the format.
How It Works
ShockEmu works by intercepting the IOHID calls of PS4 Remote Play application and presents an emulated DualShock controller. It also hooks into the input routines of the application, to catch keyboard and mouse inputs, which then get mapped according to your SE file.
Pro Tip
The alias below allows for typing play / enter anywhere in Terminal and have RemotePlay.app launched with the above keys mapped:
$ cat ~/.zshrc | grep play
alias play="pushd /Users/backslash-f/Downloads/source/backslash-f/ShockEmu; ./run.sh &; popd"
๐๐ปShockEmu repo location must be updated according to your machine.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

