How to detect left/right shift keys?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DodiTheGreat

How to detect left/right shift keys on keyboard? Scancode is 16777237 on the left and also on the right shift key. Is there any way to separately detect them?

:bust_in_silhouette: Reply From: Siandfrance

I don’t think that this is possible since there is no distinction between the two in the KeyList (they are both KEY_SHIFT).

Indeed, this isn’t supported yet. See Add Modifier keys left/right support · Issue #3347 · godotengine/godot · GitHub.

Calinou | 2020-07-16 10:05