Electric1447 / 1Controller

Magisk module which adds proper key mapping for various game controllers.
26 stars 11 forks source link

How to modify the .kl file to support the e-c015-05-4542 (b) xbox 360 controller #4

Open GyroZepelix opened 3 years ago

Electric1447 commented 3 years ago

What is the vendor and product id?

GyroZepelix commented 3 years ago

Its a genuine microsoft controller and i guess the product id is e-c015-05-4542 (b)

Electric1447 commented 3 years ago

This is not a valid pid, a pid is a 4 digit hex code

GyroZepelix commented 3 years ago

I dont have controller currently with me but i do have this https://fccid.io/E-C015-05-4542

GyroZepelix commented 3 years ago

This is not a valid pid, a pid is a 4 digit hex code

i have returned home and have access to the controller, where is the product id located

Electric1447 commented 3 years ago

It is not written on the controller, maybe there is a windows tool to find out

Electric1447 commented 3 years ago

The vendor id should be 045E

GyroZepelix commented 3 years ago

i do have access to linux if there is a way you know of there

GyroZepelix commented 3 years ago

i did find this image image there are multiple IDs but no vendor IDs, maybe they have a diffrent name

Electric1447 commented 3 years ago

image

GyroZepelix commented 3 years ago

image

045E it is

GyroZepelix commented 3 years ago

image looks legit

Electric1447 commented 3 years ago

The module does support this controller https://github.com/Electric1447/1Controller/blob/master/system/usr/keylayout/Vendor_045e_Product_028e.kl

Electric1447 commented 3 years ago

Weird, what is your phone and android version?

GyroZepelix commented 3 years ago

my phone is huawei honor 9 lite and android version is 9. I did accidentaly install magisk as a system app so ill try to redo that, it might be the problem here honestly

GyroZepelix commented 3 years ago

well now the problem is magisk is not allowing the magisk manager to be removed, I might need to reroot my phone

Electric1447 commented 3 years ago

Are you running a Lineage or AOSP based rom?

GyroZepelix commented 3 years ago

Im running the stock rom with magisk recovery. So basicly I extracted the recovery img patched it with magisk and than flashed it

Electric1447 commented 3 years ago

This module does not work on MIUI, so maybe it doesn't work also on EMUI

GyroZepelix commented 3 years ago

Hmmm possibly

On Mon, Aug 2, 2021, 12:04 PM Itai Levin @.***> wrote:

This module does not work on MIUI, so maybe it doesn't work also on EMUI

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Electric1447/1Controller/issues/4#issuecomment-890897229, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLQYOI264ZKSXIV5ODKLIDT2ZURXANCNFSM5A52SDYQ .

GyroZepelix commented 3 years ago

Do you perhaos know the reason why it doesnt work with MIUI? do they store the keylayout files in a difrent directory or?

Electric1447 commented 3 years ago

They broke the keylayout files and they just don't work with them properly

GyroZepelix commented 3 years ago

ah very smart of them, definitely wouldn't be useful if it worked