Posts

Showing posts with the label gestures

Plan 9: Multi-touch Touchpad

Image
Multi-touch Gestures (pinch, swipe and rotate) demo. Synopsys DesignWare I²C on Intel LPSS (Alder Lake) The touchpad is connected through the Intel LPSS (Low Power Subsystem) I²C controller, which uses Synopsys DesignWare I²C IP. The following output demonstrates touch events being decoded and generated in userspace. n indicates the number of fingers reported by the touchpad. touch conf 1 tip 1 id 0 x 1377 y 1129 scan 13523 n 1 btn 0 touch conf 1 tip 1 id 0 x 1377 y 1129 scan 13691 n 1 btn 0 touch conf 1 tip 1 id 0 x 1377 y 1129 scan 14675 n 1 btn 0 touch conf 1 tip 1 id 0 x 1378 y 1129 scan 15659 n 1 btn 0 touch conf 1 tip 1 id 0 x 1381 y 1130 scan 16643 n 1 btn 0 touch conf 1 tip 1 id 0 x 1383 y 1131 scan 17627 n 1 btn 0 touch conf 1 tip 1 id 0 x 1386 y 1132 scan 18611 n 1 btn 0 touch conf 1 tip 0 id 0 x 1386 y 1132 scan 19599 n 1 btn 0 touch conf 1 tip 1 id 0 x 1580 y 1192 scan 34460 n 2 btn 0 touch conf 1 tip 1 id 0 x 1580 y 1192 scan 35343 n 2 btn 0 touch conf 1 tip 1 id 0...

GNU Emacs Gestures

Image
 Use multi-touch gestures in GNU Emacs.   - Install touchegg https://github.com/JoseExposito/touchegg - Create a copy of touchegg.conf $ mkdir -p ~/.config/touchegg && cp -n /usr/share/touchegg/touchegg.conf ~/.config/touchegg/touchegg.conf   - Add a section for Emacs (pinch to zoom) before closing <touchegg> tag.    <application name="Emacs">     <gesture type="PINCH" fingers="2" direction="IN">       <action type="SEND_KEYS">         <repeat>true</repeat>         <modifiers>Control_L</modifiers>         <keys>x+KP_Subtract</keys>         <decreaseKeys>KP_Add</decreaseKeys>       </action>     </gesture>     <gesture type="PINCH" fingers...