xboxone手柄需要怎么在android设备上工作(召唤linux高手)
对于旧版手柄可以用USB / BT Joystick这个软件对于所有即插即用的手柄
可以找到设备的vid和pid
在/system/usr/keylayout中添加相应的kl文件
那么问题来了 不支持即插即用的带3.5mm耳机接口的新款手柄应该怎么办
在外网看到了这样一个回答
A. Download the Android kernel sources for you device (see instructions https://source.android.com/source/building-kernels.html)
B. In the kernel sources, replace the file xpad.c under /drivers/input/joystick/ with the newest sources from here: https://github.com/paroj/xpad
C. Rebuild the whole kernel and replace your boot image, or just build xpad as a kernel module and load it using insmod from the adb shell
(不太懂linux驱动是怎么一回事 求教一下更具体的过程) 这么复杂啊!帮顶一个 用源代码重新build整个系统,别想了
—— 来自 HUAWEI NXT-AL10, Android 6.0 allenz 发表于 2016-4-7 16:34
用源代码重新build整个系统,别想了
—— 来自 HUAWEI NXT-AL10, Android 6.0
就build一个内核啊。。不过对于没有经验的人也够折腾一壶了
页:
[1]