On Sat, Mar 21, 2026 at 8:16 PM Derek J. Clark
[off-list ref] wrote:
Adds an HID driver for OneXPlayer HID configuration devices. There are
currently 2 generations of OneXPlayer HID protocol. The first generation
(OneXPlayer F1 series) only provides an RGB control interface over HID.
The Second generation (X1 mini series, G1 series, AOKZOE A1X) also
includes a hardware level button mapping interface, as well as a
"takeover" mode that was added by the ODM for debugging the button map.
This takeover mode can be useful for exposing the M1 and M2 accessory
buttons as unique inputs with some userspace tools that can consume it.
Signed-off-by: Derel J. Clark <derekjohn.clark@gmail.com>
Derek J. Clark (4):
HID: hid-oxp: Add OneXPlayer configuration driver
HID: hid-oxp: Add Second Generation RGB Control
HID: hid-oxp: Add Second Generation Takeover Mode
HID: hid-oxp: Add Button Mapping Interface
MAINTAINERS | 6 +
drivers/hid/Kconfig | 12 +
drivers/hid/Makefile | 1 +
drivers/hid/hid-ids.h | 6 +
drivers/hid/hid-oxp.c | 1340 +++++++++++++++++++++++++++++++++++++++++
5 files changed, 1365 insertions(+)
create mode 100644 drivers/hid/hid-oxp.c
--
2.53.0
Note to everyone: I forgot to rebase to a clean for-next branch before
sending this so build bots will likely fail. I'll be sure to update
the source branch to the appropriate branch for v2 after a few days to
allow time for comments on the patch substance. Sorry about the extra
churn here.
Thanks,
Derek