mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
inputtype::button renamed to inputtype::mouse
This commit is contained in:
parent
3eb6e82631
commit
e04abe79d8
4 changed files with 7 additions and 7 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue