bevy/crates/bevy_input/src
Bleb1k 115211161b Added keyboard scan input event (#5495)
# Objective

- I wanted to have controls independent from keyboard layout and found that bevy doesn't have a proper implementation for that

## Solution

- I created a `ScanCode` enum with two hundreds scan codes and updated `keyboard_input_system` to include and update `ResMut<Input<ScanCode>>`
- closes both https://github.com/bevyengine/bevy/issues/2052 and https://github.com/bevyengine/bevy/issues/862

Co-authored-by: Bleb1k <91003089+Bleb1k@users.noreply.github.com>
2022-08-05 04:19:53 +00:00
..
axis.rs Change gamepad.rs tuples to normal structs (#4519) 2022-05-02 13:20:55 +00:00
gamepad.rs Document gamepad.rs (#5548) 2022-08-05 02:28:07 +00:00
input.rs Add Input::reset_all (#5015) 2022-06-20 18:31:46 +00:00
keyboard.rs Added keyboard scan input event (#5495) 2022-08-05 04:19:53 +00:00
lib.rs Added keyboard scan input event (#5495) 2022-08-05 04:19:53 +00:00
mouse.rs Update MouseMotion and CursorMoved docs (#5090) 2022-06-26 13:40:43 +00:00
touch.rs Fix various typos (#5417) 2022-07-21 20:46:54 +00:00