Alright, to start off, i’m using android 5.1.1 on a HardKernel Odroid-C2, emulators run great (except psx but that could be the game i’m using). Even goldeneye 007 and perfect dark are playable. BUT i’m having trouble with my controller. My controller is a Teensy 2.0, 23 buttons 1 joystick, but set to 8 analogs (6 of which are locked in the middle) So only the first 2 X/Y analogs do anything.
My problem is… sometimes it works… sometimes it doesn’t. I checked my connections, Android treats the joystick as an easy way to get through the OS pretty easily and treats the buttons all as a screen tap. But Retroarch seems very finicky, Sometimes it’ll use the buttons to work through the menus. sometimes it’ll detect the teensy as a device, and once in a great while it’ll detect it once an emulator has started. but 9/10 times it won’t. OR it’ll detect it prior to starting a core, but once the core has started, it’ll no longer detect it. If it works in the menu, i’ll get into a game, (SMB for snes for example) and it’ll stop working there. Then when i close the core and back in the main menu, it’ll still not work. And i end up having to use the keyboard to get around.
My autoconfig file that i made While the controller worked in the menu is
input_driver = "android"
input_device = "LynxDroid"
input_vendor_id = "5824"
input_product_id = "1157"
input_b_btn = "194"
input_y_btn = "202"
input_select_btn = "192"
input_start_btn = "193"
input_up_btn = "189"
input_down_btn = "190"
input_left_btn = "188"
input_right_btn = "191"
input_a_btn = "195"
input_x_btn = "199"
input_l_btn = "0"
input_r_btn = "203"
input_l2_btn = "0"
input_l_x_plus_axis = "+0"
input_l_x_minus_axis = "-0"
input_l_y_plus_axis = "+1" input_l_y_minus_axis = "-1"
I don’t know why some of the buttons like, L and L2 are 0, they should be button 17 and button 18, but this could have something to do with it being android.
So if anyone has any clue as to what the cause could be, please let me know. (so far, reicast from their 2016-5-22 build is the only emulator that runs flawlessly. with the controller) Setting up all the buttons to emulate keyboard keys is a partial option, it could break other emulators, so i’d prefer if it was a last resort kind of thing. As some games/emulators will do keyboard keys or gamepad, but not both.
Edit: Found an unusual temporary half-solution. If i unplug the teensy and plug it back in every time it stops working, it’ll sometimes start working again. This won’t be an option once my portable lynxdroid (atari lynx model 2) build is complete. I can’t be switching the thing on and off every time i get a hiccup. it needs to be working ALL the time.
Oh, and i’m using the 6-11 nightly build But it doesn’t really matter what build i use, only problem i’ve been having with the nightly build is sometimes it’ll say it’s not installed. not sure the cause of that, but that’s another issue i’ll deal with later.