1.8
Public Member Functions | List of all members
InputEvDev Class Reference

Handles reading input events from evdev devices. More...

Inheritance diagram for InputEvDev:
Inheritance graph
[legend]

Public Member Functions

 InputEvDev (Application &app, const std::string &path)
 
 ~InputEvDev () 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 events from evdev devices.

Constructor & Destructor Documentation

◆ InputEvDev()

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

◆ ~InputEvDev()

~InputEvDev ( )
overridenoexcept