KWin
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
KWin::LibInput::Event Class Reference

#include <events.h>

Inheritance diagram for KWin::LibInput::Event:
KWin::LibInput::GestureEvent KWin::LibInput::KeyEvent KWin::LibInput::PointerEvent KWin::LibInput::SwitchEvent KWin::LibInput::TabletPadButtonEvent KWin::LibInput::TabletPadRingEvent KWin::LibInput::TabletPadStripEvent KWin::LibInput::TabletToolButtonEvent KWin::LibInput::TabletToolEvent KWin::LibInput::TouchEvent

Public Member Functions

virtual ~Event ()
 
libinput_event_type type () const
 
Devicedevice () const
 
libinput_devicenativeDevice () const
 
 operator libinput_event * ()
 
 operator libinput_event * () const
 

Static Public Member Functions

static std::unique_ptr< Eventcreate (libinput_event *event)
 

Protected Member Functions

 Event (libinput_event *event, libinput_event_type type)
 

Detailed Description

Definition at line 22 of file events.h.

Constructor & Destructor Documentation

◆ ~Event()

KWin::LibInput::Event::~Event ( )
virtual

Definition at line 80 of file events.cpp.

◆ Event()

KWin::LibInput::Event::Event ( libinput_event * event,
libinput_event_type type )
protected

Definition at line 73 of file events.cpp.

Member Function Documentation

◆ create()

std::unique_ptr< Event > KWin::LibInput::Event::create ( libinput_event * event)
static

Definition at line 19 of file events.cpp.

◆ device()

Device * KWin::LibInput::Event::device ( ) const

Definition at line 85 of file events.cpp.

◆ nativeDevice()

libinput_device * KWin::LibInput::Event::nativeDevice ( ) const

Definition at line 93 of file events.cpp.

◆ operator libinput_event *() [1/2]

KWin::LibInput::Event::operator libinput_event * ( )
inline

Definition at line 31 of file events.h.

◆ operator libinput_event *() [2/2]

KWin::LibInput::Event::operator libinput_event * ( ) const
inline

Definition at line 35 of file events.h.

◆ type()

libinput_event_type KWin::LibInput::Event::type ( ) const
inline

Definition at line 422 of file events.h.


The documentation for this class was generated from the following files: