Skip to content

Commit

Permalink
Add KeyMapping image
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Fernandes committed Jun 19, 2019
1 parent a4884c9 commit abc6f35
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
Binary file added KeyMapping.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added KeyMapping.sketch
Binary file not shown.
38 changes: 19 additions & 19 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
Minimum supported OS
=====
# Key Mapping

This version of ShockEmu has been tested on:
* macOS 10.15: Catalina (Beta)
`only_keyboard.se` goes like this:
![Key Mapping](https://github.com/backslash-f/ShockEmu/blob/master/KeyMapping.png)

Setup
=====
This is of course customizable.

ShockEmu requires the OS X Command Line Tools to be installed.
Tested on:
* macOS Catalina 10.15

Installation steps:

git clone [email protected]:backslash-f/ShockEmu.git
./build.sh only_keyboard.se
./run.sh
# Setup
ShockEmu requires the OS X Command Line Tools to be installed.

It 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.
Installation steps:

SE file format
==============
```zsh
git clone [email protected]:backslash-f/ShockEmu.git
./build.sh only_keyboard.se
./run.sh
```

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.
It 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.

How it works
============
# 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.

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.
# 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.
2 changes: 1 addition & 1 deletion only_keyboard.se
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ left = dpadLeft
right = dpadRight
down = dpadDown

y = PS
t = PS # Not working, need to use the PS "native" button (appears when mousing over the window)
space = touchpad
1 = share
0 = options
Expand Down

0 comments on commit abc6f35

Please sign in to comment.