mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
a314b18515
Scancodes represent a physical key independent of the keyboard's current layout. For example, pressing the key located where 'q' is on a U.S. keyboard will produce the key 'q' and the scancode 'q' when using a U.S. keyboard layout, but when using a French keyboard layout it will produce the key 'a' and the scancode 'q'. Scancodes are useful for creating default controls that have the same physical locations on on all keyboards.