How saffroncarp1106/otd-touchpad-support works
OTD-TouchPad-Support adds touchpad input to OpenTabletDriver, with absolute-mode mapping and configurable tablet/display areas as its main user workflow. The README also describes device selection and probing on Windows, a debugger that captures device and daemon reports, and experimental Linux support. The graph includes the documented workflow and major OTD runtime layers. Source excerpts are incomplete, so only documented or indexed relationships are connected; several subsystems are shown without speculative wiring.
Main entry points: App.cs Desktop UI · DriverDaemon.cs Driver Daemon · Program.cs Touchpad Probe · Instance.cs Driver Instance
Components 25
Touchpad Support
- Touchpad Probe
tools/TouchpadProbe/Program.cs - Live Probe
tools/diagnostics/live_touchpad.py - Touchpad Info
tools/diagnostics/touchpad_info.py - Rate Viewer
tools/viewer/analyze_rate.py - Touchpad Viewer
tools/viewer/touchpad_viewer.py - Linux Probe
linux/live_touchpad.py
OTD Driver
- Device Detection
upstream/OpenTabletDriver/Driver.cs - Device Configurations
upstream/OpenTabletDriver.Configurations/DeviceConfigurationProvider.cs - Report Parsers
upstream/OpenTabletDriver.Configurations/ReportParserProvider.cs - Output Pipeline
upstream/OpenTabletDriver.Plugin/Output/PipelineManager.cs - Driver Daemon
upstream/OpenTabletDriver.Daemon/DriverDaemon.cs - Driver Instance
upstream/OpenTabletDriver/Instance.cs
Desktop Configuration
- Desktop UI
upstream/OpenTabletDriver.UX/App.cs - Settings
upstream/OpenTabletDriver.Desktop/Settings.cs - Profiles
upstream/OpenTabletDriver.Desktop/Profiles/Profile.cs - Plugin Manager
upstream/OpenTabletDriver.Desktop/Reflection/PluginManager.cs - Plugin Install
upstream/OpenTabletDriver.Desktop/Reflection/DesktopPluginManager.cs
Platform Input
- Windows Interop
upstream/OpenTabletDriver.Native/Windows/Windows.cs - Linux Touchpad
upstream/OpenTabletDriver/Devices/LinuxTouchpad/LinuxTouchpad.cs - Mac Touchpad
upstream/OpenTabletDriver/Devices/AsusTouchpad/MacTouchpad.cs - Logging
upstream/OpenTabletDriver.Plugin/Log.cs - App Paths
upstream/OpenTabletDriver.Desktop/AppInfo.cs - Serialization
upstream/OpenTabletDriver.Desktop/Serialization.cs - Platform Detection
upstream/OpenTabletDriver/Interop/SystemInterop.cs
Other components
- User
Connections 15
- User → Touchpad Probe: runs probe
README.md - User → Touchpad Info: inspects device
README.md - User → Desktop UI: configures mapping
README.md - User → Linux Probe: runs probe
README.md - Touchpad Probe → Mac Touchpad: reads touch data
tools/TouchpadProbe/Program.cs - Desktop UI → Settings: uses settings
upstream/OpenTabletDriver.UX/App.cs - Settings → Profiles: stores profiles
upstream/OpenTabletDriver.Desktop/Settings.cs - Driver Daemon → Device Detection: hosts driver
upstream/OpenTabletDriver.Daemon/Program.cs - Driver Daemon → Device Configurations: registers provider
- Driver Daemon → Report Parsers: registers provider
- Desktop UI → Driver Instance: accesses driver
upstream/OpenTabletDriver.UX/App.cs - Driver Instance → Plugin Install: installs plugins
- Plugin Install → Plugin Manager: loads plugins
upstream/OpenTabletDriver.Desktop/Reflection/DesktopPluginManager.cs - Desktop UI → Windows Interop: uses native APIs
upstream/OpenTabletDriver.UX/App.cs - App Paths → Platform Detection: selects platform paths
upstream/OpenTabletDriver.Desktop/AppInfo.cs