Skip to content

Instantly share code, notes, and snippets.

@spamwax
Created January 20, 2019 02:57
Show Gist options
  • Save spamwax/aad57ee4c8008a81d391b68de3d67f51 to your computer and use it in GitHub Desktop.
Save spamwax/aad57ee4c8008a81d391b68de3d67f51 to your computer and use it in GitHub Desktop.
[2019-01-19 21:57] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140532584164112)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 58, state: Pressed, virtual_keycode: Some(LAlt), modifiers: ModifiersState { shift: false, ctrl: false, alt: true, logo: false } } } }
[2019-01-19 21:57] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140532584164112)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 3, state: Pressed, virtual_keycode: Some(F), modifiers: ModifiersState { shift: false, ctrl: false, alt: true, logo: false } } } }
[2019-01-19 21:57] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140532584164112)), event: ReceivedCharacter('ƒ') }
RECEIVED COUNT: 0
ALT SEND ESC: true
UTF8 LEN: 2
ALT: true
WRITING ƒ
[2019-01-19 21:57] [INFO] glutin event: Awakened
[2019-01-19 21:57] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140532584164112)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 3, state: Released, virtual_keycode: Some(F), modifiers: ModifiersState { shift: false, ctrl: false, alt: true, logo: false } } } }
[2019-01-19 21:57] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140532584164112)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 58, state: Released, virtual_keycode: Some(LAlt), modifiers: ModifiersState { shift: false, ctrl: false, alt: false, logo: false } } } }
[2019-01-19 21:57] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140532584164112)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 11, state: Pressed, virtual_keycode: Some(B), modifiers: ModifiersState { shift: false, ctrl: false, alt: false, logo: false } } } }
[2019-01-19 21:57] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140532584164112)), event: ReceivedCharacter('b') }
RECEIVED COUNT: 0
ALT SEND ESC: true
UTF8 LEN: 1
ALT: false
WRITING b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment