git clone https://git.lucas.co/hou-control.git
python3.11libs/nodegraphhooks.py (536B)
1 import hou
2 from canvaseventtypes import *
3 import nodegraphdisplay as display
4 from hc import HCNetworkEditor
5
6
7 def createEventHandler(uievent, pending_actions):
8
9 if isinstance(uievent, MouseEvent):
10 # Ctrl+scroll zoom disabled
11 return None, False
12
13 if isinstance(uievent, KeyboardEvent):
14 # Keyboard events are primarily handled via hc_hotkeys.json and
15 # NetworkViewMenu.xml, but this hook remains for future
16 # context-sensitive overrides.
17 return None, False
18
19 return None, False