RobLoach / raylib-cpp

C++ Object Oriented Wrapper for raylib
https://robloach.github.io/raylib-cpp/
zlib License
669 stars 87 forks source link

Add Keyboard class for handling raylib keyboard related functions #274

Closed swiderskis closed 9 months ago

swiderskis commented 9 months ago

I noticed there are classes defined for handling mouse (Mouse.hpp) and gamepad (Gamepad.hpp) inputs. However, there are also keyboard input functions in raylib that are not defined in raylib-cpp. image I think it would make sense to define these in a Keyboard class. If you agree, would you like me to make a PR for this?

swiderskis commented 9 months ago

Also, perhaps the SetExitKey() function should be added as a method of the Window class?

RobLoach commented 9 months ago

yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas

swiderskis commented 9 months ago

Added in #275