Android Question NVIDIA SHIELD

bbonilla

Member
Licensed User
Hello all
Does anyone how to access the analog joysticks values on devices like this, I just got my unit and to my surprise I can't find any way of reading all these great features. I would appreciate any help in this matter.
Thank you.
 
Last edited:

barx

Well-Known Member
Licensed User
The button should act as 'keypresses' it's a matter of knowing the keycode, the joysticks I believe return a motionEvent. This may require a new lib. I'm not 100% sure, but I seem to remember a conversation before about using game controllers in b4a. The Shield should act as any other game controller.
 

bbonilla

Member
Licensed User
Thank you, but I understand , I can get the keys to work, I can see the codes. But what I need is the full analog values, I'm developing a robot controller and the shield is the ultimate controller as long as we can access the analog values of both the joysticks and the other two analog levers in the back of the unit. This are the robots that I want to control with the Shield: http://www.roboticsgroup.com/proddetail.asp?prod=RGi-RTR6x6-Z
 
Top