Hello. I have a problem with dualshock 4(PS4 controller).
My dualshock 4 works perfectly when I connect it through USB(After I added a keylayout file into system/usr/keylayout).
But when I connect it through bluetooth, it doesn't work at all.
It pairs, but there is no input signal. In the bluetooth setting, I can see "Wireless Controller" is paired.
And the controller stops blinking and displays a slightly blue light when it is paired.
But no button or analog stick respond after it is paired.
First I thought it's a mapping issue so I tried to an app called "external keyboard helper" to check the input signal but it couldn't detect any input signal.
And when I use a command 'cat /proc/bus/input/devices' in the terminal emulator(after pairing),
I cannot find my dualshock 4 in /proc/bus/input/devices. (Does it mean that the OS can't recognize the controller as an input device?)
I can use my bluetooth mouse, so the bluetooth is working.
I checked "use for input device" in the bluetooth setting and I tried forgetting & pairing again, rebooting, resetting the controller, and reinstalling Android x86.
But none of them worked.
And after I tried some versions of android x86, I found out that this issue doesn't exist in kernel 4.9.
(I can use dualshock 4 through bluetooth and find it in /proc/bus/input/devices, in kernel 4.9)
But I want to use higher kernel version(for example 4.18)
because the auto-rotation doesn't work with my device in kernel 4.9 and wifi seems more stable in higher kernel version.
So, how can I fix this problem? I want to use my controller through bluetooth with the latest kernel if possible.
I'm using surface pro 3 i5 model and dualshock 4 v2.
8. Phoenix OS 3.0.7 ROC mod (kernel 4.13.5)
Sorry for my bad English.