InputBindingQuery.cpp
Go to the documentation of this file.
1 #include "InputBindingQuery.hpp"
2 
3 namespace iv
4 {
5 
7  cm( inst, this, "InputBindingQuery" ),
8  inst( inst ),
9  ies( inst->getSystemContainer()->getSystem< InputBindingSystem >() )
10 {
11 }
12 
14 {
15 }
16 
18 {
19  return this->inst;
20 }
21 
23 {
24  if( !this->ies )
25  return false;
26 
27  return this->ies->IsBound( inputId, device_key.first, device_key.second );
28 }
29 
31 {
32  if( !this->ies )
33  return false;
34 
35  auto result = this->ies->IsHoverBound( inputId, device_key.first, device_key.second );
36  return result;
37 }
38 
39 }