Update README.md
This commit is contained in:
parent
f355a18442
commit
16fa247d16
39
README.md
39
README.md
|
@ -20,43 +20,8 @@ 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
|
||||
|
||||
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"
|
||||
}
|
||||
```
|
||||
if you wanna use qmake i provided a XInputSimulator.pro file – simply type:
|
||||
>$ qmake XInputSimulator.pro && make
|
||||
|
||||
####Status early Alpha
|
||||
2013-07-16: Linux, Mac and Win part with following functions
|
||||
|
|
Loading…
Reference in New Issue