From 60e4d71a22b5c0dadcf98504e475ea7282fad88b Mon Sep 17 00:00:00 2001 From: Dustin Bensing Date: Sat, 21 Feb 2015 20:51:18 +0100 Subject: [PATCH] fixed preprocessor --- XInputSimulator/.idea/workspace.xml | 142 +++++++++++++++++++++++----- XInputSimulator/main.cpp | 2 +- 2 files changed, 118 insertions(+), 26 deletions(-) diff --git a/XInputSimulator/.idea/workspace.xml b/XInputSimulator/.idea/workspace.xml index 9a6bd09..5c08a99 100644 --- a/XInputSimulator/.idea/workspace.xml +++ b/XInputSimulator/.idea/workspace.xml @@ -41,12 +41,16 @@ - + - - - + + + + + + + @@ -113,10 +117,10 @@ - + - + @@ -134,8 +138,8 @@ @@ -147,8 +151,8 @@ @@ -233,27 +237,27 @@ - + - - - - + - + + + - + + @@ -278,6 +282,18 @@ + + + + + + + + + + + + @@ -285,6 +301,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -377,14 +465,6 @@ - - - - - - - - @@ -405,7 +485,7 @@ - + @@ -413,5 +493,17 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/XInputSimulator/main.cpp b/XInputSimulator/main.cpp index ea6e94e..17e9728 100644 --- a/XInputSimulator/main.cpp +++ b/XInputSimulator/main.cpp @@ -60,7 +60,7 @@ int main() waitABit(); sim.mouseScrollX(-10); -#ifdef __linux__ || __APPLE__ +#if defined(__linux__) || defined(__APPLE__) char anA = 'a'; cout << "a: " << (int)anA << " " << sim.charToKeyCode(anA) << endl; std::cout << std::endl;