airstruck / luigi

Lovely User Interfaces for Game Inventors
MIT License
113 stars 23 forks source link

Figure out desired default behavior for 'enter' key #10

Closed airstruck closed 8 years ago

airstruck commented 8 years ago

Currently presses the focused widget (has different behavior in text widgets; it will probably change).

Maybe introduce a new attribute that tells a single button (per layout) to catch all 'enter' key presses. If present, pressing 'enter' presses that button, otherwise, it presses the focused widget (space bar always presses the focused widget).

airstruck commented 8 years ago

Or we could just use key = 'return'