Event: type of Base Import: import Base Lines 85-96 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=85&end_line=96 import Base # Key is a key, pressed or let go. Text is what the keys typed, after # Shift, Caps Lock, the layout and any input method: never a control # character, so Enter or Backspace come only as Keys. A long input method # commit can come as several Texts. type Event is Data: Key{code: U32, down: Bool} Text{text: String} Mouse{x: U32, y: U32, button: U32, down: Bool} Move{x: U32, y: U32} Look{dx: F32, dy: F32} Scroll{x: U32, y: U32, dx: F32, dy: F32} Close{} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32