Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.85 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.85 KB

Onscreen HID

Fully customizable onscreen keyboard and touchpad app written in python and HTML.

Features

  • customizable UI written in HTML
  • full hardware-like keyboard
  • touchpad with basic gestures (tap, double tap, scolling, right click)
  • option to override system keyboard layout

Installation

Configuration

there are 3 places where you can edit something

  • oshid.py - variables on the begining
  • ui.html = UI file There are some CSS variables to make basic customization easier. If you want custom UI you can build your own (just use same ids and callbacks - window.pywebview.api.key_down(<id>); window.pywebview.api.key_up(<id>);).
  • keys.csv = layout/key mapping file

Known bugs and limitations

  • touchpad doesnt work on all systems (some treat touch as mouse so the mouse pointer gets placed to the touch location)
  • dead keys arent currently supported in custom layout mode (as workaround use Unicode combining diacritical marks (U+0301 - U+036F))
  • touchpad doesnt support zooming since its not mouse feature

TODOs

  • settings GUI
  • monitoring caps/num/scroll lock
  • dead keys
  • handwriting/speech to text
  • act as bluetooth/USB HID device (Linux)
  • apply layout to hardware keyboard (Windows -> export to *.klc; Linux -> export to ???)