So I am trying to make an old school rpg game using c++ and sdl. What I'm having trouble finding information on is making menus like attack menus, items, etc. Using only keyboard input. I can find plenty of tutorials of menus using mouse input but I don't want that. Can anyone maybe point me in the right direction? I was thinking maybe I could make an array of the buttons change the point in the array based on key up or down. Does that sound right?
EDIT: Never mind, I found some good source code I'm reading over and learning from should be enough.