While going through the included Construct 3 example projects for fun recently. I discovered a 3rd party example called "Keyboard Mapping". To get straight to the point. I think it should be reworked because it's not very accurate.
Issues:
- Doesn't take into account the side of a key (e.g. CTRL, ALT, SHIFT and META)
- Doesn't store/return the correct typed key (e.g. "ä, ö, ü" or similar keys)
Dealing with keyboard inputs is quite a challenge in general since there is no easy way to return the keycode from a typed key but there are ways these issues could be solved in an update. Here are suggestions on how I did it personally.
Update suggestions:
- Store keycodes and typed keys together (Example: "222;Ä")
- Use typed key visually and keycode mechanically
- Manually detect and store special key sides (Example: "L-17;Left Control")
As a side note. Big thanks to Viridino Studios for providing these examples!