osx - Seeking key event library for C++ on Mac -
i'm new c++ programmer moving on java , python. fun first project decided have go @ simple snake game. application has no gui: instead, print state of board console once per second.
what i'm looking way make snake turn arrow keys. thought simple; however, i'm working on mac, , libraries i've found handle mac input events objective-c libraries rather c++ ones.
does know of way capture key input events in c++ on mac?
for console applications ncurses
way go handling key input.
Comments
Post a Comment