Skip to content

Commit 384ad88

Browse files
Peter MuellerPeter Mueller
authored andcommitted
fix mac problems
1 parent 1340ac2 commit 384ad88

File tree

6 files changed

+175
-51
lines changed

6 files changed

+175
-51
lines changed

XInputSimulator/.DS_Store

0 Bytes
Binary file not shown.

XInputSimulator/.idea/vcs.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

XInputSimulator/.idea/workspace.xml

Lines changed: 128 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
6+
<false/>
7+
<key>IDESourceControlProjectIdentifier</key>
8+
<string>433BB087-93D1-44C5-9CDA-8B830D581EEC</string>
9+
<key>IDESourceControlProjectName</key>
10+
<string>XInputSimulator</string>
11+
<key>IDESourceControlProjectOriginsDictionary</key>
12+
<dict>
13+
<key>5B66F958621F83B860CA07FA4EF8EDA03E54E763</key>
14+
<string>https://github.com/pythoneer/XInputSimulator.git</string>
15+
</dict>
16+
<key>IDESourceControlProjectPath</key>
17+
<string>XInputSimulator/XInputSimulator.xcodeproj</string>
18+
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
19+
<dict>
20+
<key>5B66F958621F83B860CA07FA4EF8EDA03E54E763</key>
21+
<string>../../..</string>
22+
</dict>
23+
<key>IDESourceControlProjectURL</key>
24+
<string>https://github.com/pythoneer/XInputSimulator.git</string>
25+
<key>IDESourceControlProjectVersion</key>
26+
<integer>111</integer>
27+
<key>IDESourceControlProjectWCCIdentifier</key>
28+
<string>5B66F958621F83B860CA07FA4EF8EDA03E54E763</string>
29+
<key>IDESourceControlProjectWCConfigurations</key>
30+
<array>
31+
<dict>
32+
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
33+
<string>public.vcs.git</string>
34+
<key>IDESourceControlWCCIdentifierKey</key>
35+
<string>5B66F958621F83B860CA07FA4EF8EDA03E54E763</string>
36+
<key>IDESourceControlWCCName</key>
37+
<string>XInputSimulator</string>
38+
</dict>
39+
</array>
40+
</dict>
41+
</plist>

XInputSimulator/xinputsimulatorimplmacos.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
#ifndef XINPUTSIMULATORIMPLMACOS_H
2222
#define XINPUTSIMULATORIMPLMACOS_H
2323

24+
#include <CoreFoundation/CoreFoundation.h>
25+
#include <CoreGraphics/CoreGraphics.h>
26+
#include <Carbon/Carbon.h> /* For kVK_ constants, and TIS functions. */
27+
2428
#include "xinputsimulatorimpl.h"
2529

2630
class XInputSimulatorImplMacOs : public XInputSimulatorImpl
@@ -33,6 +37,7 @@ class XInputSimulatorImplMacOs : public XInputSimulatorImpl
3337
size_t displayY;
3438

3539
void initCurrentMousePosition();
40+
CFStringRef createStringForKey(CGKeyCode keyCode);
3641

3742
public:
3843
XInputSimulatorImplMacOs();

0 commit comments

Comments
 (0)