glfw: add mouse button IDs

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-07-16 12:20:32 -07:00
parent a5cc868643
commit 3b2f39daaa
4 changed files with 22 additions and 2 deletions

View file

@ -1,6 +1,6 @@
//! Keyboard key IDs.
//!
//! See glfw.SetKeyCallback for how these are used.
//! See glfw.setKeyCallback for how these are used.
//!
//! These key codes are inspired by the _USB HID Usage Tables v1.12_ (p. 53-60), but re-arranged to
//! map to 7-bit ASCII for printable keys (function keys are put in the 256+ range).