Follow

C# game input question:

i know how to do simple hardcoded event driven input (pic). in addition to this, i usually find it useful to be able to do polling based input (i.e. you can ask, at any moment if any key is down or up)

how might one approach this in C# (.net)?

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!