Merge branch 'master' of github.com:pythoneer/XInputSimulator

This commit is contained in:
Dustin Bensing 2013-07-16 17:29:30 +02:00
commit e91bb1c8b9
1 changed files with 41 additions and 1 deletions

View File

@ -20,7 +20,45 @@ building for Linux use -lX11 | include X11/Xlib.h X11/Xutil.h
building for Mac use -framework ApplicationServices | include ApplicationServices/ApplicationServices.h
building for Win use User32.lib | include Windows.h
####Status
qmake
```
TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
CONFIG += c++11
SOURCES += main.cpp \
xinputsimulatorimpl.cpp \
xinputsimulator.cpp \
xinputsimulatorimpllinux.cpp \
notimplementedexception.cpp \
xinputsimulatorimplmacos.cpp \
xinputsimulatorimplwin.cpp
HEADERS += \
xinputsimulator.h \
xinputsimulatorimpl.h \
xinputsimulatorimpllinux.h \
notimplementedexception.h \
xinputsimulatorimplmacos.h \
xinputsimulatorimplwin.h
macx {
# mac only
LIBS += -framework ApplicationServices
}
unix:!macx{
# linux only
LIBS += -lX11
}
win32 {
# windows only
LIBS += "C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\User32.Lib"
}
```
####Status early Alpha
2013-07-16: Linux, Mac and Win part with following functions
```cpp
mouseMoveTo
@ -31,3 +69,5 @@ mouseClick
mouseScrollY //up and down
mouseScrollX //left an right
```
be aware that some glitches might appear due to the early state of development. There is not much testing going on apart from the main.cpp. Feel free to file bugreports, wishes or patches :)