KWin
Loading...
Searching...
No Matches
Signals | Public Member Functions | Static Public Member Functions | Properties | List of all members
KWin::LibInput::Device Class Reference

#include <device.h>

Inheritance diagram for KWin::LibInput::Device:
KWin::InputDevice

Signals

void tapButtonMapChanged ()
 
void calibrationMatrixChanged ()
 
void orientationChanged ()
 
void outputNameChanged ()
 
void leftHandedChanged ()
 
void disableWhileTypingChanged ()
 
void pointerAccelerationChanged ()
 
void pointerAccelerationProfileChanged ()
 
void enabledChanged ()
 
void tapToClickChanged ()
 
void tapAndDragChanged ()
 
void tapDragLockChanged ()
 
void middleEmulationChanged ()
 
void naturalScrollChanged ()
 
void scrollMethodChanged ()
 
void scrollButtonChanged ()
 
void scrollFactorChanged ()
 
void clickMethodChanged ()
 
void outputAreaChanged ()
 
void mapToWorkspaceChanged ()
 
- Signals inherited from KWin::InputDevice
void keyChanged (quint32 key, InputRedirection::KeyboardKeyState, std::chrono::microseconds time, InputDevice *device)
 
void pointerButtonChanged (quint32 button, InputRedirection::PointerButtonState state, std::chrono::microseconds time, InputDevice *device)
 
void pointerMotionAbsolute (const QPointF &position, std::chrono::microseconds time, InputDevice *device)
 
void pointerMotion (const QPointF &delta, const QPointF &deltaNonAccelerated, std::chrono::microseconds time, InputDevice *device)
 
void pointerAxisChanged (InputRedirection::PointerAxis axis, qreal delta, qint32 deltaV120, InputRedirection::PointerAxisSource source, std::chrono::microseconds time, InputDevice *device)
 
void pointerFrame (InputDevice *device)
 
void touchFrame (InputDevice *device)
 
void touchCanceled (InputDevice *device)
 
void touchDown (qint32 id, const QPointF &absolutePos, std::chrono::microseconds time, InputDevice *device)
 
void touchUp (qint32 id, std::chrono::microseconds time, InputDevice *device)
 
void touchMotion (qint32 id, const QPointF &absolutePos, std::chrono::microseconds time, InputDevice *device)
 
void swipeGestureBegin (int fingerCount, std::chrono::microseconds time, InputDevice *device)
 
void swipeGestureUpdate (const QPointF &delta, std::chrono::microseconds time, InputDevice *device)
 
void swipeGestureEnd (std::chrono::microseconds time, InputDevice *device)
 
void swipeGestureCancelled (std::chrono::microseconds time, InputDevice *device)
 
void pinchGestureBegin (int fingerCount, std::chrono::microseconds time, InputDevice *device)
 
void pinchGestureUpdate (qreal scale, qreal angleDelta, const QPointF &delta, std::chrono::microseconds time, InputDevice *device)
 
void pinchGestureEnd (std::chrono::microseconds time, InputDevice *device)
 
void pinchGestureCancelled (std::chrono::microseconds time, InputDevice *device)
 
void holdGestureBegin (int fingerCount, std::chrono::microseconds time, InputDevice *device)
 
void holdGestureEnd (std::chrono::microseconds time, InputDevice *device)
 
void holdGestureCancelled (std::chrono::microseconds time, InputDevice *device)
 
void switchToggledOn (std::chrono::microseconds time, InputDevice *device)
 
void switchToggledOff (std::chrono::microseconds time, InputDevice *device)
 
void tabletToolEvent (InputRedirection::TabletEventType type, const QPointF &pos, qreal pressure, int xTilt, int yTilt, qreal rotation, bool tipDown, bool tipNear, const TabletToolId &tabletToolId, std::chrono::microseconds time)
 
void tabletToolButtonEvent (uint button, bool isPressed, const TabletToolId &tabletToolId, std::chrono::microseconds time)
 
void tabletPadButtonEvent (uint button, bool isPressed, const TabletPadId &tabletPadId, std::chrono::microseconds time)
 
void tabletPadStripEvent (int number, int position, bool isFinger, const TabletPadId &tabletPadId, std::chrono::microseconds time)
 
void tabletPadRingEvent (int number, int position, bool isFinger, const TabletPadId &tabletPadId, std::chrono::microseconds time)
 

Public Member Functions

 Device (libinput_device *device, QObject *parent=nullptr)
 
 ~Device () override
 
bool isKeyboard () const override
 
bool isAlphaNumericKeyboard () const
 
bool isPointer () const override
 
bool isTouchpad () const override
 
bool isTouch () const override
 
bool isTabletTool () const override
 
bool isTabletPad () const override
 
bool supportsGesture () const
 
QString name () const override
 
QString sysName () const override
 
QString outputName () const override
 
QSizeF size () const
 
quint32 product () const
 
quint32 vendor () const
 
Qt::MouseButtons supportedButtons () const
 
int tapFingerCount () const
 
bool tapToClickEnabledByDefault () const
 
bool isTapToClick () const
 
void setTapToClick (bool set)
 
bool tapAndDragEnabledByDefault () const
 
bool isTapAndDrag () const
 
void setTapAndDrag (bool set)
 
bool tapDragLockEnabledByDefault () const
 
bool isTapDragLock () const
 
void setTapDragLock (bool set)
 
bool supportsDisableWhileTyping () const
 
bool disableWhileTypingEnabledByDefault () const
 
bool supportsPointerAcceleration () const
 
bool supportsLeftHanded () const
 
bool supportsCalibrationMatrix () const
 
bool supportsDisableEvents () const
 
bool supportsDisableEventsOnExternalMouse () const
 
bool supportsMiddleEmulation () const
 
bool supportsNaturalScroll () const
 
bool supportsScrollTwoFinger () const
 
bool supportsScrollEdge () const
 
bool supportsScrollOnButtonDown () const
 
bool leftHandedEnabledByDefault () const
 
bool middleEmulationEnabledByDefault () const
 
bool naturalScrollEnabledByDefault () const
 
enum libinput_config_scroll_method defaultScrollMethod () const
 
quint32 defaultScrollMethodToInt () const
 
bool scrollTwoFingerEnabledByDefault () const
 
bool scrollEdgeEnabledByDefault () const
 
bool scrollOnButtonDownEnabledByDefault () const
 
bool supportsLmrTapButtonMap () const
 
bool lmrTapButtonMapEnabledByDefault () const
 
void setLmrTapButtonMap (bool set)
 
bool lmrTapButtonMap () const
 
quint32 defaultScrollButton () const
 
bool isMiddleEmulation () const
 
void setMiddleEmulation (bool set)
 
bool isNaturalScroll () const override
 
void setNaturalScroll (bool set)
 
void setScrollMethod (bool set, enum libinput_config_scroll_method method)
 
bool isScrollTwoFinger () const
 
void setScrollTwoFinger (bool set)
 
bool isScrollEdge () const
 
void setScrollEdge (bool set)
 
bool isScrollOnButtonDown () const
 
void setScrollOnButtonDown (bool set)
 
void activateScrollMethodFromInt (quint32 method)
 
quint32 scrollButton () const
 
void setScrollButton (quint32 button)
 
qreal scrollFactorDefault () const
 
qreal scrollFactor () const
 
void setScrollFactor (qreal factor)
 
void setDisableWhileTyping (bool set)
 
bool isDisableWhileTyping () const
 
bool isLeftHanded () const
 
void setLeftHanded (bool set)
 
QMatrix4x4 defaultCalibrationMatrix () const
 
QMatrix4x4 calibrationMatrix () const
 
void setCalibrationMatrix (const QMatrix4x4 &matrix)
 
Qt::ScreenOrientation defaultOrientation () const
 
Qt::ScreenOrientation orientation () const
 
void setOrientation (Qt::ScreenOrientation orientation)
 
void setOrientationDBus (int orientation)
 
qreal defaultPointerAcceleration () const
 
qreal pointerAcceleration () const
 
void setPointerAcceleration (qreal acceleration)
 
void setPointerAccelerationFromString (const QString &acceleration)
 
QString defaultPointerAccelerationToString () const
 
bool supportsPointerAccelerationProfileFlat () const
 
bool supportsPointerAccelerationProfileAdaptive () const
 
bool defaultPointerAccelerationProfileFlat () const
 
bool defaultPointerAccelerationProfileAdaptive () const
 
bool pointerAccelerationProfileFlat () const
 
bool pointerAccelerationProfileAdaptive () const
 
void setPointerAccelerationProfile (bool set, enum libinput_config_accel_profile profile)
 
void setPointerAccelerationProfileFlat (bool set)
 
void setPointerAccelerationProfileAdaptive (bool set)
 
void setPointerAccelerationProfileFromInt (quint32 profile)
 
quint32 defaultPointerAccelerationProfileToInt () const
 
bool supportsClickMethodAreas () const
 
bool defaultClickMethodAreas () const
 
bool isClickMethodAreas () const
 
bool supportsClickMethodClickfinger () const
 
bool defaultClickMethodClickfinger () const
 
bool isClickMethodClickfinger () const
 
void setClickMethod (bool set, enum libinput_config_click_method method)
 
void setClickMethodAreas (bool set)
 
void setClickMethodClickfinger (bool set)
 
void setClickMethodFromInt (quint32 method)
 
libinput_config_click_method defaultClickMethod () const
 
quint32 defaultClickMethodToInt () const
 
bool isEnabled () const override
 
void setEnabled (bool enabled) override
 
bool isEnabledByDefault () const
 
libinput_devicedevice () const
 
void setConfig (const KConfigGroup &config)
 
void setDefaultConfig (const KConfigGroup &config)
 
void setOutputName (const QString &uuid) override
 
QString defaultOutputName () const
 
void loadConfiguration ()
 
bool isSwitch () const
 
bool isLidSwitch () const override
 
bool isTabletModeSwitch () const override
 
int stripsCount () const
 
int ringsCount () const
 
void * groupUserData () const
 
Outputoutput () const
 
void setOutput (Output *output)
 
LEDs leds () const override
 
void setLeds (LEDs leds) override
 
QRectF defaultOutputArea () const
 
bool supportsOutputArea () const
 
QRectF outputArea () const
 
void setOutputArea (const QRectF &outputArea)
 
bool defaultMapToWorkspace () const
 
bool isMapToWorkspace () const
 
void setMapToWorkspace (bool mapToWorkspace)
 
- Public Member Functions inherited from KWin::InputDevice
 InputDevice (QObject *parent=nullptr)
 

Static Public Member Functions

static Deviceget (libinput_device *native)
 

Properties

bool keyboard
 
bool alphaNumericKeyboard
 
bool pointer
 
bool touchpad
 
bool touch
 
bool tabletTool
 
bool tabletPad
 
bool gestureSupport
 
QString name
 
QString sysName
 
QString outputName
 
QSizeF size
 
quint32 product
 
quint32 vendor
 
bool supportsDisableEvents
 
bool enabled
 
bool enabledByDefault
 
int supportedButtons
 
bool supportsCalibrationMatrix
 
QMatrix4x4 defaultCalibrationMatrix
 
QMatrix4x4 calibrationMatrix
 
Qt::ScreenOrientation orientation
 
int orientationDBus
 
bool supportsLeftHanded
 
bool leftHandedEnabledByDefault
 
bool leftHanded
 
bool supportsDisableEventsOnExternalMouse
 
bool supportsDisableWhileTyping
 
bool disableWhileTypingEnabledByDefault
 
bool disableWhileTyping
 
bool supportsPointerAcceleration
 
qreal defaultPointerAcceleration
 
qreal pointerAcceleration
 
bool supportsPointerAccelerationProfileFlat
 
bool defaultPointerAccelerationProfileFlat
 
bool pointerAccelerationProfileFlat
 
bool supportsPointerAccelerationProfileAdaptive
 
bool defaultPointerAccelerationProfileAdaptive
 
bool pointerAccelerationProfileAdaptive
 
int tapFingerCount
 
bool tapToClickEnabledByDefault
 
bool tapToClick
 
bool supportsLmrTapButtonMap
 
bool lmrTapButtonMapEnabledByDefault
 
bool lmrTapButtonMap
 
bool tapAndDragEnabledByDefault
 
bool tapAndDrag
 
bool tapDragLockEnabledByDefault
 
bool tapDragLock
 
bool supportsMiddleEmulation
 
bool middleEmulationEnabledByDefault
 
bool middleEmulation
 
bool supportsNaturalScroll
 
bool naturalScrollEnabledByDefault
 
bool naturalScroll
 
bool supportsScrollTwoFinger
 
bool scrollTwoFingerEnabledByDefault
 
bool scrollTwoFinger
 
bool supportsScrollEdge
 
bool scrollEdgeEnabledByDefault
 
bool scrollEdge
 
bool supportsScrollOnButtonDown
 
bool scrollOnButtonDownEnabledByDefault
 
quint32 defaultScrollButton
 
bool scrollOnButtonDown
 
quint32 scrollButton
 
qreal scrollFactor
 
bool switchDevice
 
bool lidSwitch
 
bool tabletModeSwitch
 
bool supportsClickMethodAreas
 
bool defaultClickMethodAreas
 
bool clickMethodAreas
 
bool supportsClickMethodClickfinger
 
bool defaultClickMethodClickfinger
 
bool clickMethodClickfinger
 
bool supportsOutputArea
 
QRectF defaultOutputArea
 
QRectF outputArea
 
bool defaultMapToWorkspace
 
bool mapToWorkspace
 

Detailed Description

Definition at line 33 of file device.h.

Constructor & Destructor Documentation

◆ Device()

KWin::LibInput::Device::Device ( libinput_device * device,
QObject * parent = nullptr )
explicit

Definition at line 270 of file device.cpp.

◆ ~Device()

KWin::LibInput::Device::~Device ( )
override

Definition at line 371 of file device.cpp.

Member Function Documentation

◆ activateScrollMethodFromInt()

void KWin::LibInput::Device::activateScrollMethodFromInt ( quint32 method)
inline

Definition at line 389 of file device.h.

◆ calibrationMatrix()

QMatrix4x4 KWin::LibInput::Device::calibrationMatrix ( ) const
inline

Definition at line 433 of file device.h.

◆ calibrationMatrixChanged

void KWin::LibInput::Device::calibrationMatrixChanged ( )
signal

◆ clickMethodChanged

void KWin::LibInput::Device::clickMethodChanged ( )
signal

◆ defaultCalibrationMatrix()

QMatrix4x4 KWin::LibInput::Device::defaultCalibrationMatrix ( ) const
inline

Definition at line 424 of file device.h.

◆ defaultClickMethod()

libinput_config_click_method KWin::LibInput::Device::defaultClickMethod ( ) const
inline

Definition at line 552 of file device.h.

◆ defaultClickMethodAreas()

bool KWin::LibInput::Device::defaultClickMethodAreas ( ) const
inline

Definition at line 519 of file device.h.

◆ defaultClickMethodClickfinger()

bool KWin::LibInput::Device::defaultClickMethodClickfinger ( ) const
inline

Definition at line 531 of file device.h.

◆ defaultClickMethodToInt()

quint32 KWin::LibInput::Device::defaultClickMethodToInt ( ) const
inline

Definition at line 556 of file device.h.

◆ defaultMapToWorkspace()

bool KWin::LibInput::Device::defaultMapToWorkspace ( ) const
inline

Definition at line 636 of file device.h.

◆ defaultOrientation()

Qt::ScreenOrientation KWin::LibInput::Device::defaultOrientation ( ) const
inline

Definition at line 439 of file device.h.

◆ defaultOutputArea()

QRectF KWin::LibInput::Device::defaultOutputArea ( ) const

Definition at line 698 of file device.cpp.

◆ defaultOutputName()

QString KWin::LibInput::Device::defaultOutputName ( ) const
inline

Definition at line 595 of file device.h.

◆ defaultPointerAcceleration()

qreal KWin::LibInput::Device::defaultPointerAcceleration ( ) const
inline

Definition at line 454 of file device.h.

◆ defaultPointerAccelerationProfileAdaptive()

bool KWin::LibInput::Device::defaultPointerAccelerationProfileAdaptive ( ) const
inline

Definition at line 486 of file device.h.

◆ defaultPointerAccelerationProfileFlat()

bool KWin::LibInput::Device::defaultPointerAccelerationProfileFlat ( ) const
inline

Definition at line 482 of file device.h.

◆ defaultPointerAccelerationProfileToInt()

quint32 KWin::LibInput::Device::defaultPointerAccelerationProfileToInt ( ) const
inline

Definition at line 511 of file device.h.

◆ defaultPointerAccelerationToString()

QString KWin::LibInput::Device::defaultPointerAccelerationToString ( ) const
inline

Definition at line 470 of file device.h.

◆ defaultScrollButton()

quint32 KWin::LibInput::Device::defaultScrollButton ( ) const
inline

Definition at line 350 of file device.h.

◆ defaultScrollMethod()

enum libinput_config_scroll_method KWin::LibInput::Device::defaultScrollMethod ( ) const
inline

Definition at line 313 of file device.h.

◆ defaultScrollMethodToInt()

quint32 KWin::LibInput::Device::defaultScrollMethodToInt ( ) const
inline

Definition at line 318 of file device.h.

◆ device()

libinput_device * KWin::LibInput::Device::device ( ) const
inline

Definition at line 572 of file device.h.

◆ disableWhileTypingChanged

void KWin::LibInput::Device::disableWhileTypingChanged ( )
signal

◆ disableWhileTypingEnabledByDefault()

bool KWin::LibInput::Device::disableWhileTypingEnabledByDefault ( ) const
inline

Definition at line 257 of file device.h.

◆ enabledChanged

void KWin::LibInput::Device::enabledChanged ( )
signal

◆ get()

Device * KWin::LibInput::Device::get ( libinput_device * native)
static

Gets the Device for native. null if there is no Device for native.

Definition at line 378 of file device.cpp.

◆ groupUserData()

void * KWin::LibInput::Device::groupUserData ( ) const

Definition at line 538 of file device.cpp.

◆ isAlphaNumericKeyboard()

bool KWin::LibInput::Device::isAlphaNumericKeyboard ( ) const
inline

Note that this has a lot of false positives

Definition at line 158 of file device.h.

◆ isClickMethodAreas()

bool KWin::LibInput::Device::isClickMethodAreas ( ) const
inline

Definition at line 523 of file device.h.

◆ isClickMethodClickfinger()

bool KWin::LibInput::Device::isClickMethodClickfinger ( ) const
inline

Definition at line 535 of file device.h.

◆ isDisableWhileTyping()

bool KWin::LibInput::Device::isDisableWhileTyping ( ) const
inline

Definition at line 410 of file device.h.

◆ isEnabled()

bool KWin::LibInput::Device::isEnabled ( ) const
inlineoverridevirtual

Implements KWin::InputDevice.

Definition at line 561 of file device.h.

◆ isEnabledByDefault()

bool KWin::LibInput::Device::isEnabledByDefault ( ) const
inline

Definition at line 567 of file device.h.

◆ isKeyboard()

bool KWin::LibInput::Device::isKeyboard ( ) const
inlineoverridevirtual

Implements KWin::InputDevice.

Definition at line 151 of file device.h.

◆ isLeftHanded()

bool KWin::LibInput::Device::isLeftHanded ( ) const
inline

Definition at line 414 of file device.h.

◆ isLidSwitch()

bool KWin::LibInput::Device::isLidSwitch ( ) const
inlineoverridevirtual

Implements KWin::InputDevice.

Definition at line 610 of file device.h.

◆ isMapToWorkspace()

bool KWin::LibInput::Device::isMapToWorkspace ( ) const
inline

Definition at line 641 of file device.h.

◆ isMiddleEmulation()

bool KWin::LibInput::Device::isMiddleEmulation ( ) const
inline

Definition at line 354 of file device.h.

◆ isNaturalScroll()

bool KWin::LibInput::Device::isNaturalScroll ( ) const
inlineoverridevirtual

Reimplemented from KWin::InputDevice.

Definition at line 359 of file device.h.

◆ isPointer()

bool KWin::LibInput::Device::isPointer ( ) const
inlineoverridevirtual

Implements KWin::InputDevice.

Definition at line 162 of file device.h.

◆ isScrollEdge()

bool KWin::LibInput::Device::isScrollEdge ( ) const
inline

Definition at line 373 of file device.h.

◆ isScrollOnButtonDown()

bool KWin::LibInput::Device::isScrollOnButtonDown ( ) const
inline

Definition at line 381 of file device.h.

◆ isScrollTwoFinger()

bool KWin::LibInput::Device::isScrollTwoFinger ( ) const
inline

Definition at line 365 of file device.h.

◆ isSwitch()

bool KWin::LibInput::Device::isSwitch ( ) const
inline

Definition at line 605 of file device.h.

◆ isTabletModeSwitch()

bool KWin::LibInput::Device::isTabletModeSwitch ( ) const
inlineoverridevirtual

Implements KWin::InputDevice.

Definition at line 615 of file device.h.

◆ isTabletPad()

bool KWin::LibInput::Device::isTabletPad ( ) const
inlineoverridevirtual

Implements KWin::InputDevice.

Definition at line 183 of file device.h.

◆ isTabletTool()

bool KWin::LibInput::Device::isTabletTool ( ) const
inlineoverridevirtual

Implements KWin::InputDevice.

Definition at line 179 of file device.h.

◆ isTapAndDrag()

bool KWin::LibInput::Device::isTapAndDrag ( ) const
inline

Definition at line 239 of file device.h.

◆ isTapDragLock()

bool KWin::LibInput::Device::isTapDragLock ( ) const
inline

Definition at line 248 of file device.h.

◆ isTapToClick()

bool KWin::LibInput::Device::isTapToClick ( ) const
inline

Definition at line 227 of file device.h.

◆ isTouch()

bool KWin::LibInput::Device::isTouch ( ) const
inlineoverridevirtual

Implements KWin::InputDevice.

Definition at line 175 of file device.h.

◆ isTouchpad()

bool KWin::LibInput::Device::isTouchpad ( ) const
inlineoverridevirtual

Implements KWin::InputDevice.

Definition at line 166 of file device.h.

◆ leds()

LEDs KWin::LibInput::Device::leds ( ) const
overridevirtual

Implements KWin::InputDevice.

Definition at line 680 of file device.cpp.

◆ leftHandedChanged

void KWin::LibInput::Device::leftHandedChanged ( )
signal

◆ leftHandedEnabledByDefault()

bool KWin::LibInput::Device::leftHandedEnabledByDefault ( ) const
inline

Definition at line 301 of file device.h.

◆ lmrTapButtonMap()

bool KWin::LibInput::Device::lmrTapButtonMap ( ) const
inline

Definition at line 345 of file device.h.

◆ lmrTapButtonMapEnabledByDefault()

bool KWin::LibInput::Device::lmrTapButtonMapEnabledByDefault ( ) const
inline

Definition at line 338 of file device.h.

◆ loadConfiguration()

void KWin::LibInput::Device::loadConfiguration ( )

Loads the configuration and applies it to the Device

Definition at line 398 of file device.cpp.

◆ mapToWorkspaceChanged

void KWin::LibInput::Device::mapToWorkspaceChanged ( )
signal

◆ middleEmulationChanged

void KWin::LibInput::Device::middleEmulationChanged ( )
signal

◆ middleEmulationEnabledByDefault()

bool KWin::LibInput::Device::middleEmulationEnabledByDefault ( ) const
inline

Definition at line 305 of file device.h.

◆ name()

QString KWin::LibInput::Device::name ( ) const
inlineoverridevirtual

Implements KWin::InputDevice.

Definition at line 191 of file device.h.

◆ naturalScrollChanged

void KWin::LibInput::Device::naturalScrollChanged ( )
signal

◆ naturalScrollEnabledByDefault()

bool KWin::LibInput::Device::naturalScrollEnabledByDefault ( ) const
inline

Definition at line 309 of file device.h.

◆ orientation()

Qt::ScreenOrientation KWin::LibInput::Device::orientation ( ) const
inline

Definition at line 444 of file device.h.

◆ orientationChanged

void KWin::LibInput::Device::orientationChanged ( )
signal

◆ output()

Output * KWin::LibInput::Device::output ( ) const

Definition at line 655 of file device.cpp.

◆ outputArea()

QRectF KWin::LibInput::Device::outputArea ( ) const

Definition at line 703 of file device.cpp.

◆ outputAreaChanged

void KWin::LibInput::Device::outputAreaChanged ( )
signal

◆ outputName()

QString KWin::LibInput::Device::outputName ( ) const
inlineoverridevirtual

Reimplemented from KWin::InputDevice.

Definition at line 199 of file device.h.

◆ outputNameChanged

void KWin::LibInput::Device::outputNameChanged ( )
signal

◆ pointerAcceleration()

qreal KWin::LibInput::Device::pointerAcceleration ( ) const
inline

Definition at line 458 of file device.h.

◆ pointerAccelerationChanged

void KWin::LibInput::Device::pointerAccelerationChanged ( )
signal

◆ pointerAccelerationProfileAdaptive()

bool KWin::LibInput::Device::pointerAccelerationProfileAdaptive ( ) const
inline

Definition at line 494 of file device.h.

◆ pointerAccelerationProfileChanged

void KWin::LibInput::Device::pointerAccelerationProfileChanged ( )
signal

◆ pointerAccelerationProfileFlat()

bool KWin::LibInput::Device::pointerAccelerationProfileFlat ( ) const
inline

Definition at line 490 of file device.h.

◆ product()

quint32 KWin::LibInput::Device::product ( ) const
inline

Definition at line 207 of file device.h.

◆ ringsCount()

int KWin::LibInput::Device::ringsCount ( ) const

Definition at line 533 of file device.cpp.

◆ scrollButton()

quint32 KWin::LibInput::Device::scrollButton ( ) const
inline

Definition at line 393 of file device.h.

◆ scrollButtonChanged

void KWin::LibInput::Device::scrollButtonChanged ( )
signal

◆ scrollEdgeEnabledByDefault()

bool KWin::LibInput::Device::scrollEdgeEnabledByDefault ( ) const
inline

Definition at line 326 of file device.h.

◆ scrollFactor()

qreal KWin::LibInput::Device::scrollFactor ( ) const
inline

Definition at line 403 of file device.h.

◆ scrollFactorChanged

void KWin::LibInput::Device::scrollFactorChanged ( )
signal

◆ scrollFactorDefault()

qreal KWin::LibInput::Device::scrollFactorDefault ( ) const
inline

Definition at line 399 of file device.h.

◆ scrollMethodChanged

void KWin::LibInput::Device::scrollMethodChanged ( )
signal

◆ scrollOnButtonDownEnabledByDefault()

bool KWin::LibInput::Device::scrollOnButtonDownEnabledByDefault ( ) const
inline

Definition at line 330 of file device.h.

◆ scrollTwoFingerEnabledByDefault()

bool KWin::LibInput::Device::scrollTwoFingerEnabledByDefault ( ) const
inline

Definition at line 322 of file device.h.

◆ setCalibrationMatrix()

void KWin::LibInput::Device::setCalibrationMatrix ( const QMatrix4x4 & matrix)

Definition at line 597 of file device.cpp.

◆ setClickMethod()

void KWin::LibInput::Device::setClickMethod ( bool set,
enum libinput_config_click_method method )

Definition at line 462 of file device.cpp.

◆ setClickMethodAreas()

void KWin::LibInput::Device::setClickMethodAreas ( bool set)
inline

Definition at line 540 of file device.h.

◆ setClickMethodClickfinger()

void KWin::LibInput::Device::setClickMethodClickfinger ( bool set)
inline

Definition at line 544 of file device.h.

◆ setClickMethodFromInt()

void KWin::LibInput::Device::setClickMethodFromInt ( quint32 method)
inline

Definition at line 548 of file device.h.

◆ setConfig()

void KWin::LibInput::Device::setConfig ( const KConfigGroup & config)
inline

Sets the config to load the Device configuration from and to store each successful Device configuration.

Definition at line 581 of file device.h.

◆ setDefaultConfig()

void KWin::LibInput::Device::setDefaultConfig ( const KConfigGroup & config)
inline

Definition at line 586 of file device.h.

◆ setDisableWhileTyping()

void KWin::LibInput::Device::setDisableWhileTyping ( bool set)

◆ setEnabled()

void KWin::LibInput::Device::setEnabled ( bool enabled)
overridevirtual

Implements KWin::InputDevice.

◆ setLeds()

void KWin::LibInput::Device::setLeds ( LEDs leds)
overridevirtual

Implements KWin::InputDevice.

Definition at line 685 of file device.cpp.

◆ setLeftHanded()

void KWin::LibInput::Device::setLeftHanded ( bool set)

Sets the Device to left handed mode if set is true. If set is false the device is set to right handed mode

◆ setLmrTapButtonMap()

void KWin::LibInput::Device::setLmrTapButtonMap ( bool set)

Definition at line 508 of file device.cpp.

◆ setMapToWorkspace()

void KWin::LibInput::Device::setMapToWorkspace ( bool mapToWorkspace)

Definition at line 717 of file device.cpp.

◆ setMiddleEmulation()

void KWin::LibInput::Device::setMiddleEmulation ( bool set)

◆ setNaturalScroll()

void KWin::LibInput::Device::setNaturalScroll ( bool set)

◆ setOrientation()

void KWin::LibInput::Device::setOrientation ( Qt::ScreenOrientation orientation)

Definition at line 617 of file device.cpp.

◆ setOrientationDBus()

void KWin::LibInput::Device::setOrientationDBus ( int orientation)
inline

Definition at line 449 of file device.h.

◆ setOutput()

void KWin::LibInput::Device::setOutput ( Output * output)

Definition at line 660 of file device.cpp.

◆ setOutputArea()

void KWin::LibInput::Device::setOutputArea ( const QRectF & outputArea)

Definition at line 708 of file device.cpp.

◆ setOutputName()

void KWin::LibInput::Device::setOutputName ( const QString & uuid)
overridevirtual

Used to deserialize monitor data from KConfig when initializing a device

Reimplemented from KWin::InputDevice.

Definition at line 630 of file device.cpp.

◆ setPointerAcceleration()

void KWin::LibInput::Device::setPointerAcceleration ( qreal acceleration)
Parameters
accelerationmapped to range [-1,1] with -1 being the slowest, 1 being the fastest supported acceleration.

Definition at line 412 of file device.cpp.

◆ setPointerAccelerationFromString()

void KWin::LibInput::Device::setPointerAccelerationFromString ( const QString & acceleration)
inline

Definition at line 466 of file device.h.

◆ setPointerAccelerationProfile()

void KWin::LibInput::Device::setPointerAccelerationProfile ( bool set,
enum libinput_config_accel_profile profile )

Definition at line 441 of file device.cpp.

◆ setPointerAccelerationProfileAdaptive()

void KWin::LibInput::Device::setPointerAccelerationProfileAdaptive ( bool set)
inline

Definition at line 503 of file device.h.

◆ setPointerAccelerationProfileFlat()

void KWin::LibInput::Device::setPointerAccelerationProfileFlat ( bool set)
inline

Definition at line 499 of file device.h.

◆ setPointerAccelerationProfileFromInt()

void KWin::LibInput::Device::setPointerAccelerationProfileFromInt ( quint32 profile)
inline

Definition at line 507 of file device.h.

◆ setScrollButton()

void KWin::LibInput::Device::setScrollButton ( quint32 button)

Definition at line 427 of file device.cpp.

◆ setScrollEdge()

void KWin::LibInput::Device::setScrollEdge ( bool set)
inline

Definition at line 377 of file device.h.

◆ setScrollFactor()

void KWin::LibInput::Device::setScrollFactor ( qreal factor)

Definition at line 588 of file device.cpp.

◆ setScrollMethod()

void KWin::LibInput::Device::setScrollMethod ( bool set,
enum libinput_config_scroll_method method )

Definition at line 483 of file device.cpp.

◆ setScrollOnButtonDown()

void KWin::LibInput::Device::setScrollOnButtonDown ( bool set)
inline

Definition at line 385 of file device.h.

◆ setScrollTwoFinger()

void KWin::LibInput::Device::setScrollTwoFinger ( bool set)
inline

Definition at line 369 of file device.h.

◆ setTapAndDrag()

void KWin::LibInput::Device::setTapAndDrag ( bool set)

◆ setTapDragLock()

void KWin::LibInput::Device::setTapDragLock ( bool set)

◆ setTapToClick()

void KWin::LibInput::Device::setTapToClick ( bool set)

Set the Device to tap to click if set is true.

◆ size()

QSizeF KWin::LibInput::Device::size ( ) const
inline

Definition at line 203 of file device.h.

◆ stripsCount()

int KWin::LibInput::Device::stripsCount ( ) const

Definition at line 528 of file device.cpp.

◆ supportedButtons()

Qt::MouseButtons KWin::LibInput::Device::supportedButtons ( ) const
inline

Definition at line 215 of file device.h.

◆ supportsCalibrationMatrix()

bool KWin::LibInput::Device::supportsCalibrationMatrix ( ) const
inline

Definition at line 269 of file device.h.

◆ supportsClickMethodAreas()

bool KWin::LibInput::Device::supportsClickMethodAreas ( ) const
inline

Definition at line 515 of file device.h.

◆ supportsClickMethodClickfinger()

bool KWin::LibInput::Device::supportsClickMethodClickfinger ( ) const
inline

Definition at line 527 of file device.h.

◆ supportsDisableEvents()

bool KWin::LibInput::Device::supportsDisableEvents ( ) const
inline

Definition at line 273 of file device.h.

◆ supportsDisableEventsOnExternalMouse()

bool KWin::LibInput::Device::supportsDisableEventsOnExternalMouse ( ) const
inline

Definition at line 277 of file device.h.

◆ supportsDisableWhileTyping()

bool KWin::LibInput::Device::supportsDisableWhileTyping ( ) const
inline

Definition at line 253 of file device.h.

◆ supportsGesture()

bool KWin::LibInput::Device::supportsGesture ( ) const
inline

Definition at line 187 of file device.h.

◆ supportsLeftHanded()

bool KWin::LibInput::Device::supportsLeftHanded ( ) const
inline

Definition at line 265 of file device.h.

◆ supportsLmrTapButtonMap()

bool KWin::LibInput::Device::supportsLmrTapButtonMap ( ) const
inline

Definition at line 334 of file device.h.

◆ supportsMiddleEmulation()

bool KWin::LibInput::Device::supportsMiddleEmulation ( ) const
inline

Definition at line 281 of file device.h.

◆ supportsNaturalScroll()

bool KWin::LibInput::Device::supportsNaturalScroll ( ) const
inline

Definition at line 285 of file device.h.

◆ supportsOutputArea()

bool KWin::LibInput::Device::supportsOutputArea ( ) const

Definition at line 693 of file device.cpp.

◆ supportsPointerAcceleration()

bool KWin::LibInput::Device::supportsPointerAcceleration ( ) const
inline

Definition at line 261 of file device.h.

◆ supportsPointerAccelerationProfileAdaptive()

bool KWin::LibInput::Device::supportsPointerAccelerationProfileAdaptive ( ) const
inline

Definition at line 478 of file device.h.

◆ supportsPointerAccelerationProfileFlat()

bool KWin::LibInput::Device::supportsPointerAccelerationProfileFlat ( ) const
inline

Definition at line 474 of file device.h.

◆ supportsScrollEdge()

bool KWin::LibInput::Device::supportsScrollEdge ( ) const
inline

Definition at line 293 of file device.h.

◆ supportsScrollOnButtonDown()

bool KWin::LibInput::Device::supportsScrollOnButtonDown ( ) const
inline

Definition at line 297 of file device.h.

◆ supportsScrollTwoFinger()

bool KWin::LibInput::Device::supportsScrollTwoFinger ( ) const
inline

Definition at line 289 of file device.h.

◆ sysName()

QString KWin::LibInput::Device::sysName ( ) const
inlineoverridevirtual

Implements KWin::InputDevice.

Definition at line 195 of file device.h.

◆ tapAndDragChanged

void KWin::LibInput::Device::tapAndDragChanged ( )
signal

◆ tapAndDragEnabledByDefault()

bool KWin::LibInput::Device::tapAndDragEnabledByDefault ( ) const
inline

Definition at line 235 of file device.h.

◆ tapButtonMapChanged

void KWin::LibInput::Device::tapButtonMapChanged ( )
signal

◆ tapDragLockChanged

void KWin::LibInput::Device::tapDragLockChanged ( )
signal

◆ tapDragLockEnabledByDefault()

bool KWin::LibInput::Device::tapDragLockEnabledByDefault ( ) const
inline

Definition at line 244 of file device.h.

◆ tapFingerCount()

int KWin::LibInput::Device::tapFingerCount ( ) const
inline

Definition at line 219 of file device.h.

◆ tapToClickChanged

void KWin::LibInput::Device::tapToClickChanged ( )
signal

◆ tapToClickEnabledByDefault()

bool KWin::LibInput::Device::tapToClickEnabledByDefault ( ) const
inline

Definition at line 223 of file device.h.

◆ vendor()

quint32 KWin::LibInput::Device::vendor ( ) const
inline

Definition at line 211 of file device.h.

Property Documentation

◆ alphaNumericKeyboard

bool KWin::LibInput::Device::alphaNumericKeyboard
read

Definition at line 40 of file device.h.

◆ calibrationMatrix

QMatrix4x4 KWin::LibInput::Device::calibrationMatrix
readwrite

Definition at line 61 of file device.h.

◆ clickMethodAreas

bool KWin::LibInput::Device::clickMethodAreas
readwrite

Definition at line 135 of file device.h.

◆ clickMethodClickfinger

bool KWin::LibInput::Device::clickMethodClickfinger
readwrite

Definition at line 139 of file device.h.

◆ defaultCalibrationMatrix

QMatrix4x4 KWin::LibInput::Device::defaultCalibrationMatrix
read

Definition at line 60 of file device.h.

◆ defaultClickMethodAreas

bool KWin::LibInput::Device::defaultClickMethodAreas
read

Definition at line 134 of file device.h.

◆ defaultClickMethodClickfinger

bool KWin::LibInput::Device::defaultClickMethodClickfinger
read

Definition at line 138 of file device.h.

◆ defaultMapToWorkspace

bool KWin::LibInput::Device::defaultMapToWorkspace
read

Definition at line 144 of file device.h.

◆ defaultOutputArea

QRectF KWin::LibInput::Device::defaultOutputArea
read

Definition at line 142 of file device.h.

◆ defaultPointerAcceleration

qreal KWin::LibInput::Device::defaultPointerAcceleration
read

Definition at line 77 of file device.h.

◆ defaultPointerAccelerationProfileAdaptive

bool KWin::LibInput::Device::defaultPointerAccelerationProfileAdaptive
read

Definition at line 85 of file device.h.

◆ defaultPointerAccelerationProfileFlat

bool KWin::LibInput::Device::defaultPointerAccelerationProfileFlat
read

Definition at line 81 of file device.h.

◆ defaultScrollButton

quint32 KWin::LibInput::Device::defaultScrollButton
read

Definition at line 121 of file device.h.

◆ disableWhileTyping

bool KWin::LibInput::Device::disableWhileTyping
readwrite

Definition at line 73 of file device.h.

◆ disableWhileTypingEnabledByDefault

bool KWin::LibInput::Device::disableWhileTypingEnabledByDefault
read

Definition at line 72 of file device.h.

◆ enabled

bool KWin::LibInput::Device::enabled
readwrite

Definition at line 54 of file device.h.

◆ enabledByDefault

bool KWin::LibInput::Device::enabledByDefault
read

Definition at line 55 of file device.h.

◆ gestureSupport

bool KWin::LibInput::Device::gestureSupport
read

Definition at line 46 of file device.h.

◆ keyboard

bool KWin::LibInput::Device::keyboard
read

Definition at line 39 of file device.h.

◆ leftHanded

bool KWin::LibInput::Device::leftHanded
readwrite

Definition at line 67 of file device.h.

◆ leftHandedEnabledByDefault

bool KWin::LibInput::Device::leftHandedEnabledByDefault
read

Definition at line 66 of file device.h.

◆ lidSwitch

bool KWin::LibInput::Device::lidSwitch
read

Definition at line 129 of file device.h.

◆ lmrTapButtonMap

bool KWin::LibInput::Device::lmrTapButtonMap
readwrite

Definition at line 95 of file device.h.

◆ lmrTapButtonMapEnabledByDefault

bool KWin::LibInput::Device::lmrTapButtonMapEnabledByDefault
read

Definition at line 94 of file device.h.

◆ mapToWorkspace

bool KWin::LibInput::Device::mapToWorkspace
readwrite

Definition at line 145 of file device.h.

◆ middleEmulation

bool KWin::LibInput::Device::middleEmulation
readwrite

Definition at line 104 of file device.h.

◆ middleEmulationEnabledByDefault

bool KWin::LibInput::Device::middleEmulationEnabledByDefault
read

Definition at line 103 of file device.h.

◆ name

QString KWin::LibInput::Device::name
read

Definition at line 47 of file device.h.

◆ naturalScroll

bool KWin::LibInput::Device::naturalScroll
readwrite

Definition at line 109 of file device.h.

◆ naturalScrollEnabledByDefault

bool KWin::LibInput::Device::naturalScrollEnabledByDefault
read

Definition at line 108 of file device.h.

◆ orientation

Qt::ScreenOrientation KWin::LibInput::Device::orientation
readwrite

Definition at line 62 of file device.h.

◆ orientationDBus

int KWin::LibInput::Device::orientationDBus
readwrite

Definition at line 63 of file device.h.

◆ outputArea

QRectF KWin::LibInput::Device::outputArea
readwrite

Definition at line 143 of file device.h.

◆ outputName

QString KWin::LibInput::Device::outputName
readwrite

Definition at line 49 of file device.h.

◆ pointer

bool KWin::LibInput::Device::pointer
read

Definition at line 41 of file device.h.

◆ pointerAcceleration

qreal KWin::LibInput::Device::pointerAcceleration
readwrite

Definition at line 78 of file device.h.

◆ pointerAccelerationProfileAdaptive

bool KWin::LibInput::Device::pointerAccelerationProfileAdaptive
readwrite

Definition at line 86 of file device.h.

◆ pointerAccelerationProfileFlat

bool KWin::LibInput::Device::pointerAccelerationProfileFlat
readwrite

Definition at line 82 of file device.h.

◆ product

quint32 KWin::LibInput::Device::product
read

Definition at line 51 of file device.h.

◆ scrollButton

quint32 KWin::LibInput::Device::scrollButton
readwrite

Definition at line 123 of file device.h.

◆ scrollEdge

bool KWin::LibInput::Device::scrollEdge
readwrite

Definition at line 117 of file device.h.

◆ scrollEdgeEnabledByDefault

bool KWin::LibInput::Device::scrollEdgeEnabledByDefault
read

Definition at line 116 of file device.h.

◆ scrollFactor

qreal KWin::LibInput::Device::scrollFactor
readwrite

Definition at line 125 of file device.h.

◆ scrollOnButtonDown

bool KWin::LibInput::Device::scrollOnButtonDown
readwrite

Definition at line 122 of file device.h.

◆ scrollOnButtonDownEnabledByDefault

bool KWin::LibInput::Device::scrollOnButtonDownEnabledByDefault
read

Definition at line 120 of file device.h.

◆ scrollTwoFinger

bool KWin::LibInput::Device::scrollTwoFinger
readwrite

Definition at line 113 of file device.h.

◆ scrollTwoFingerEnabledByDefault

bool KWin::LibInput::Device::scrollTwoFingerEnabledByDefault
read

Definition at line 112 of file device.h.

◆ size

QSizeF KWin::LibInput::Device::size
read

Definition at line 50 of file device.h.

◆ supportedButtons

int KWin::LibInput::Device::supportedButtons
read

Definition at line 58 of file device.h.

◆ supportsCalibrationMatrix

bool KWin::LibInput::Device::supportsCalibrationMatrix
read

Definition at line 59 of file device.h.

◆ supportsClickMethodAreas

bool KWin::LibInput::Device::supportsClickMethodAreas
read

Definition at line 133 of file device.h.

◆ supportsClickMethodClickfinger

bool KWin::LibInput::Device::supportsClickMethodClickfinger
read

Definition at line 137 of file device.h.

◆ supportsDisableEvents

bool KWin::LibInput::Device::supportsDisableEvents
read

Definition at line 53 of file device.h.

◆ supportsDisableEventsOnExternalMouse

bool KWin::LibInput::Device::supportsDisableEventsOnExternalMouse
read

Definition at line 69 of file device.h.

◆ supportsDisableWhileTyping

bool KWin::LibInput::Device::supportsDisableWhileTyping
read

Definition at line 71 of file device.h.

◆ supportsLeftHanded

bool KWin::LibInput::Device::supportsLeftHanded
read

Definition at line 65 of file device.h.

◆ supportsLmrTapButtonMap

bool KWin::LibInput::Device::supportsLmrTapButtonMap
read

Definition at line 93 of file device.h.

◆ supportsMiddleEmulation

bool KWin::LibInput::Device::supportsMiddleEmulation
read

Definition at line 102 of file device.h.

◆ supportsNaturalScroll

bool KWin::LibInput::Device::supportsNaturalScroll
read

Definition at line 107 of file device.h.

◆ supportsOutputArea

bool KWin::LibInput::Device::supportsOutputArea
read

Definition at line 141 of file device.h.

◆ supportsPointerAcceleration

bool KWin::LibInput::Device::supportsPointerAcceleration
read

Definition at line 76 of file device.h.

◆ supportsPointerAccelerationProfileAdaptive

bool KWin::LibInput::Device::supportsPointerAccelerationProfileAdaptive
read

Definition at line 84 of file device.h.

◆ supportsPointerAccelerationProfileFlat

bool KWin::LibInput::Device::supportsPointerAccelerationProfileFlat
read

Definition at line 80 of file device.h.

◆ supportsScrollEdge

bool KWin::LibInput::Device::supportsScrollEdge
read

Definition at line 115 of file device.h.

◆ supportsScrollOnButtonDown

bool KWin::LibInput::Device::supportsScrollOnButtonDown
read

Definition at line 119 of file device.h.

◆ supportsScrollTwoFinger

bool KWin::LibInput::Device::supportsScrollTwoFinger
read

Definition at line 111 of file device.h.

◆ switchDevice

bool KWin::LibInput::Device::switchDevice
read

Definition at line 128 of file device.h.

◆ sysName

QString KWin::LibInput::Device::sysName
read

Definition at line 48 of file device.h.

◆ tabletModeSwitch

bool KWin::LibInput::Device::tabletModeSwitch
read

Definition at line 130 of file device.h.

◆ tabletPad

bool KWin::LibInput::Device::tabletPad
read

Definition at line 45 of file device.h.

◆ tabletTool

bool KWin::LibInput::Device::tabletTool
read

Definition at line 44 of file device.h.

◆ tapAndDrag

bool KWin::LibInput::Device::tapAndDrag
readwrite

Definition at line 98 of file device.h.

◆ tapAndDragEnabledByDefault

bool KWin::LibInput::Device::tapAndDragEnabledByDefault
read

Definition at line 97 of file device.h.

◆ tapDragLock

bool KWin::LibInput::Device::tapDragLock
readwrite

Definition at line 100 of file device.h.

◆ tapDragLockEnabledByDefault

bool KWin::LibInput::Device::tapDragLockEnabledByDefault
read

Definition at line 99 of file device.h.

◆ tapFingerCount

int KWin::LibInput::Device::tapFingerCount
read

Definition at line 89 of file device.h.

◆ tapToClick

bool KWin::LibInput::Device::tapToClick
readwrite

Definition at line 91 of file device.h.

◆ tapToClickEnabledByDefault

bool KWin::LibInput::Device::tapToClickEnabledByDefault
read

Definition at line 90 of file device.h.

◆ touch

bool KWin::LibInput::Device::touch
read

Definition at line 43 of file device.h.

◆ touchpad

bool KWin::LibInput::Device::touchpad
read

Definition at line 42 of file device.h.

◆ vendor

quint32 KWin::LibInput::Device::vendor
read

Definition at line 52 of file device.h.


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