Author Topic: z button is not working with Nvidia Shield  (Read 3820 times)

Offline Pete3k

  • bit
  • Posts: 1
    • View Profile
z button is not working with Nvidia Shield
« on: September 22, 2013, 07:44:57 PM »
I noticed a bug with the z button with the shield. When you press the button nothing happens. However if you use the touch screen and press button on the screen it works.

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: z button is not working with Nvidia Shield
« Reply #1 on: September 22, 2013, 09:37:35 PM »
Did you actually try mapping the buttons?  Settings>Input>Controller
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version

Offline cosmocanyon

  • bit
  • Posts: 1
    • View Profile
Re: z button is not working with Nvidia Shield
« Reply #2 on: September 27, 2013, 10:12:26 AM »
you need to unmap L Z and R, and then remap them.  The triggers will map then.

- Evan

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: z button is not working with Nvidia Shield
« Reply #3 on: September 27, 2013, 12:20:52 PM »
Thanks cosmo. :)

I should create another input profile to make things easier then.

Can someone with a Shield please give me some diagnostic info?  From the button mapping screen, press the options menu and select Controller diagnostics... and tell me what key/axis codes come up for each button/trigger/stick.  Also, if you can tell me what it says for Analog info... in the input mapping screen that would be great.
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version

Offline ricardo85x

  • bit
  • Posts: 4
    • View Profile
Re: z button is not working with Nvidia Shield
« Reply #4 on: September 27, 2013, 02:43:01 PM »
Hi

Follow the infos:

left trigger:  AXIS_LTRIGGER(joystick):+(from 0,00 to 1,00)
right trigger:  AXIS_RTRIGGER(joystick):+(from 0,00 to 1,00)

left analog: AXIS_X(joystick):+(from -1,00 to 1,00)
                 AXIS_Y(joystick):+(from -1,00 to 1,00)


right analog: AXIS_Z(joystick):+(from -1,00 to 1,00)
                 AXIS_RZ(joystick):+(from -1,00 to 1,00)

dpad up = AXIS_HAT_Y(joystick):-1,00
dpad down = AXIS_HAT_Y(joystick):+1,00
dpad right = AXIS_HAT_X(joystick):+1,00
dpad left = AXIS_HAT_X(joystick):-1,00

Buttons:

A: action: DOWN, KEYCODE_BUTTON_A, keycode: 96
B: action: DOWN, KEYCODE_BUTTON_B, keycode: 97
X: action: DOWN, KEYCODE_BUTTON_X, keycode: 99
Y: action: DOWN, KEYCODE_BUTTON_Y, keycode: 100

R: action: DOWN, KEYCODE_BUTTON_R, keycode: 102
L: action: DOWN, KEYCODE_BUTTON_L, keycode: 103

START: action: DOWN, KEYCODE_BUTTON_START, keycode: 108

I hope it is help.

                 

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: z button is not working with Nvidia Shield
« Reply #5 on: September 27, 2013, 03:07:01 PM »
Awesome, thanks!  Two more things, if you don't mind:

1. In the Analog info... from the mapping screen, what does it say for the "signature"?

2. In Settings->Advanced->Device info, what does it say for "Hardware" near the bottom?
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version

Offline ricardo85x

  • bit
  • Posts: 4
    • View Profile
Re: z button is not working with Nvidia Shield
« Reply #6 on: September 27, 2013, 04:41:57 PM »

Hi

1. In the Analog info... from the mapping screen, what does it say for the "signature"?

Device: NVIDIA Corporation NVIDIA
Controller v01.01
Type: Default
Signature: 0,1,11,14,15,16,17,18

.....
...


2. In Settings->Advanced->Device info, what does it say for "Hardware" near the bottom?

....
CPU revision :2

Hardware: roth
Revision: 0002
Serial: XXX
.....
..