4 Commits

Author SHA1 Message Date
dbr
165ccc8043 cargo fmt 2021-03-12 12:50:28 +11:00
dbr
738081b14b Remove direct winit dependency from example
Having a requirement on `winit = "..."` complicates testing the examples against various winit versions
2021-03-12 12:05:50 +11:00
dbr
8e27d386d5 Fix 'use' for VirtualKeyCode 2021-03-09 22:14:42 +11:00
dbr
879b9d35af Add back "_index" versions of all the keyboard related methods
Allows accessing the state of any key defined by the IO backend, not just those neatly listed in imgui::Key

Closes #455
2021-03-09 19:53:14 +11:00