gen_vkeys.txt 806 B

1234567891011121314151617181920212223242526272829
  1. Touchscreen Virtual Keys Device
  2. Generate virtual keys sysfs entry for Android
  3. Required properties:
  4. - compatible : should be "qcom,gen-vkeys"
  5. - label : name of the touch controller
  6. - qcom,disp-maxx : Maximum x-coordinate of display
  7. - qcom,disp-maxy : Maximum y-coordinate of display
  8. - qcom,panel-maxx : Maximum x-coordinate of touch panel
  9. - qcom,panel-maxy : Maximum y-coordinate of touch panel
  10. - qcom,key-codes : Array of key codes for virtual keys
  11. Optional properties:
  12. - qcom,y-offset : Offset of y-location for virtual keys, default 0
  13. Example:
  14. gen-vkeys {
  15. compatible = "qcom,gen-vkeys";
  16. label = "atmel_mxt_ts";
  17. qcom,disp-maxx = <720>;
  18. qcom,disp-maxy = <1280>;
  19. qcom,panel-maxx = <760>;
  20. qcom,panel-maxy = <1424>;
  21. qcom,key-codes = <158 139 102 217>;
  22. qcom,y-offset = <35>;
  23. };