2025-02-03 01:21:41 +01:00
2024-12-09 00:56:42 +01:00
2024-11-25 22:46:05 +01:00
2024-11-25 22:46:05 +01:00
2024-12-09 00:52:21 +01:00
2025-02-03 01:21:41 +01:00
2024-12-09 00:55:08 +01:00

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

  1. Clone this repository into ComfyUI/custom_nodes/
  2. Restart ComfyUI
  3. Reload the UI
  4. Enjoy!

Partially inspired by: https://github.com/subtleGradient/TinkerBot-tech-for-ComfyUI-Touchpad

S
Description
No description provided
Readme
37 KiB
Languages
JavaScript 81.2%
Python 11.9%
CSS 6.9%