-
Notifications
You must be signed in to change notification settings - Fork 11
Eskil Stenberg's Betray #20
Copy link
Copy link
Closed
Labels
Description
Extensible Window API
Divides input into 3 categories
- Pointers (2D coordinates with one or more buttons)
- Axis
- Buttons
From a Pointer, you can read out position, delta position and the last position of the primary click.
A button can have a pointer to a Pointer. Buttons show both their current state and the state in the last frame. There is a function betray_button_keyboard which displays a virtual keyboard for platforms that do not have a physical keyboard. This is tied to the Button I guess.
Axis has 1, 2 or 3 dimensions.
- Clipboard support
- Open and save file request
- Basic thread functionality
Reactions are currently unavailable