GameStick Controller Mapping

Hi Everyone,

As the lucky recipient of a GameStick Dev unit recently I have produced a small utility that returned the native controller setup for this upcoming device and have been given permission to post the details here for all Unity Android developers to make use of. I would assume that it will also (eventually) be in the documentation at En Güvenilir Online Canlı Bahis Siteleri 2024.

1265646--55949--$hmfile_hash_7935a82b.png

Controller
Mapping
Left Analog X ‘X Axis’
Left Analog Y ‘Y Axis’
Left Analog Button joystick button 13
Right Analog X ‘3rd Axis’
Right Analog Y ‘4th Axis’
Right Analog Button joystick button 14
DPad Left/Right ‘5th Axis’ Range: -1/1
DPad Up/Down ‘6th Axis’ Range: -1/1
A Button joystick button 0
B Button joystick button 1
X Button joystick button 3
Y Button joystick button 4
Left Shoulder Button joystick button 6
Right Shoulder Button joystick button 7
Start Button joystick button 11
Home Button joystick button 20
Back Button KeyCode.Escape

Have fun Best Regards,

Mark

Thanks for helping out, wish I had this earlier ! We here at QFI are also very lucky to be apart of the launch for Gamestick !

Not sure if my dev unit is setup wrong, but my A button is actually “joystick button 0” and B is “joystick button 1”

Whoops! My mistake, re-wrote the info out wrong! Sorry…

Corrected in original post!

Thanks for the nudge!

Button 20 cannot be accessed in input manager. Thanks for the list though :slight_smile:

hippocoder,

No problem, hope it helps with getting TOB up and running quicker :wink: strange about Button20 as I have a small apk that shows it being called when pressed : https://dl.dropboxusercontent.com/u/46858914/gamesticktest.apk feel free to download and try it…

Regards,

Mark

It’s just unity’s input manager rejects “joystick button 20” when I try to add it. Glitchy times! But very grateful for the rest of the mappings. TOB’s done and will be heading forth to GS :slight_smile:

Not sure what version you’re running, is fine in latest beta here… But then glitchy times are expected :slight_smile:

Hi Everyone,
I’ve been playing around with my Gamestick Dev Kit and this is how the controller is mapped on the Dev Kit I received.

Name: Type: Input:
Left Stick Horizontal Joystick Axis X Axis
Left Stick Vertical Joystick Axis Y Axis
Left Stick Pressed Key Joystick Button 8
Right Stick Horizontal Joystick Axis 3rd Axis
Right Stick Vertical Joystick Axis 4th Axis
Right Stick Pressed Key Joystick Button 9
DPad Horizontal Joystick Axis 5th Axis
DPad Vertical Joystick Axis 6th Axis
A Button Key Joystick Button 0
B Button Key Joystick Button 1
X Button Key Joystick Button 2
Y Button Key Joystick Button 3
L1 Button Key Joystick Button 4
R1 Button Key Joystick Button 5
Start Button Key Joystick Button 10

This is on Unity 4.3.4f1.

Enjoy :smile: