ayaports/user/rm-utils/xorg.conf

62 lines
1.3 KiB
Xorg

Section "ServerLayout"
Identifier "reMarkable Tablet RM100"
Screen 0 "Screen0"
InputDevice "wacom" "CorePointer"
EndSection
Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
Section "Monitor"
Identifier "Monitor0"
DisplaySize 210 158 # mm, sets DPI
Modeline "1872x1404_30.00" 104.26 1872 1960 2152 2432 1404 1405 \
1408 1429 -HSync +Vsync
Option "PreferredMode" "1872x1404_30.00"
EndSection
Section "Screen"
Identifier "Screen0"
Monitor "Monitor0"
Device "epdc0"
DefaultDepth 16
SubSectionSub "Display"
Depth 16
Modes "1872x1404_30.00"
EndSubSection
EndSection
Section "Device"
Identifier "epdc0"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
Option "Rotate" "CW"
EndSection
Section "InputDevice"
Identifier "wacom"
Driver "evdev"
Option "Protocol" "Auto"
Option "Device" "/dev/input/event0"
Option "SwapAxes" "1"
Option "InvertY" "1"
EndSection
Section "InputClass"
Identifier "touchscreen"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event1"
Driver "libinput"
Option "CalibrationMatrix" "-1 0 1 0 -1 1 0 0 1" # Rot 180
EndSection
Section "InputClass"
Identifier "facialbuttons"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event2"
Driver "libinput"
EndSection