MiCode / MiCode/Xiaomi_Kernel_OpenSource
请将 Nintendo Switch controller force feedback support 配置为y
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 9.9k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
/drivers/hid/Kconfig 中与 Nintendo Joy-Con and Pro Controller 相关的选项有2个
HID_NINTENDO 和 NINTENDO_FF
而 arch/arm64/configs/gki_defconfig 中只有 CONFIG_HID_NINTENDO=y
这虽然支持了 Nintendo Joy-Con and Pro Controller 的按钮等基础功能,但并不支持震动。
应该同时设置 CONFIG_HID_NINTENDO=y、NINTENDO_FF=y 才能支持震动。
可以参考 HID_SONY 和 SONY_FF 这两个配置,它们都在 gki_defconfig 有配置为y,所以 DS4 手柄的震动一切正常。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the Nintendo options in drivers/hid/Kconfig with the entries in arch/arm64/configs/gki_defconfig, using the HID_SONY and SONY_FF settings as a reference. Update the GKI configuration so Nintendo force feedback is enabled alongside HID_NINTENDO, then verify that both requested options are set to y.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100