BuGUI
BUtton Grid User Interface
Loading...
Searching...
No Matches
ctrlr_shifter.hpp
1#pragma once
2#include <bugui/concepts/widget.hpp>
3
4namespace bugui
5{
10template <typename T>
12{
15 void on_Shift(auto& p) {};
16};
17
19template <has_Shift T>
21{ };
22
23} // namespace bugui
24
25
Ensures that buttons labeled Shift are registered on press and can be queried with Shift_held,...
Definition ctrlr_shifter.hpp:12
void on_Shift(auto &p)
Empty funciton acting as a workaround, ensuring it is always defined in the controller.
Definition ctrlr_shifter.hpp:15