Joystick- Smart TV

Monkey Targets Forums/Android/Joystick- Smart TV

matty(Posted 2012) [#1]
Hi all,

Does anyone have any experience of using an android powered Smart TV with a wireless joystick and games written with Monkey?

(I'm using v 45c at present....mainly because I don't want to have to re-download the android sdk again as it is so big...and the dev machine is not connected to the net...)

EDIT - will the standard JOY commands work with Android?


matty(Posted 2012) [#2]
doesn't seem to work...joy commands don't seem to be registered by monkey (v45c in any case) in android.


therevills(Posted 2012) [#3]
Monkey v58 doesnt support Joysticks either...

[monkeycode] float JoyX( int index ){
return 0;
}

float JoyY( int index ){
return 0;
}

float JoyZ( int index ){
return 0;
}[/monkeycode]

And just quickly looking at the Android API, I think USB Joysticks support was added in 3.1:
http://developer.android.com/sdk/android-3.1.html

Do you know what version of Android does the Smart TV run? And what type of wireless does the joystick use?


matty(Posted 2012) [#4]
Ah thanks therevills, our TV is 2.2 but eventually will be upgraded to 4.??

Looks like we'll have to stick with using the remote instead.

from Matt


Rex Rhino(Posted 2012) [#5]
I think that Joysticks only work on XNA, correct? I will test on my Mac when I get home, but I am pretty sure they are XNA only.


Galaxy613(Posted 2012) [#6]
This is something I'll really like to see added. What with the Ouya and other optional gamepads that are becoming available for iPhones/Androids..