This repository has been archived by the owner on Nov 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Controllers
Tor (torbuntu) edited this page May 18, 2019
·
3 revisions
Controllers are mapped according to the Data/system.properties
file. It contains values similar to the following:
btn_right=1
btn_up=-1
btn_left=-1
btn_down=1
axis_horizontal=0
axis_vertical=1
btn_lbumper=4
btn_rbumper=5
btn_select=8
btn_start=9
btn_b=2
btn_y=3
btn_a=1
btn_x=0
The main problem with controllers is that every OS seems to want to do things their own way. To get around this, we map the inputs through the Controllers utility program in Leikr.
If you start up the program and see this message, it either means you have no controllers plugged in, or Leikr cannot detect which controller you have.
If you see this, then your controller is ready to be mapped!
Follow the directions by pressing the buttons you'd like to map to each input. You'll see an indicator each button you press:
You can also see the keyboard values (default mapped) by pressing the keys at any time.
up = arrow up
down = arrow down
left = arrow left
right = arrow right
select = '
start = ENTER
B = Z
A = X
Y = A
X = S
Left Bumper = Q
Right Bumper = W