Tasker and Xbox360 controller

145 views
Skip to first unread message

SLotman

unread,
Jan 12, 2015, 9:15:59 AM1/12/15
to tas...@googlegroups.com
So, I was experimenting with Tasker, to create a small front-end for emulators, for a small "android mini-pc" I have (this one: http://www.dx.com/p/at-758-android-4-2-2-quad-core-smart-tv-box-w-4gb-rom-tf-wi-fi-hdmi-rj45-usb-black-319652#.VK5Sg1d-9EY - running android 4.2.2)

I created a simple scene, with a menu, which is populated with the games I can launch, and added in "item tap" the launch app task.

If I'm using the mouse (which is the same as touching a touch screen) everything works. I click on a game's name and the emulator is launched, running the game.

But... once I try the same with my Xbox 360 joystick, I scroll to the game name I want, I press the button to start it, it "blinks" the selected option (the selection bar gets lighter) and nothing happens. The "item tap" is never called. Also tried "Item long tap", to no avail.

If I try doing the same with a button (placing a button on the scene, selecting it with the joypad and pressing the joy-button) it works.

Am I missing something? Do I have to do something so the Menu Element will respond to joypad button click?

Also, the selected element (the one with focus) on screen should always be highlighted - it doesn't happen with buttons.

Sorry for my bad english...

SLotman

unread,
Jan 12, 2015, 9:17:14 AM1/12/15
to tas...@googlegroups.com
I forgot to say, the controller works flawlessly in the OS itself, even within the emulators. Just Tasker that has this strange behaviour.

SLotman

unread,
Jan 12, 2015, 7:03:43 PM1/12/15
to tas...@googlegroups.com
Small update: If I go to the scene properties, KEY event, select KEYCODE_BUTTON_X, and add  a popup, the popup shows when I press the [x] button on the joystick. Which would help...

...if I could get the current selected value from the menu. but %tap_label is empty, since no tap was registered.

And apparently the problem is that the menu doesn't register a keypress event?

I'm thinking that, because using the device's remote control, I get the exact same behaviour as with the joystick...


On Monday, January 12, 2015 at 12:15:59 PM UTC-2, SLotman wrote:
Reply all
Reply to author
Forward
0 new messages