mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-31 21:52:59 +00:00
- We send special packets for key and mouse events, which are then processed by the container's InputState. - InputState keeps track of currently held keys and mouse buttons. - When closing the container, we queue key_up/mouse_up events for any pending buttons.