Skip to content

Commit

Permalink
add default control mappings to README
Browse files Browse the repository at this point in the history
  • Loading branch information
sam0x17 committed Aug 23, 2018
1 parent ec2b974 commit 2944bbc
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,29 @@ initializing threads...

Right now all buttons are hard-coded to their "default" xbox equivalents. If you wish to
customize these mappings, feel free to modify the `process_button` method in XJoy.cpp. I
plan to add support for a configuration file and maybe a GUI in later versions.
plan to add support for a configuration file and maybe a GUI in later versions. The default
mappings are shown below:


| Joy-Con Button | Xbox Button |
|--------------------|----------------|
| A | A |
| B | B |
| X | X |
| Y | Y |
| Left Trigger | Left Trigger |
| Right Trigger | Right Trigger |
| Left Shoulder | Left Shoulder |
| Right Shoulder | Right Shoulder |
| D-PAD | D-PAD |
| Left 8-way Analog | Left Analog |
| Right 8-way Analog | Right Analog |
| Left Stick | Left Thumb |
| Right Stick | Right Thumb |
| Home | Start |
| Capture | Guide |
| Plus | not mapped |
| Minus | not mapped |

## Building

Expand Down

0 comments on commit 2944bbc

Please sign in to comment.