Skip to main content

Touch/pointer input for Raspberry Pi and embedded Linux: evdev touchscreen (or mouse) -> normalized screen-pixel events

Project description

drm_touch

Low-level touch input for the drm-stack — the input twin of drm_display. Reads touchscreens directly from the Linux evdev subsystem (/dev/input/eventN), with no X11, Wayland, or display server, and emits normalized screen-pixel touch events.

Python package: drm_touch (design stage — see outline.md).

drm_touch ──(x,y,phase)──▶ app ──hit_test()──▶ drm_screen
                            └──── submit(feedback) ──▶ drm_screen ─▶ drm_display
  • Standardized transport: evdev + kernel multitouch protocol (no server needed)
  • Normalizes raw device units → screen pixels (the one coordinate boundary)
  • The app is in control: events go to the app, which queries drm_screen's hit_test() and submits feedback — drm_screen holds no callbacks or app logic
  • MVP scope: mouse-like tap / press / release / drag (single touch)

Part of the drm_stack.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drm_touch-0.1.0.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drm_touch-0.1.0-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file drm_touch-0.1.0.tar.gz.

File metadata

  • Download URL: drm_touch-0.1.0.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for drm_touch-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3e03fea8dd0aebb3097c68401e395d77485655908e8fac849047879d7b8fb583
MD5 323f9686539441c753c2ec0ae33977b4
BLAKE2b-256 54476de8fc54092c24b32b0c36f442fd4af57ae334a746585bcec97879777aaa

See more details on using hashes here.

File details

Details for the file drm_touch-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: drm_touch-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for drm_touch-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7782218dc939a8250c43530006c6f3682eb2fcb18bbb3f9e363131b4dd8e5944
MD5 a817e879e2e6a5011bf1a1345b3bae4f
BLAKE2b-256 9bbcacacf7827e0fd98fe6a73ada1881de9ab6c7a493512ef8637976a6ceaf49

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page