1# $NetBSD: xorg.conf.640x480-jp,v 1.5 2023/08/08 14:38:44 tsutsui Exp $ 2 3Section "ServerLayout" 4 Identifier "wsfb" 5 Screen 0 "Screen0" 0 0 6 InputDevice "TouchScreen0" "CorePointer" 7 InputDevice "Mouse0" 8 InputDevice "Keyboard0" "CoreKeyboard" 9EndSection 10 11Section "Files" 12# FontPath "/usr/pkg/share/fonts/X11/TTF/" 13EndSection 14 15Section "ServerFlags" 16 # Explicitly prefer keyboard options defined in xorg.conf 17 Option "AutoAddDevices" "false" 18EndSection 19 20Section "InputDevice" 21 Identifier "Keyboard0" 22 Driver "kbd" 23# Option "XkbLayout" "us" 24 Option "XkbLayout" "jp" 25# Option "XkbModel" "foo" 26EndSection 27 28Section "InputDevice" 29 Identifier "TouchScreen0" 30 Driver "ws" 31 32 Option "Device" "/dev/wsmouse0" 33 34 Option "MinX" "0" 35 Option "MaxX" "639" 36# Option "MaxX" "799" 37 38 Option "MinY" "0" 39# Option "MaxY" "239" 40 Option "MaxY" "479" 41 42# Option "Rotate" "CCW" 43EndSection 44 45Section "InputDevice" 46 Identifier "Mouse0" 47 Driver "mouse" 48 Option "Device" "/dev/wsmouse" 49 Option "ZAxisMapping" "4 5" 50EndSection 51 52Section "Device" 53 Identifier "Wsdisplay0" 54 Driver "wsfb" 55 56# Option "Rotate" "CCW" 57EndSection 58 59Section "Monitor" 60 Identifier "Monitor" 61# VendorName "hpc" 62# ModelName "lcd" 63EndSection 64 65Section "Screen" 66 Identifier "Screen0" 67 Device "Wsdisplay0" 68 Monitor "Monitor" 69 70 SubSection "Display" 71 Viewport 0 0 72 Depth 1 73 EndSubSection 74 SubSection "Display" 75 Viewport 0 0 76 Depth 8 77 EndSubSection 78 SubSection "Display" 79 Viewport 0 0 80 Depth 16 81 EndSubSection 82EndSection 83