rukai,

Winit's overhauled keyboard events had me stumped at first but I've realized they are actually really nice.

Previously logical keys had an enum describing every possible key while physical keys/scancodes were just a u32.
I usually use winit for game dev, and a nice enum sounds way better than a mysterious u32, so long ago I settled on logical keys and never thought about it again.

thread (1/n)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • provamag3
  • everett
  • cisconetworking
  • Leos
  • normalnudes
  • cubers
  • modclub
  • ngwrru68w68
  • tacticalgear
  • megavids
  • anitta
  • tester
  • JUstTest
  • lostlight
  • All magazines