wch,ch9350l (on uart bus)

Description

WinChipHead CH9350L USB HID to UART control chip.
This supports State 0.


&uart0 {
  status = "okay";

    usb_kb {
      compatible = "wch,ch9350l";
      status = "okay";

      kb-codemap = <
        4 INPUT_KEY_Q
        5 INPUT_KEY_B
        6 INPUT_KEY_C
      >;
      mouse-codemap = <
        1 INPUT_BTN_LEFT
        2 INPUT_BTN_RIGHT
        4 INPUT_BTN_MIDDLE
      >;
    };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

kb-codemap

array

Maps a keyboard key code to a input code by pair of 2 when needed.

mouse-codemap

array

Maps a mouse button code to a input code by pair of 2 when needed.