InputQuery.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "InputSystem.hpp"
4 
5 namespace iv
6 {
7 
8 class InputQuery
9 {
10 public:
11  InputQuery( iv::Instance * inst );
12  iv::Instance * instance() const;
13 
14  int2 input_position( Input::Key key, int device_id );
15  float input_value( Input::Key key, int device_id );
16  unsigned input_character();
17 
18 private:
19  Instance * inst;
20  InputSystem * is;
21 };
22 
23 }