yashsingh1/xdaforums huggingface dataset:
[Magisk] KabalLV:
If it doesn't work on my poco f1 miui, should it work on a custom rom like Los 16? Because it doesn't work atm. On pc, my wireless OTG controller works and is recognized as xbox 360 controller. On my phone, the gamepad shows that it is connected but doesn't register any input when tested in emulator or games.
[Magisk] mukulhase:
I'm facing a similar issue. My DS4 controller connects but the input is unresponsive. Not able to do anything on it.
[Magisk] HeinzHarald:
Works perfectly for my Xbox One S type 02ea with Lineage 16 when using bluetooth (latest firmware). But for some reason the same controller over USB is all over the place now. Without the mod everything works over USB except the triggers (without a 02ea kl).

Just thought I'd mention it for the record. My thanks to the devs.
[Magisk] Jerry181:
l wish you guys would bring up Wiimote support. There is currently no good app than can autopair it to a Android 5+ phone or tablet.
[Magisk] Sebastianandrioli2:
Please man add keylayout for sony navigatin controler

Vendor Id 054c

Produc id 042f
[Magisk] Dakkaron:
I made the following keylayout for this cheap Saitek controller. The listing is not from me but I couldn't find any better listing.

Vendor_0f30_Product_0112.kl

# Copyright (C) 2011 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Saitek Controller
#

key 103 DPAD_UP
key 106 DPAD_RIGHT
key 109 DPAD_DOWN
key 105 DPAD_LEFT

key 296 BUTTON_SELECT
key 297 BUTTON_START
key 290 BUTTON_A
key 291 BUTTON_B
key 288 BUTTON_X
key 289 BUTTON_Y
key 292 BUTTON_L1
key 294 BUTTON_R1
key 293 BUTTON_L2
key 295 BUTTON_R2
key 298 BUTTON_THUMBL
key 299 BUTTON_THUMBR

# Left Analog Stick
axis 0x00 X
axis 0x01 Y

# Right Analog Stick
axis 0x05 Z
axis 0x02 RZ

# DPAD
axis 17 HAT_Y
axis 16 HAT_X

If you want to,you can add it.
[Magisk] Electric1447:
Thank you, I will update it when I can
[Magisk] Electric1447:
:good:
[Magisk] Electric1447:
Need too check that, I only have original xbox one s controllers so i never had this problem
[Magisk] Electric1447:
Sorry for not respoding (school), I don't know why your controller isn't detected. I think you should try to connect it to another phone.
[Magisk] joechow05:
Hi Electric1447, please add the key layout file "Vendor_045e_Product_02e3.kl" for the model 1698 Xbox Elite Controller:

https://android.googlesource.com/pl...er/data/keyboards/Vendor_045e_Product_02e3.kl

or

https://github.com/aosp-mirror/plat...er/data/keyboards/Vendor_045e_Product_02e3.kl

Thanks a lot in advance.

XDA News: https://www.xda-developers.com/android-xbox-elite-controller-usb/
[Magisk] EmuMaster58:
Hi, logitech f710 not working with xiaomi mi 6 eu rom 10.4.2 with this module.
[Magisk] Outlaw Dragon:
Has anyone tried 1 Controller with COD: Mobile yet?

Will it work?
[Magisk] Planet Z !!:
I had no luck with cod and an xbox1 controller. Wired and wireless.
[Magisk] Chaos Engine:
I second this request. Support for the Xbox elite controller would be fantastic.
[Magisk] andrewshiyanov:
Good day. I really like this topic and the opportunities that are opening up. Of course, I do not have any of the listed gamepads, but I do not mind getting the right one to get support in the game I need.

In my Russian-speaking community of the game, I left a request to check the method with joystick support, referring to your topic with your permission. But I still do not see the answers to the essence of my question and I just have to ask for help from this community.

Can someone check the performance of this method with the game for War Robots smartphones and give a detailed answer?

This is very important for me, and I, like my community of War Robots, would be very grateful to you!
[Magisk] Schroeder09:
Are key layouts controller and game specific? I tried getting this working on my p2xl about a year ago for a fps called bullet force. I could never get it to work. If I remember right some of the buttons did some actions, but it was not anywhere near being useable. How can I make this module work for an Xbox one s controller on the game bullet force?
[Magisk] cediedc:
hopping this controller would be added soon :)

https://android.googlesource.com/pl...+/94db68e0319b5c81aee0da8312f9638fc33b0727^!/
[Magisk] apoklyps3:
any chance a latency fix could be implemented for v1 dualshock4?

it doesn't seem to be controller itself. if connected using sixaxis controller app, the same v1 ds4 is using a different driver(ds3) and doesn't have any latency issues.

ds4 v2 works without any issues on official MIUI 11 and no root whatsoever( no latency, nothing).

so what's the deal with v1? only the driver used is the problem?
[Magisk] D-Mak:
There are some games that have the buttons changed position. So is there an application that can do that and put them in the right way?

I used to use Sixasis Controller but with Android PIE it doesn't work.
[Magisk] vivekpf:
Miui 11

Will it work on miui 11
[Magisk] Josephdbrewer25:
Any chance of this allowing the Xbox one controller to be used using otg USB??
[Magisk] Planet Z !!:
Not with pie or q aosp based ROMs.

At least I had no luck.
[Magisk] Josephdbrewer25:
Anyway to enable it?
[Magisk] Jerry181:
Can someone make this module fix iCade support, or that should be a seperate module? I got an iCade Core thinking I could pair with my tablet, but the stack disables me from doing so! Not even with the Samsung Galaxy Ace 3 LTE with Jelly Bean works (it brings up bt socket issues on BluezIME).
[Magisk] iH8Ecchi:
Finally a correct keylayout for One S controller on Bluetooth mode. Thanks a lot!
[Magisk] Incrovantilist:
Hoping that the Wii U Pro controller support will be added soon??
[Magisk] Electric1447:
Working on that
[Magisk] ink718:
[MENTION=9178799]Electric1447[/MENTION] thanks for this as a gamer(on pc) =). R u gamer?
[Magisk] mrmcshagbag:
Unable to install as magisk module or with twrp. Downloaded from your GitHub. I'm on Android 9 with magisk 19 installed.
[Magisk] apoklyps3:
not true.

dual shock 4 v2, no issues at all.

dual shock 4 v1, high delay if normal bluetooth connection is used.

using sixaxis app(detected as dualshock 3 controller), no delay at all
[Magisk] EmotionalMuffin:
This doesn't seem to work on Android 10. Has anyone had any luck with Android 10?
[Magisk] joluke:
How do I know I'm buying a dualshock v2? Wanted to buy a controller and don't know how to check that
[Magisk] EmotionalMuffin:
If anyone has problems with their Android not working with otg devices. Once your rooted any of arter97 kernels will make any otg controller work with no modules or anything! It's great! So excited I've been trying to figure this out for a week now.
[Magisk] mrmcshagbag:
Is there a way to manually add the key layouts to Android 9 pie without using the magisk module? Magisk module won't install for me.
[Magisk] XxZedlingxX:
Bluetooth on Dualshock 4 V2 Solid white light

When connected with bluetooth (v2 dualshock 4 on android 10 custom rom) it just shows a solid white light and cant do anything. Any fix would be appreciated ):
[Magisk] elemefaaoo:
Is it compatible with miui 11
[Magisk] cediedc:
Thank you

No delays with Nintendo pro controller! Thanks.:D
[Magisk] elemefaaoo:
Doesn't work on miui 11
[Magisk] JaysonRare:
Hi sir, what is the procedure to connect sony ds3 controller in this module? is it thru bluetooth? and how.
[Magisk] HansKila:
Hello [MENTION=9178799]Electric1447[/MENTION] , im using xbox one s with android pie

the controller keylayout works fine in bluetooth mode but when i used otg usb cable it totally messed up and the trigger buttons are wrong mapped to right analog cause spinning camera in some games

please can you try fix this bug ?
[Magisk] freezoid:
Would love to see steam controller support.

This project would be the only one in the world to make it work with android!
[Magisk] madmax86:
hello can you connect a ps3 controller?

andoid 9 miui 11

I've probably tried everything
[Magisk] GabrielCatalan1311:
Please, can you add support for Xbox 360 Wireless controller with the receiver? That would be awesome!
[Magisk] Golstrider:
Hi. Why it is doesn't work at MIUI 11? (android Q). Are any ways to make it work? I have Xbox360 Wireless gamepad and Xiaomi Mi9T.

I can send you logs of the events at the time I plugged the gamepad to phone to analyze the issues. If you can help me, please send me a Private Message. I'll try to give you all information
[Magisk] UberActivist:
Alright I tested this on my Switch Pro controller with Minecraft on Oxygen OS 10.3.2. Via Bluetooth it works... barely. It's extremely laggy and there's a noticeable drift in the controls that isn't present when it's connected to my switch lite.... and it also seems the ZL and ZR buttons don't trigger anything at all.

Via wired (USB C to USB C cable plugged into my phone directly) Minecraft doesn't see the controller at all.
[Magisk] Crowbro:
Hi,

I have a usb controller. I want to play COD with that but COD only supports bluetooth controllers. Is there any way this module can be modified or a new module can be produced to fool cod into thinking that the connected controller is a bluetooth and not usb?

Any workaround to play cod with a usb controller?

Thank you!
[Magisk] zzahkaboom24:
HI is this module possible of eliminating the little delay thats happening with my xbox one bluetooth controller?
[Magisk] CapAdamT:
I'm pretty sure that delay exists in all controllers when over Bluetooth (I tested with Dualshock 4.1, Dualshock 4, Dualshock 3, Xbox 360 & Xbox One controllers, and received a slight delay with all of them). I'd suggest using an OTG cable/adapter to eliminate this (I tried and it works).

NOTE: I am using an SM-A405FN/DS with L-Speed set to absolute maximum performance running the official Resurrection Remix GSI (based on Android Pie), it may work differently for you.

EDITS: Grammar...
[Magisk] Advanced07:
Could you please add wiimote support?
[Magisk] starboi4eva:
Anyone experienced app closing when three buttons are pressed at the same time with a DS4 controller? My phone is Black Shark 2, i think the phone is the issue. Not a 1controller issue.
[Magisk] Minde4224:
Hi, I'm trying to connect xbox 360 receiver or wired xbox 360 controller to my xiaomi redmi note 9s with LOS 17.1 via otg dongle, but controllers still don't work on emulators or overall. Anyone knows what would solve this?
[Magisk] ird0:
Edit: please delete this. I figured out my own issue.
[Magisk] shivailli23k:
If there were a way to spoof controllers; as I have a PS3 connected thru OTG working fine, but some of these games only allow Xbox360.

Anyone know of a solution?

That old Sixaxis Pair app was golden, before it went to s hi it for whatever reason. It was PERFECT and WIRELESS. might go dig and see if one of my backups has it still. Anyways; gotta fix?
[Magisk] aldohe1:
Can't connect Logitech f310 game pad Galaxy note 5
[Magisk] Tatuck:
Works with stadia controller??
[Magisk] ashu.nift:
Installed this on a One plus 5 on OOS 9.0.11 but still refuses to identify the logitech F710 controller via OTG while every other device gets detected immediately. ALso installed arter97 kernel in hope that it will allow me to use the device but no success there either ! Any pointers pls ?
[Magisk] ashu.nift:
It was a kernel issue. Reflashed my kernel with Lazy Kernel dev X.17 & lo and behold my Logitech F710 connected to OTG made a ding noise on bootup & started working :D
[Magisk] Scytherblack:
Can i use stadia controller for mobile games ??
[Magisk] Eduxki:
Can you make it so ds4 works on Lg g8s thinq? When I connect the ds4 by otg, the buttons are bad mapped, and the right analog doesn't work.

If you need anything to make it compatible I can send you since I'm root.
[Magisk] AkaOtaku:
Hi I have xiaomi mi 9t pro with MIUI 12.0.2 and I just finish rooting my device, I already updated the magisk manager and magisk itself and after installing 1controller (and rebooting system) I can't use my Xbox one controller (the controller he's wired made by PowerA) pls can someone help me?
[Magisk] esclusoilcane1:
It's a great module, could it be a wonderful app?

Is it possible to have it as an apk not a module, would save me a lot of pain trying to install magisk in tv boxes

THANKS
[Magisk] 61zone:
Ipega 9087 issuea

Hey I am having weird problem with rooted phone and Bluetooth controller all together but here goes nothing.

My Poco f1 ran fine with Ipega 9087 controller with no problem whatsoever. But now i've used 2 different custom Ron and rooted my device, the controller doesn't work the way it supposed to be. At first it only recognised analog buttons. Tried Magiskhide then it worked for a while but inconsistently. Then tried 1controller module and problem stayed unless I reboot my phone to disable/enable it again. Yesterday I've removed one language input adding app and it solved the problem. Only to found out now Select & Start button doesn't work anymore and right analog stick stays down always lol. I am getting so paranoid I might go back to unroot just to work the controller.

Can someone please help me with this?
[Magisk] RibeiroLautere:
Hello, how are you? I use Rom Evolution X Android 10 on the Zuk Z2 Plus. I have an original Xbox 360 wired controller, on the device's ZUI Stock the controller worked perfectly, but now on EvolutionX no device command is recognized even if the 1controller file is installed, just the 4 green lights flashing. What can be done so that I can use the control? Detail: using the BT BT Joystick app, the controller is recognized, but I can't use the controller in games, emulators, geforcenow.
[Magisk] babaithegreat:
Hello guys.. New here.. just wanted to know how to use this Module in my phone as XBox 1controller on PC??
[Magisk] omensight:
Hi, thanks for this module, I am trying this module to work on LineageOS 18.04 on Redmi Note 9 Pro (Joyeuse) and it is not working on PPSSPP or any other emulator.

I am using a Xpad controller (Xbox 360 wireless controller with adapter connected via OTG), I don't know what can it be, because my controller works on Steam Link, asking to access the usb port, but it not work with any other app. Thanks in advance.
[Magisk] BlueMan_86:
Please add Gamesir G3W here is info...

id: 11

Name: Xiaoji Gamesir-G3w

Product: Vendor_05ac_Product_055b

# Device name: Xiaoji Gamesir-G3w

# Device id : Vendor_05ac_Product_055b

# key <scancode> <action_button>

# key 304 BUTTON_A

key 304 BUTTON_Y

# key 305 BUTTON_B

key 305 BUTTON_B

# key 306 BUTTON_C

key 306 BUTTON_A

# key 307 BUTTON_X

key 307 BUTTON_X

# key 308 BUTTON_Y

key 308 BUTTON_L1

# key 309 BUTTON_Z

key 309 BUTTON_R1

# key 310 BUTTON_L1

key 310 BUTTON_L2

# key 312 BUTTON_L2

key 312 BUTTON_SELECT

# key 311 BUTTON_R1

key 311 BUTTON_R2

# key 313 BUTTON_R2

key 313 BUTTON_START

# key 316 BUTTON_MODE

key 316 BUTTON_MODE

# key 314 BUTTON_SELECT

key 314 BUTTON_THUMBL

# key 315 BUTTON_START

key 315 BUTTON_THUMBR

# axis <scancode> <axis_name>

axis 0x00 X

axis 0x01 Y

axis 0x0b Z

axis 0x0f HAT_X

axis 0x10 HAT_Y

axis 0x0e RZ

# keyboard

# key <scancode> <action_button>
[Magisk] BlueMan_86:
Xiaomi miui 12 devices have other generic.kl file.. so this will not work.. but you can make it manually to work by modifieng zip file from this module :)
[Magisk] Kylewolf:
Is there any way to run this with magisk 18?
[Magisk] McLarenX:
Can I copy .kl files to my device (Android 9, not root) via adb command? Will it works? Where would I copy them?
[Magisk] Kasnblack:
Could you add support for the PS5 DualSense controller?

I have tested it, and the mappings are the same as for the DualShock 4.

The KL file should be Vendor_054c_Product_0ce6.kl for the DualSense.
[Magisk] Blaivas:
could u add support for ds5 controller its bad mapping on it.
[Magisk] Exedion:
Can teach how please?
[Magisk] voshchronos:
I'm on a Xiaomi Mi Max 2. Tried this module on Havoc OS 2.3 (Pie), Havoc OS 3.8 (Android 10) and in BeastOS (MIUI 12). Still doesn't get DS4 working. The controller connects, with the white light led appearing, but no input is ever read from it at all. Gamepad Tester doesn't show any input at all either. I don't know what to do anymore…

How would one do this, by the way?
[Magisk] centaur31:
Hi,

Im not really sure if this will solve your issue but i haven't seen this mentioned here I am informing everyone.

Are you aware that most controllers have two modes? Well they do and there is usually a button that you have to press and hold or a button combo which let's you switch between Mode: xinput or Mode: Dxinput.

I believe this is the analogue and digital mode. I have used loads of controllers with my phone ie wired, wireless and Bluetooth and have found that some controllers work in Dxinput while some others prefer xinput. You can try the change especially for those who said the analogue stick is stuck in the down position or doesn't work.

Am planning to buy a BT controller for my phone because dongles are a hassle and so are wired connector with otg as you can't charge the phone while using those. I have a Samsung Galaxy Note 10+. If anyone can suggest a controller that's reasonably priced then please tell me.

The Chinese companies have become wise as they saw people buying their controllers and then free eselling them on Amazon for 3 to 4 times of the price that the Chinese got. Now even they have priced the products the same way. The ipega by controller was between 800 - 1200 INR which means less than $11 to 16 approx a couple of years ago and the gamesir G4s was INR 2500 ($1= INR 75.00 roughly) but now I see seller's asking for INR 4000 - 6500 for the same.

That's quite a bit, I hope this helps. Ciao
[Magisk] centaur31:
Hi,

This module is for letting you use the controller you have on the phone to play on the phone. I don't understand how you got the PC in this discussion? The forum is for Phones and tablets mostly as well as related stuff.
[Magisk] centaur31:
I have a request for the op or the module developers. Is there anyway to use the Moga Pocket with this module?

MOGA released their controllers with much fanfare as they took their name from Mobile Gaming Anywhere but they had their proprietary software and that is nowhere to be found and if I happen to find it, it doesn't work on Pie or Q.

I'm pretty comfortable in following instructions so don't mind if someone could tell me what to do it or point me in the right direction.

Thanks, wish everyone on XDA a very happy new year. Ciao
[Magisk] deathbreath2010:
Hi. I'm trying to get my Xbox Controller working on Miui 12. I guess Miui is not supported by this module. Is it possible to replace files manually? On my ZUK Z2, my Xbox One Controller was working but on my Redmi K30 Pro only some buttons are working.

Thanks anyways.

Edit: Got it fixed by switching to xiaomi.eu weekly

Cheers
[Magisk] pet.ddrextreme:
not installed on magisk module
[Magisk] loopypalm:
how to install as SYSTEM files and not as magisk module ?
[Magisk] partridge79:
Well obv you will need root permissions in your devices "system/usr/keylayout" folder and copy all the files from this (extracted) modules "system/usr keylayout folder to the same in your device. But if your not rooted there may be a way via adb (not my forte' there though lol) but as magisk is the #1 root solution these days (R.I.P.) chainfires su wizardry I would just flash the module as it will do this systemlessly (copy system and redirect to modified system image blahblah) hope this helps a bit ...

Or you could simply add just the functionality bit (.kl file) you need or edit or create your own) with root ofc
[Magisk] loopypalm:
Thx ! i have root (magisk)

just copy files work ? no need to set permissions or something ?
[Magisk] partridge79:
Yes you'll need to grant permissions (0777) should be sufficient (full r/wr/exe "exe might not be necessary) or 0644 been a while sry i would just go with 0777. I used to have to edit things in that folder to swap back and recent buttons when phones had dedicated keys for such (i.e. older galaxies and 1+ phones
[Magisk] loopypalm:
nice thank you ^^

do you have any idea on how to do the same with riru and lsposed ?

i tried copying the files and permission but fail
[Magisk] partridge79:
I dont dont think you can change "frameworks" that way as there usually baked into the FW i.e. ROM hence the need for xposed and what not (above my paygrade there lol)
[Magisk] Spookiss:
I don't understand how to install it
[Magisk] josehdx:
Hello team. I am facing an issuee with the new xbox usb c controller (series x robot white). I have done many things and tests, but, in a nutshell, my controller is not recognized correctly with web applications in android when connected via usb c to the phone. It works fine with such apps (chrome, stadia, gamepass) when connected via bluetooth. when connected to pc via usb and doing test on gamepad test site, results are ok. With native android games and android emulators, also connected via usb, works fine as well. Again, issue is only with web applications and cloud gaming. Is this a mapping or a ROM Issue? Thanks

Edit: i just found that even with native android games the issue persist. There is some mapping/ROM issue but i think this module is not helping on my red magic 5s :(
[Magisk] PMad:
This isn't working on my Oneplus 8 pro. Anyone else get it working on a oneplus 7 or 8?
[Magisk] josehdx:
I have fix my problem

Feel free to add the kl file "Vendor_045e_Product_0b12.kl" for " XBox Series X Controller - Model 1914 - USB" to your magisk module/zip. Thanks!
[Magisk] josehdx:
Here is the file
[Magisk] AusVGM:
Did this ever get full support for the Switch Pro controller? The controller connects but no inputs do anything on my device.
[Magisk] endmjwknj:
just came to say that it might be device dependant. I got a PS3 controller (a generic one) to work normally with android 9 and 10 on 2 devices (wireless) and one of them even at android 11 (but with permissive selinux). On the other hand on a third device even at pie it couldn't work.
[Magisk] CriseekPL:
I have 2 PS3 gamepad and I would like to use them with my Mi 9T on MIUI 12.6 based on Android 11 with Magisk v23. Is it will work with it?
[Magisk] moto1022:
Hello, new poster here.

I'm trying to connect my OnePlus 3T to Dualshock controller. USB & Bluetooth both failed. I'm new to Magisk module. Please help.

Regards.
[Magisk] Chrocca67:
Guys,someone knows If It works with xbox 360 third party wired controller?
[Magisk] LeonGuerrero:
Hello everyone!

I wanted to try using these kl files but I got no keylayout folder in system/usr.

Since my device is not rooted I tried creating the folder via TWRP and putting in the Dualsense kl file but the mappings are still all messed up.

What am I doing wrong?

UPDATE: it seems like the system deletes the folder when I reboot the device...
[Magisk] TheKerevas:
Hello everyone, I would like to know what this module is for. I have a GameSir controller that is recognized and works, on PC it is recognized as Xbox 360 controller and on iPhone as Xbox One. Do I have any changes when installing the module? Can it be useful to me?
[Magisk] _h3ll:
Hello.

Does this module work on Mi 8 (MIUI 12) with Xbox 360 wired controller?

I'd like to know before I install Magisk on my phone.

Thanks!
[Magisk] Feellings:
I installed 1controller by magisk successfully. I saw it into magisk.

Now I have to buy a controller + otg usb, plug in the controller to use, no need to install any software?
[Magisk] Electric1447:
Yes, preferably an Xbox controller
[Magisk] aldohe1:
Does this support's Logitech f310?
[Magisk] aqvyx:
is there any way to increase joystick deadzone to avoid drift?

Also switch pro controller needs edits in the bluetooth config, does not work
[Magisk] Jfyunes:
Does anyone know if support for razer kishi will be added?