Ask coding questions

← Back to all posts
How do I detect if a key or word is typed?
mcconnorea

I'm making a project with a vending machine and I need to check when a key or multiple keys are pressed. It's due tomorrow so please help.

Voters
mcconnorea
Comments
hotnewtop
VulcanWM

What language?
If Python then you can use this: https://pypi.org/project/getkey/

JustCoding123

@VulcanWM I think he means pressing keys on his keyboard

VulcanWM

oh my bad changed the link @JustCoding123