Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76e77d1f authored by Harry Cutts's avatar Harry Cutts Committed by Android (Google) Code Review
Browse files

Merge "uinput: fix a couple of errors in the README" into main

parents 753f6096 5a225a16
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -41,10 +41,7 @@ the file, one after the other without separators:
}
```

Many examples of command files can be found [in the CTS tests][cts-example-jsons].

[lenient mode]: https://developer.android.com/reference/android/util/JsonReader#setLenient(boolean)
[cts-example-jsons]: https://cs.android.com/android/platform/superproject/main/+/main:cts/tests/tests/hardware/res/raw/

### Command reference

@@ -123,7 +120,7 @@ Example:
  "pid": 0x2c42,
  "bus": "usb",
  "configuration":[
        {"type":"UI_SET_EVBIT", "data":["EV_KEY", "EV_FF"]},
        {"type":"UI_SET_EVBIT", "data":["EV_KEY", "EV_ABS", "EV_FF"]},
        {"type":"UI_SET_KEYBIT", "data":["KEY_0", "KEY_1", "KEY_2", "KEY_3"]},
        {"type":"UI_SET_ABSBIT", "data":["ABS_Y", "ABS_WHEEL"]},
        {"type":"UI_SET_FFBIT", "data":["FF_RUMBLE"]}