1.9
Public Member Functions | List of all members
InputTslib Class Reference

Handles reading input from a tslib supported device. More...

Inheritance diagram for InputTslib:
Inheritance graph
[legend]

Public Member Functions

 InputTslib (Application &app, const std::string &path)
 
 ~InputTslib () noexcept override
 
- Public Member Functions inherited from Input
 Input ()
 
 Input (const Input &)=delete
 
 Input (Input &&) noexcept
 
virtual ~Input () noexcept
 
Inputoperator= (const Input &)=delete
 
Inputoperator= (Input &&) noexcept
 

Additional Inherited Members

- Static Public Member Functions inherited from Input
static Objectglobal_input ()
 Get a reference to the global input Object. More...
 
- Protected Member Functions inherited from Input
virtual void dispatch (Event &event)
 Dispatch an event from this input. More...
 
- Protected Attributes inherited from Input
bool m_dispatching {false}
 Currently dispatching an event when true. More...
 
std::unique_ptr< detail::MouseGesturem_mouse
 The mouse gesture handler for this input. More...
 
- Static Protected Attributes inherited from Input
static Object m_global_handler
 This is the single global input handler. More...
 

Detailed Description

Handles reading input from a tslib supported device.

Constructor & Destructor Documentation

◆ InputTslib()

InputTslib ( Application app,
const std::string &  path 
)
explicit
Exceptions
std::runtime_errorif unable to open device.

◆ ~InputTslib()

~InputTslib ( )
overridenoexcept