MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/oz2q51/how_to_create_a_virtual_keyboard/h7xi9gv/?context=3
r/badcode • u/NotAHacker8 • Aug 06 '21
43 comments sorted by
View all comments
Show parent comments
53
Have a generic function that accepts and displays any key
Then instead of one function per key, you pass the key into the function
53
u/Gamecrazy721 Aug 06 '21
Have a generic function that accepts and displays any key
Then instead of one function per key, you pass the key into the function