moved a few includes to .cpp files
This commit is contained in:
@ -1,13 +1,17 @@
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdint.h>
|
||||
#include <QApplication>
|
||||
|
||||
#include "joypad.h"
|
||||
|
||||
//for actually interacting with the joystick devices
|
||||
#include <linux/joystick.h>
|
||||
#include <linux/input.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
JoyPad::JoyPad( int i, int dev, QObject *parent )
|
||||
: QObject(parent), joydev(-1), axisCount(0), buttonCount(0), jpw(0), readNotifier(0), errorNotifier(0) {
|
||||
debug_mesg("Constructing the joypad device with index %d and fd %d\n", i, dev);
|
||||
|
@ -11,15 +11,10 @@
|
||||
//for raising errors
|
||||
#include "error.h"
|
||||
|
||||
//for actually interacting with the joystick devices
|
||||
#include <linux/joystick.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <QTextStream>
|
||||
#include <QHash>
|
||||
#include <QSocketNotifier>
|
||||
|
||||
|
||||
class JoyPadWidget;
|
||||
|
||||
//represents an actual joystick device
|
||||
|
@ -1,7 +1,11 @@
|
||||
#include <errno.h>
|
||||
#include "layout.h"
|
||||
#include "config.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
//initialize things and set up an icon :)
|
||||
LayoutManager::LayoutManager( bool useTrayIcon, const QString &devdir, const QString &settingsDir )
|
||||
: devdir(devdir), settingsDir(settingsDir),
|
||||
|
Reference in New Issue
Block a user