[MODULE] 1Controller | 1 Module to support all game controllers.

Search This thread

Electric1447

Senior Member
May 23, 2018
203
108
19
Israel
OnePlus 8 Pro
CODzG0F.png



Intro:
This module adds .kl file (keylayout) for Dualshock 4, Xbox One/S, Xbox 360.


Compatibility:
  • DualShock 2
  • DualShock 3
  • DualShock 4
  • DualSense
  • Xbox 360
  • Xbox One
  • Xbox One S
  • Xbox Series X|S
  • Switch Pro Controller ??? (not tested yet)
  • Nacon REVOLUTION PRO CONTROLLER
  • Zeemote SteelSeries FREE



Known Issues:
  • High delay when Dualshock 4 with Bluetooth (Seems to be a problem with the controller itself).
  • Doesn't work on MIUI 10 devices.

TODO:

  • Add support for Dualshock 3 ADDED!
  • Add support for Switch Pro Controller ADDED!
  • Add support for Switch Joycons
  • Add support for Steam Controller
  • Add support for Wii U Pro Controller


Downloads:
Github | Official Magisk repo


Credits:
@topjohnwu for Magisk
@JaqFb for his DS4 keylayouts
@KeiranGinge for helping with DS4 mappings
djsmax for many many fixes and changes.
Black-Seraph for Pro Controller Keylayout from CleanRom (GPD XD+).
MattMasc for DualShock 2 Keylayout.


Changelog:
  • 1.0: Initial release
  • 1.1: Added Dualshock 3 support
  • 1.2: Fixed some DS4 mappings.
  • 1.2.1: Updated to Magisk v19 template.
  • 1.3.0: Merged djsmax changes.
  • 1.4: Added Switch Pro Controller Support ???.
  • 1.4.1: Added Xbox 360 Controller (vid_045e&pid_028e) support.
  • 1.4.2: Added Nacon REVOLUTION PRO CONTROLLER. (Moe-Baker)
  • 1.4.3: Updated to Magisk v20 template.
  • 1.5.0: Added support for DualSense and Zeemote SteelSeries FREE controllers.
  • 1.5.1: Added support for DualShock 2.
  • 1.5.2: Added support for Xbox Series X|S
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Adding the bindings seems easy, I've done before, but i haven't figure out how to make it work a controller that connects but doesn't register any buttons inputs. (currently experiencing this with the switch pro controller).
    Do you have access to a computer running Linux (even in live mode)? If yes, you can connect the controller to the computer, run the command "cat /proc/bus/input/devices" and get the values of the Vendor/Product/Handlers event number and then use evtest (you will need to install it with "sudo apt install evtest" first) to get the code of all the buttons and axes with the command "evtest /dev/input/eventNUMBER". So you can create the keylayout with all the necessary information. Note that the values of the axes are given in decimals but in the keylayout it is necessary to put them in two-digit hexadecimal, so for example for axis 10 reported by evtest you must put in the keylayout as 0x0a.
  • 41
    CODzG0F.png



    Intro:
    This module adds .kl file (keylayout) for Dualshock 4, Xbox One/S, Xbox 360.


    Compatibility:
    • DualShock 2
    • DualShock 3
    • DualShock 4
    • DualSense
    • Xbox 360
    • Xbox One
    • Xbox One S
    • Xbox Series X|S
    • Switch Pro Controller ??? (not tested yet)
    • Nacon REVOLUTION PRO CONTROLLER
    • Zeemote SteelSeries FREE



    Known Issues:
    • High delay when Dualshock 4 with Bluetooth (Seems to be a problem with the controller itself).
    • Doesn't work on MIUI 10 devices.

    TODO:

    • Add support for Dualshock 3 ADDED!
    • Add support for Switch Pro Controller ADDED!
    • Add support for Switch Joycons
    • Add support for Steam Controller
    • Add support for Wii U Pro Controller


    Downloads:
    Github | Official Magisk repo


    Credits:
    @topjohnwu for Magisk
    @JaqFb for his DS4 keylayouts
    @KeiranGinge for helping with DS4 mappings
    djsmax for many many fixes and changes.
    Black-Seraph for Pro Controller Keylayout from CleanRom (GPD XD+).
    MattMasc for DualShock 2 Keylayout.


    Changelog:
    • 1.0: Initial release
    • 1.1: Added Dualshock 3 support
    • 1.2: Fixed some DS4 mappings.
    • 1.2.1: Updated to Magisk v19 template.
    • 1.3.0: Merged djsmax changes.
    • 1.4: Added Switch Pro Controller Support ???.
    • 1.4.1: Added Xbox 360 Controller (vid_045e&pid_028e) support.
    • 1.4.2: Added Nacon REVOLUTION PRO CONTROLLER. (Moe-Baker)
    • 1.4.3: Updated to Magisk v20 template.
    • 1.5.0: Added support for DualSense and Zeemote SteelSeries FREE controllers.
    • 1.5.1: Added support for DualShock 2.
    • 1.5.2: Added support for Xbox Series X|S
    2
    I have the perfect patch to fix any controller latency, but I think it might be device specific unfortunately.
    1
    i was hoping something like this would come. a AIO controller package.

    thanks!
    1
    Supports dualshock 3 when it arrives??

    Not currently, has I don't have access to dualshock 3 :(
    I'll try to get one soon and update it :)