aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LInputDevice.h
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2016-11-20 01:50:36 -0500
committerq5sys <jt@obs-sec.com>2016-11-20 01:50:36 -0500
commit151062b99e29e18dbc614bf66582f908c864a96a (patch)
treedf075ff8673b306c61654075c77942264e9b3976 /src-qt5/core/libLumina/LInputDevice.h
parentsearch clear function on ESC press (diff)
downloadlumina-151062b99e29e18dbc614bf66582f908c864a96a.tar.gz
lumina-151062b99e29e18dbc614bf66582f908c864a96a.tar.bz2
lumina-151062b99e29e18dbc614bf66582f908c864a96a.zip
Revert "search clear function on ESC press"
This reverts commit b9840ef585385fece513e24e4cea193d35328dc0, reversing changes made to cb5524f6fd5186414c11339375bebd3b808b4857.
Diffstat (limited to 'src-qt5/core/libLumina/LInputDevice.h')
-rw-r--r--src-qt5/core/libLumina/LInputDevice.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/src-qt5/core/libLumina/LInputDevice.h b/src-qt5/core/libLumina/LInputDevice.h
deleted file mode 100644
index f7a4713c..00000000
--- a/src-qt5/core/libLumina/LInputDevice.h
+++ /dev/null
@@ -1,53 +0,0 @@
-//===========================================
-// Lumina-DE source code
-// Copyright (c) 2016, Ken Moore
-// Available under the 3-clause BSD license
-// See the LICENSE file for full details
-//===========================================
-// This class governs all the XCB input device interactions
-// and provides simpler Qt-based functions for use elsewhere
-//===========================================
-#ifndef _LUMINA_XCB_INPUT_DEVICES_H
-#define _LUMINA_XCB_INPUT_DEVICES_H
-
-#include <QList>
-#include <QString>
-#include <QStringList>
-#include <QHash>
-#include <QVariant>
-
-#include <xcb/xproto.h>
-
-class LInputDevice{
-public:
- LInputDevice(unsigned int id, unsigned int type); //don't use this directly - use the "listDevices()" function instead
- ~LInputDevice();
-
- //Device Information
- //QString name(); //Return the name of this device
- unsigned int devNumber();
- bool isPointer();
- bool isKeyboard();
- bool isExtension();
-
- //Property Management
- QStringList listProperties();
- QVariant propertyValue(QString prop);
-
-private:
- unsigned int devID; //device ID number - assigned at class creation
- unsigned int devType; //device "use" identifier - assigned at class creation
- QHash<QString, xcb_atom_t> devProps; //Known device properties <name, atom>
-
- void getProperties();
- //QString devName; //device name - use this for cross-session management (id #'s can get changed every session)
-};
-
-//Static functions for overall management
-class LInput{
- public:
- static QList<LInputDevice*> listDevices(); //NOTE: Make sure you "free()" all the LInputDevice objects when finished
-
-};
-
-#endif
bgstack15