NODKA诺达佳ARM整机

整机项目


屏幕旋转

<h3>1.屏幕旋转</h3> <p>修改 vi /etc/X11/xorg.conf.d/20-modesetting.conf</p> <pre><code class="language-shell">Identifier &amp;quot;eDP-1&amp;quot; (注释1:先xrand检查屏的节点) Option &amp;quot;Rotate&amp;quot; &amp;quot;inverted&amp;quot; (注释2:修改旋转方向,“inverted 180度, normal 默认方向 ,left 逆时针90度 ,right顺时针90度”修改这个的值)</code></pre> <h3>2.触摸旋转</h3> <p>修改 vi /usr/share/X11/xorg.conf.d/40-libinput.conf</p> <pre><code class="language-shell">Section &amp;quot;InputClass&amp;quot; Identifier &amp;quot;libinput touchscreen catchall&amp;quot; Option &amp;quot;CalibrationMatrix&amp;quot; &amp;quot;-1 0 1 0 -1 1 0 0 1&amp;quot; (添加行) MatchIsTouchscreen &amp;quot;on&amp;quot; MatchDevicePath &amp;quot;/dev/input/event*&amp;quot; Driver &amp;quot;libinput&amp;quot; EndSection 注:0°:&amp;quot;1 0 0 0 1 0 0 0 1&amp;quot; (默认方向) 90°:&amp;quot;0 1 0 -1 0 1 0 0 1&amp;quot;(顺时针旋转90度) 180°:&amp;quot;-1 0 1 0 -1 1 0 0 1&amp;quot; (上下颠倒) 270°:&amp;quot;0 -1 1 1 0 0 0 0 1&amp;quot;(逆时针旋转90度)</code></pre>

页面列表

ITEM_HTML