gopxl / pixel

A hand-crafted 2D game library in Go.
MIT License
242 stars 10 forks source link

Move input state out of backend into pixel core #82

Closed bhperry closed 12 months ago

bhperry commented 1 year ago

Continuing to separate core window functionality from the backend.

This moves the input state storage and handling into its own struct which will be called by backends when input events are detected.