u/Big_Joke_8504

Game Engine Input System

Hi all, I am making a game engine using Monogame. Is there any (simple-ish) way to convert a string to a Key (e.g. "a" = Keys.A)? I have considered creating two functions (one for each direction) that just return the correct things but that seems overly complicated.

EDIT: I solved my issue by just using my own Keys enum and mapping it to monogame keys

reddit.com
u/Big_Joke_8504 — 11 days ago