Skip to content

Instantly share code, notes, and snippets.

@spamwax
Created January 20, 2019 02:56
Show Gist options
  • Save spamwax/4b401deb130fb501307b9cdda5654948 to your computer and use it in GitHub Desktop.
Save spamwax/4b401deb130fb501307b9cdda5654948 to your computer and use it in GitHub Desktop.
[2019-01-19 21:55] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140605406686816)), 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:55] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140605406686816)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 34, state: Pressed, virtual_keycode: Some(I), modifiers: ModifiersState { shift: false, ctrl: false, alt: true, logo: false } } } }
[2019-01-19 21:55] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140605406686816)), event: KeyboardInput { device_id: DeviceId(DeviceId), input: KeyboardInput { scancode: 34, state: Released, virtual_keycode: Some(I), modifiers: ModifiersState { shift: false, ctrl: false, alt: true, logo: false } } } }
[2019-01-19 21:55] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140605406686816)), 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:55] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140605406686816)), 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:55] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140605406686816)), event: ReceivedCharacter('ˆ') }
RECEIVED COUNT: 0
ALT SEND ESC: true
UTF8 LEN: 2
ALT: false
WRITING ˆ
[2019-01-19 21:55] [INFO] glutin event: WindowEvent { window_id: WindowId(Id(140605406686816)), event: ReceivedCharacter('b') }
RECEIVED COUNT: 1
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