-H flag added for headless mode. Requires profile name without the .lyt extension.
This commit is contained in:
@ -38,7 +38,7 @@ class LayoutManager : public QObject {
|
||||
friend class LayoutEdit;
|
||||
Q_OBJECT
|
||||
public:
|
||||
LayoutManager(bool useTrayIcon, const QString &devdir, const QString &settingsDir);
|
||||
LayoutManager(bool useTrayIcon, const QString &devdir, const QString &settingsDir, bool headless = false);
|
||||
~LayoutManager();
|
||||
|
||||
//produces a list of the names of all the available layout.
|
||||
@ -111,6 +111,7 @@ class LayoutManager : public QObject {
|
||||
QHash<int, JoyPad*> available;
|
||||
QHash<int, JoyPad*> joypads;
|
||||
bool isNotrayMode;
|
||||
bool isHeadless;
|
||||
|
||||
#ifdef WITH_LIBUDEV
|
||||
bool initUDev();
|
||||
|
Reference in New Issue
Block a user