Changeset View
Changeset View
Standalone View
Standalone View
libinput/device.h
Show First 20 Lines • Show All 466 Lines • ▼ Show 20 Line(s) | 142 | public: | |||
---|---|---|---|---|---|
467 | bool isLidSwitch() const { | 467 | bool isLidSwitch() const { | ||
468 | return m_lidSwitch; | 468 | return m_lidSwitch; | ||
469 | } | 469 | } | ||
470 | 470 | | |||
471 | bool isTabletModeSwitch() const { | 471 | bool isTabletModeSwitch() const { | ||
472 | return m_tabletSwitch; | 472 | return m_tabletSwitch; | ||
473 | } | 473 | } | ||
474 | 474 | | |||
475 | int stripsCount() const; | ||||
476 | int ringsCount() const; | ||||
477 | | ||||
475 | /** | 478 | /** | ||
476 | * All created Devices | 479 | * All created Devices | ||
477 | */ | 480 | */ | ||
478 | static QVector<Device*> devices() { | 481 | static QVector<Device*> devices() { | ||
479 | return s_devices; | 482 | return s_devices; | ||
480 | } | 483 | } | ||
481 | /** | 484 | /** | ||
482 | * Gets the Device for @p native. @c null if there is no Device for @p native. | 485 | * Gets the Device for @p native. @c null if there is no Device for @p native. | ||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |