- Home /
query keyboard mapping in new input system
Hi !
I am migrating our project to the new InputSystem.
We used KeyCodes to define our shortcuts (Control + A for exemple). Those shortcuts are not layout agnostic, "A" should be the key with an "A" printed on it. I can't seem to find a way to get the KeyControl of the "A" key...
Keyboard.current.FindKeyOnCurrentKeyboardLayout() takes displayNames as Input, which varies between layouts and languages, It will work for single letters but won't for Space or RightControl and the likes...
Is there a way to get the mapping between Keys from the US Layout and Keys from the current layout ? Something like : Key GetCurrentLayoutEquivalent(Key USLayoutKey)
Thanks !
Your answer
Follow this Question
Related Questions
Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers
Single tap / Double tap / Hold button 0 Answers
how can I assign and use different controller schemes for a single keyboard? 0 Answers
Keyboard and Controller Input Not Working in WebGL 1 Answer
Issues with Input.inputString 2 Answers