Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

3m0

1
Posts
1
Topics
A member registered Nov 21, 2019

Recent community posts

Hello, I've read the documentation on Sup.Input and found out that I can check which key was pressed, but is there a way to get the key name on Input?

Picture the following scenario for example:

The game has an options menu which allows the player to change the controls. When the player presses a key, the key is saved in local storage.


Is there a way to get the key name without having to compare them one by one?