inputtype::button renamed to inputtype::mouse

This commit is contained in:
MihailRis
2023-11-20 06:39:42 +03:00
parent 3eb6e82631
commit e04abe79d8
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ void Events::pullEvents(){
bool newstate = false;
switch (binding.type) {
case inputtype::keyboard: newstate = pressed(binding.code); break;
case inputtype::button: newstate = clicked(binding.code); break;
case inputtype::mouse: newstate = clicked(binding.code); break;
}
if (newstate) {