ComfyUI-Touchpad-Gestures
★ 2
触控板手势平移与缩放笔记本友好ComfyUI插件
为 ComfyUI 增加触控板/触摸板的平移与缩放手势,提升笔记本上界面交互与操作便捷性。
💡 在笔记本上用触控板进行画布缩放与平移。
🍴 2 Forks💻 JavaScript🔄 2025-02-03
https://pan.quark.cn/s/9d76119b2ef2
📄 README
ComfyUI extension
Touchpad and trackpad support
Fixes the annoying trackpad zooming in ComfyUI
Implements
Touchpad gestures
Two-finger touchpad swiping to pan in all directions
Two-finger pinch to zoom in and out
Optional mouse controls
Pan up and down by scrolling
Pan left and right by holding shift while scrolling
Zoom in and out by holding control while scrolling
Tested with
Browsers
Chrome (133)
Firefox (133) (not yet fully tested in combination with mice)
Hardware
Windows laptop touchpad
MacBook touchpad
Generic Logitech mouse
Apple Mighty Mouse
Apple Magic Mouse
Should in theory work on
MacBooks without multitouch gesture support, so older touchpads like on MacBook 4,1 and below
Touchpads and trackpads without WDF
Installation
Clone this repository into ComfyUI/custom_nodes/
Restart ComfyUI
Reload the UI
Enjoy!
Partially inspired by: https://github.com/subtleGradient/TinkerBot-tech-for-ComfyUI-Touchpad