Skip to content
Snippets Groups Projects
Commit ae624c33 authored by Vanessa Karolek's avatar Vanessa Karolek
Browse files

[#60][Doc] add missing documentation

... and sorry for the wrong mention of the issue number in my last commit... It seems I got used to the old issue number... ^^;
parent efc9c614
No related branches found
No related tags found
1 merge request!65Resolve "Kamera - Steuerung mittels Controller"
Pipeline #25796 passed
...@@ -61,8 +61,9 @@ namespace vkcv::camera { ...@@ -61,8 +61,9 @@ namespace vkcv::camera {
virtual void mouseButtonCallback(int button, int action, int mods, Camera &camera) = 0; virtual void mouseButtonCallback(int button, int action, int mods, Camera &camera) = 0;
/** /**
* @brief todo * @brief A callback function for gamepad input events.
* @param gamepadIndex * @param gamepadIndex The gamepad index.
* @param camera The camera object.
*/ */
virtual void gamepadCallback(int gamepadIndex, Camera &camera) = 0; virtual void gamepadCallback(int gamepadIndex, Camera &camera) = 0;
}; };
......
...@@ -91,7 +91,9 @@ namespace vkcv::camera { ...@@ -91,7 +91,9 @@ namespace vkcv::camera {
void resizeCallback(int width, int height); void resizeCallback(int width, int height);
/** /**
* @brief TODO * @brief A callback function for gamepad input events. Currently, inputs are handled only for the first
* connected gamepad!
* @param gamepadIndex The gamepad index.
*/ */
void gamepadCallback(int gamepadIndex); void gamepadCallback(int gamepadIndex);
......
...@@ -139,8 +139,9 @@ namespace vkcv::camera { ...@@ -139,8 +139,9 @@ namespace vkcv::camera {
void mouseButtonCallback(int button, int action, int mods, Camera &camera); void mouseButtonCallback(int button, int action, int mods, Camera &camera);
/** /**
* @brief todo * @brief A callback function for gamepad input events.
* @param gamepadIndex * @param gamepadIndex The gamepad index.
* @param camera The camera object.
*/ */
void gamepadCallback(int gamepadIndex, Camera &camera); void gamepadCallback(int gamepadIndex, Camera &camera);
}; };
......
...@@ -96,8 +96,9 @@ namespace vkcv::camera { ...@@ -96,8 +96,9 @@ namespace vkcv::camera {
void mouseButtonCallback(int button, int action, int mods, Camera &camera); void mouseButtonCallback(int button, int action, int mods, Camera &camera);
/** /**
* @brief todo * @brief A callback function for gamepad input events.
* @param gamepadIndex * @param gamepadIndex The gamepad index.
* @param camera The camera object.
*/ */
void gamepadCallback(int gamepadIndex, Camera &camera); void gamepadCallback(int gamepadIndex, Camera &camera);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment