Skip to content

Instantly share code, notes, and snippets.

@ildar-ceo
Last active October 20, 2023 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ildar-ceo/9c0ee9361cfc74d6acff3a2a367840aa to your computer and use it in GitHub Desktop.
Save ildar-ceo/9c0ee9361cfc74d6acff3a2a367840aa to your computer and use it in GitHub Desktop.
.joy2keyrc
COMMON
-dev /dev/input/js0
-thresh -16383 16383 -16383 16383 -16383 16383 -16383 16383 -16383 16383 -16383 16383 -16383 16383 -16383 16383 -16383 16383 -16383 16383 -16383 16383 -16383 16383 -16383 16383 -16383 16383
START GRIS
-X
-axis A D W S A D W S A D W S
-buttons L Return space K 4 5 6 7 Escape
START ORI_FOREST
-X
-axis A D W S A D W S A D W S
-buttons c e space x r Control_L kp_up Shift_L Escape Tab
START THE_SURVIVALISTS
-X
-axis A D W S VoidSymbol Q Pointer_Left Pointer_Right Pointer_Up Pointer_Down VoidSymbol R VoidSymbol VoidSymbol V I
-buttons space Pointer_Button3 Control_L C I I Tab Escape
# joy2key -config TREASURE_OF_NADIA "Treasure of Nadia"
START TREASURE_OF_NADIA
-X
-axis Left Right Up Down Clear Clear Clear Clear Clear Clear Clear Clear Left Right Up Down
-buttons Return Escape 2 3 4 5 6 7 8
@ildar-ceo
Copy link
Author

ildar-ceo commented Jun 4, 2020

Test gamepad

jstest /dev/input/js0

Get windows name:

obxprop | grep "^_OB_APP"

Run GRIS:

joy2key -config GRIS "GRIS" > /dev/null

Run Ori And The Blind Forest:

joy2key -config ORI_FOREST "Ori And The Blind Forest: Definitive Edition" > /dev/null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment