1. ThomasKK's Avatar
    Hello, i have a problem.

    I'm currently using Galaxy Note5, rooted, Note7/S7Edge ported rom and custom kernel. I've bought a cheap chinese USB gamepad with idea to use it while i wait for my Xbox360 receiver. After a long time of testing and trying to make it work i didn't have any more ideas what could i do and came to ask here.

    In my opinion, the problem is that my joystick has wrongly mapped buttons. It is Ezperanza EG102, PC recognizes it as "Generic USB Joystick" and it works like Playstation's Dualshock controller, so i have to use x360ce for using it with PC. I've checked key input files with root explorer and came up to generic.kl file. Before that i used some 3rd party apps to remap the buttons, i created a specific name_XXXX_name_XXXX.kl file but it doesn't seem to work. I want my joystick to function like a regular Xbox360 controller, but the only buttons games recognize are the D-pad and the left stick (telltale games). But for example when playing dead trigger, the ABXY buttons and both sticks start to work, but i still can't find out why the triggers/bumbers don't!

    I found out that standart xbox360 controller's key file looks like this:
    key 304 BUTTON_A
    key 305 BUTTON_B
    key 306 BUTTON_C
    key 307 BUTTON_X
    key 308 BUTTON_Y
    key 309 BUTTON_Z
    key 310 BUTTON_L1
    key 311 BUTTON_R1
    key 312 BUTTON_L2
    key 313 BUTTON_R2
    key 314 BUTTON_SELECT
    key 315 BUTTON_START
    key 316 BUTTON_MODE
    key 317 BUTTON_THUMBL
    key 318 BUTTON_THUMBR

    The buttons start from the key #304 to #318. I found out that my joystick's keys have numbers from #188 to #199. (I think that is the problem)

    I also tried editing the generic.kl file for these specific buttons and changed the <action> from F18, F19.. etc to BUTTON_Y, BUTTON_X.. etc But after restarting my phone all the buttons stopped working. I couldn't use power/volume up/volume down/home/back/function keys, absolutely none. After some time i managed to restore my changes and everything works fine now, except the gamepad. Are there any other ways i could make my USB joystick work normally just like xbox360 controller with my Note5?
    02-09-2017 09:49 AM
  2. ThomasKK's Avatar
    02-12-2017 12:20 PM
  3. belodion's Avatar

    I'll move this to the Gamers Lounge forum, where hopefully you will get a response.
    02-12-2017 01:09 PM
  4. ThomasKK's Avatar
    Thanks, that would be awesome!
    02-14-2017 04:37 AM

Similar Threads

  1. Replies: 6
    Last Post: 02-10-2017, 01:34 PM
  2. will I be able to pick up AT&T 4G LTE using a Verizon S7?
    By DraftBeer in forum Samsung Galaxy S7
    Replies: 9
    Last Post: 02-09-2017, 05:31 PM
  3. Replies: 3
    Last Post: 02-09-2017, 03:27 PM
  4. Android 7 a voicemail problem
    By gunwharfman in forum OnePlus 3 & 3T
    Replies: 2
    Last Post: 02-09-2017, 02:48 PM
  5. How to unlock Vodafone VFD200 to use any SIM cards?
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 02-09-2017, 06:18 AM