# Wayland configuration for MageDok 7" touchscreen display # Used by Cage Wayland compositor for lightweight kiosk mode # Replaces X11 xorg-magedok.conf (used in Issue #369 legacy mode) # Monitor configuration [output "HDMI-1"] # Native MageDok resolution mode=1024x600@60 # Position (primary display) position=0,0 # Scaling (no scaling needed, 1024x600 is native) scale=1 # Touchscreen input configuration [input "magedok-touch"] # Calibration not needed for HID devices (driver-handled) # Event device will be /dev/input/event* matching USB VID:PID # Udev rule creates symlink: /dev/magedok-touch # Performance tuning for Orin Nano [performance] # Wayland buffer swaps (minimize latency) immediate-mode-rendering=false # Double-buffering for smooth animation buffer-count=2 # Notes: # - Cage handles Wayland protocol natively # - No X11 server needed (saves ~100MB RAM vs Xvfb) # - Touch input passes through kernel HID layer # - Resolution scaling handled by Chromium/browser