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

Handles populating and reading input events from libinput. More...

Inheritance diagram for InputLibInput:
Inheritance graph
[legend]

Public Member Functions

 InputLibInput (Application &app, const std::filesystem::path &device={})
 
 ~InputLibInput () 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 populating and reading input events from libinput.

Constructor & Destructor Documentation

◆ InputLibInput()

InputLibInput ( Application app,
const std::filesystem::path &  device = {} 
)
explicit
Exceptions
std::runtime_errorif unable to open device.

◆ ~InputLibInput()

~InputLibInput ( )
overridenoexcept