Skip to content

Commit 2de0717

Browse files
authored
Merge pull request #2 from kevinconway/embedded-robotgo
Embedd relevant portions of robotgo
2 parents a10d2d7 + 6fe2b14 commit 2de0717

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+8186
-107
lines changed

.travis.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ services:
55
- xvfb
66
addons:
77
homebrew:
8+
update: true
89
packages:
910
- go@1.13
1011
- make
@@ -24,15 +25,6 @@ addons:
2425
- libx11-dev
2526
- xorg-dev
2627
- libxtst-dev
27-
- libpng++-dev
28-
- xcb
29-
- libxcb-xkb-dev
30-
- x11-xkb-utils
31-
- libx11-xcb-dev
32-
- libxkbcommon-x11-dev
33-
- libxkbcommon-dev
34-
- xsel
35-
- xclip
3628
os:
3729
- linux
3830
- osx

README.md

Lines changed: 59 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ computer so I could write and draw on digital whiteboards. It turns out, it can!
1010

1111
There's a great implementation of this feature written in Python at
1212
https://github.com/Evidlo/remarkable_mouse. I'm working on this implementation
13-
so that I can eventually offer pre-built binaries that don't require a
14-
specific language to be installed on the host machine.
13+
so that I can offer pre-built binaries that don't require a specific language to
14+
be installed on the host machine.
1515

1616
## Docs
1717

@@ -22,15 +22,15 @@ the project. To view the code API documentation check out the
2222
## Setup And Configuration
2323

2424
The easiest way to get started is to download the pre-compiled binary from the
25-
latest release at https://github.com/kevinconway/remouseable/releases/latest. The
26-
files are named after the OS for which they are built. All builds are currently
27-
64 bit. If you need to build for a different environment see the `Building`
28-
section for instructions.
25+
latest release at https://github.com/kevinconway/remouseable/releases/latest.
26+
The files are named after the OS for which they are built. All builds are
27+
currently 64 bit. If you need to build for a different environment see the
28+
`Building` section for instructions.
2929

3030
Most settings default to the correct values. The only value you should need to
3131
set in the common case is the SSH password for the tablet. This password value
32-
is found in the `About` tab of the tablet menu at the bottom of the
33-
`General Information` section. You may either give the password as text with
32+
is found in the `About` tab of the tablet menu at the bottom of the `General
33+
Information` section. You may either give the password as text with
3434

3535
```bash
3636
remouseable --ssh-password="XYZ123"
@@ -44,10 +44,11 @@ remouseable --ssh-password="-"
4444

4545
Run one of these commands with your device connected over USB and your stylus
4646
will become a mouse. The stylus is actually active _before_ it touches the
47-
screen which means you can see your mouse move without directly touching the
48-
tablet. Once you touch the tablet surface with the stylus the computer mouse
49-
will click and hold down the left mouse button while you write or draw and then
50-
release the button when you lift the stylus.
47+
screen. This means you can see your mouse move by hovering the stylus just above
48+
the writing surface but without directly touching the tablet. Once you touch the
49+
tablet surface with the stylus the computer mouse will click and hold down the
50+
left mouse button while you write or draw and then release the button when you
51+
lift the stylus.
5152

5253
### Easier SSH Setup
5354

@@ -57,11 +58,12 @@ use either password-less authentication or use a key pair that is encrypted with
5758
the password of your choice rather than the device's default password.
5859

5960
If you'd like to create a key pair especially for accessing the reMarkable
60-
tablet then start with a guide like https://help.github.com/en/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent that walks through
61-
creating a new key pair and registering it with your SSH agent. For advanced
62-
SSH users, such as those using the gpg-agent as the SSH agent, the reMouse
63-
application will talk to any valid SSH agent implementation so long as the
64-
`SSH_AUTH_SOCK` value is set correctly.
61+
tablet then start with a guide like
62+
<https://help.github.com/en/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent>
63+
that walks through creating a new key pair and registering it with your SSH
64+
agent. For advanced SSH users, such as those using the gpg-agent as the SSH
65+
agent, the reMouse application will talk to any valid SSH agent implementation
66+
so long as the `SSH_AUTH_SOCK` value is set correctly.
6567

6668
Once you have a key pair ready, copy the public key value from `ssh-add -L` for
6769
the key you want to use. Then copy the key over to your tablet with:
@@ -112,16 +114,40 @@ exit status 2
112114

113115
## Building
114116

115-
If you want to build this for a specific environment then first make sure you
116-
have all the system dependencies required by https://github.com/go-vgo/robotgo
117-
which is the default driver used to control the mouse. After that, it should be
118-
a matter of:
117+
The project should build under OSX, Linux, and Windows environments. To build
118+
your environment will need the following:
119119

120-
```bash
121-
go get
122-
make build # alteratively, go build main.go if you want to pass custom options
120+
**All Environments**:
121+
122+
```
123+
Go1.13 or higher
124+
GCC
123125
```
124126

127+
**OSX**:
128+
129+
```
130+
Xcode
131+
Xcode command line tools
132+
```
133+
134+
**Windows**:
135+
136+
```
137+
MinGW-w64 (or other compiler)
138+
```
139+
140+
**Linux**:
141+
142+
```
143+
x11 dev headers
144+
xtst dev headers
145+
xorg dev headers
146+
```
147+
148+
With those dependencies installed you can then run `make build` from the
149+
root of the repository to generate a binary.
150+
125151
## How It Works
126152

127153
The project is implemented as a set of successive layers that turn the tablet
@@ -135,8 +161,15 @@ into a mouse. It follows as:
135161
on the host machine.
136162

137163
Each of these layers has an interface defined in the `pkg/domain.go` file.
138-
The mouse interactions on the host are performed by using
139-
https://github.com/go-vgo/robotgo.
164+
165+
The mouse interactions on the host are performed by using a modified version of
166+
<https://github.com/go-vgo/robotgo>. The `pkg/internal/robotgo` directory
167+
contains a stripped down version of `robotgo` that contains only the portions
168+
required to detect the screen dimensions and send mouse events. The actual
169+
`robotgo` project contains support for a much larger set of features such as
170+
taking screen shots and controlling windows on the screen. However, each of
171+
those additional features comes with additional system dependencies that make
172+
creating a portable binary build difficult.
140173

141174
## License
142175

go.mod

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,10 @@ go 1.13
44

55
require (
66
github.com/dave/jennifer v1.3.0
7-
github.com/go-vgo/robotgo v0.0.0-20191018140737-b5f6d20a7499
7+
github.com/davecgh/go-spew v1.1.1 // indirect
88
github.com/golang/mock v1.3.1
9-
github.com/lxn/win v0.0.0-20190919090605-24c5960b03d8 // indirect
10-
github.com/robotn/gohook v0.0.0-20191018141001-a745895ba8c0 // indirect
11-
github.com/shirou/gopsutil v2.19.9+incompatible // indirect
129
github.com/spf13/pflag v1.0.5
1310
github.com/stretchr/testify v1.4.0
14-
github.com/vcaesar/gops v0.0.0-20190925182457-e78977925145 // indirect
15-
github.com/vcaesar/imgo v0.0.0-20191008162304-a83ea7753bc8 // indirect
1611
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550
17-
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 // indirect
1812
golang.org/x/sys v0.0.0-20191018095205-727590c5006e
1913
)

go.sum

Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,30 @@
1-
bou.ke/monkey v1.0.1/go.mod h1:FgHuK96Rv2Nlf+0u1OOVDpCMdsWyOFmeeketDHE7LIg=
2-
github.com/BurntSushi/freetype-go v0.0.0-20160129220410-b763ddbfe298/go.mod h1:D+QujdIlUNfa0igpNMk6UIvlb6C252URs4yupRUV4lQ=
3-
github.com/BurntSushi/graphics-go v0.0.0-20160129215708-b43f31a4a966/go.mod h1:Mid70uvE93zn9wgF92A/r5ixgnvX8Lh68fxp9KQBaI0=
4-
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
5-
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d h1:G0m3OIz70MZUWq3EgK3CesDbo8upS2Vm9/P3FtgI+Jk=
6-
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
71
github.com/dave/jennifer v1.3.0 h1:p3tl41zjjCZTNBytMwrUuiAnherNUZktlhPTKoF/sEk=
82
github.com/dave/jennifer v1.3.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg=
93
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
104
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
115
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
12-
github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8=
13-
github.com/go-ole/go-ole v1.2.4 h1:nNBDSCOigTSiarFpYE9J/KtEA1IOW4CNeqT9TQDqCxI=
14-
github.com/go-ole/go-ole v1.2.4/go.mod h1:XCwSNxSkXRo4vlyPy93sltvi/qJq0jqQhjqQNIwKuxM=
15-
github.com/go-vgo/robotgo v0.0.0-20191016160903-e0ecc78a58b2 h1:jGYM62ebiAicxkEHYxXEPOUoqFql8LT+MXCRZ4eoK20=
16-
github.com/go-vgo/robotgo v0.0.0-20191016160903-e0ecc78a58b2/go.mod h1:kogHjaCVyms36EXdBvjTw2iUjgRldmPBUx3huWSbdZc=
17-
github.com/go-vgo/robotgo v0.0.0-20191018140737-b5f6d20a7499 h1:3VTiCAnK/qwUpskdQDsvsc+BViGvcHSzTF7SmjkYwd0=
18-
github.com/go-vgo/robotgo v0.0.0-20191018140737-b5f6d20a7499/go.mod h1:kogHjaCVyms36EXdBvjTw2iUjgRldmPBUx3huWSbdZc=
196
github.com/golang/mock v1.3.1 h1:qGJ6qTW+x6xX/my+8YUVl4WNpX9B7+/l2tRsHGZ7f2s=
207
github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
21-
github.com/lxn/win v0.0.0-20190910083938-ae3bd9765f46 h1:irZ+wYKCpwPPsAhaIl4r89ZMCE0pRvgtnrl0EYP0Ps0=
22-
github.com/lxn/win v0.0.0-20190910083938-ae3bd9765f46/go.mod h1:ouWl4wViUNh8tPSIwxTVMuS014WakR1hqvBc2I0bMoA=
23-
github.com/lxn/win v0.0.0-20190919090605-24c5960b03d8 h1:RVMGIuuNgrpGB7I79f6xfhGCkpN47IaEGh8VTM0p7Xc=
24-
github.com/lxn/win v0.0.0-20190919090605-24c5960b03d8/go.mod h1:ouWl4wViUNh8tPSIwxTVMuS014WakR1hqvBc2I0bMoA=
25-
github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE=
26-
github.com/otiai10/curr v0.0.0-20190513014714-f5a3d24e5776/go.mod h1:3HNVkVOU7vZeFXocWuvtcS0XSFLcf2XUSDHkq9t1jU4=
27-
github.com/otiai10/gosseract v2.2.1+incompatible h1:Ry5ltVdpdp4LAa2bMjsSJH34XHVOV7XMi41HtzL8X2I=
28-
github.com/otiai10/gosseract v2.2.1+incompatible/go.mod h1:XrzWItCzCpFRZ35n3YtVTgq5bLAhFIkascoRo8G32QE=
29-
github.com/otiai10/mint v1.2.4/go.mod h1:d+b7n/0R3tdyUYYylALXpWQ/kTN+QobSq/4SRGBkR3M=
308
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
319
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
32-
github.com/robotn/gohook v0.0.0-20190905174353-5bea7a10cc3a h1:mO88NwjGgGRLCo5HuXqjewR/m294XJ0OcyqRmhtl2d4=
33-
github.com/robotn/gohook v0.0.0-20190905174353-5bea7a10cc3a/go.mod h1:YD5RyCnUEY2xqtkkgeQVZ31UAfAnVPwUxpTE5cwSXg4=
34-
github.com/robotn/gohook v0.0.0-20191010171132-4f5b3ead12b1 h1:GrTB8vko9FgltyfxdQ68jc2Xt6Dt1uWyQvjHn0Q8zmg=
35-
github.com/robotn/gohook v0.0.0-20191010171132-4f5b3ead12b1/go.mod h1:YD5RyCnUEY2xqtkkgeQVZ31UAfAnVPwUxpTE5cwSXg4=
36-
github.com/robotn/gohook v0.0.0-20191018141001-a745895ba8c0 h1:vpFHSXio/YgjUwNRKdsg7uuobLxWJn2PN8U9BQZJjvg=
37-
github.com/robotn/gohook v0.0.0-20191018141001-a745895ba8c0/go.mod h1:YD5RyCnUEY2xqtkkgeQVZ31UAfAnVPwUxpTE5cwSXg4=
38-
github.com/robotn/xgb v0.0.0-20190912153532-2cb92d044934 h1:2lhSR8N3T6I30q096DT7/5AKEIcf1vvnnWAmS0wfnNY=
39-
github.com/robotn/xgb v0.0.0-20190912153532-2cb92d044934/go.mod h1:SxQhJskUJ4rleVU44YvnrdvxQr0tKy5SRSigBrCgyyQ=
40-
github.com/robotn/xgbutil v0.0.0-20190912154524-c861d6f87770 h1:2uX8QRLkkxn2EpAQ6I3KhA79BkdRZfvugJUzJadiJwk=
41-
github.com/robotn/xgbutil v0.0.0-20190912154524-c861d6f87770/go.mod h1:svkDXUDQjUiWzLrA0OZgHc4lbOts3C+uRfP6/yjwYnU=
42-
github.com/shirou/gopsutil v2.19.6+incompatible h1:49/Gru26Lne9Cl3IoAVDZVM09hvkSrUodgIIsCVRwbs=
43-
github.com/shirou/gopsutil v2.19.6+incompatible/go.mod h1:WWnYX4lzhCH5h/3YBfyVA3VbLYjlMZZAQcW9ojMexNc=
44-
github.com/shirou/gopsutil v2.19.9+incompatible h1:IrPVlK4nfwW10DF7pW+7YJKws9NkgNzWozwwWv9FsgY=
45-
github.com/shirou/gopsutil v2.19.9+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA=
46-
github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4 h1:udFKJ0aHUL60LboW/A+DfgoHVedieIzIXE8uylPue0U=
47-
github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4/go.mod h1:qsXQc7+bwAM3Q1u/4XEfrquwF8Lw7D7y5cD8CuHnfIc=
4810
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
4911
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
5012
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
51-
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
52-
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
53-
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
5413
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
5514
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
56-
github.com/vcaesar/gops v0.0.0-20190910162627-58ac09d12a53 h1:tYb/9KQi8dTCSDia2NwbuhUbKlaurqC/S7MFQo96nLk=
57-
github.com/vcaesar/gops v0.0.0-20190910162627-58ac09d12a53/go.mod h1:5txYrXKrQG6ZJYdGIiMVVxiOhbdACnwBcHzIwGQ7Nkw=
58-
github.com/vcaesar/gops v0.0.0-20190925182457-e78977925145 h1:PP3MefIInaTRylzETaQace0f4o0WkBM4NFDbDuaJZJM=
59-
github.com/vcaesar/gops v0.0.0-20190925182457-e78977925145/go.mod h1:5txYrXKrQG6ZJYdGIiMVVxiOhbdACnwBcHzIwGQ7Nkw=
60-
github.com/vcaesar/imgo v0.0.0-20190523174309-2cf5275c2a13 h1:BsisshViEpto+nl0UUMo06z9LmsgLKCRrJDAmN+wzLo=
61-
github.com/vcaesar/imgo v0.0.0-20190523174309-2cf5275c2a13/go.mod h1:D+Ywq+8bsOIg4nUk1lgHtPGxYxknhySi/HfZjG7VN/g=
62-
github.com/vcaesar/imgo v0.0.0-20191008162304-a83ea7753bc8 h1:9Y+hoKBYa+UtzGqkODfs8c0Q6gp2UfniVNsHQWghPi0=
63-
github.com/vcaesar/imgo v0.0.0-20191008162304-a83ea7753bc8/go.mod h1:52+3yYrTNjWKh+CkQozNRCLWCE/X666yAWPGbYC3DZI=
64-
github.com/vcaesar/tt v0.0.0-20190713164158-ecee6bc61ac7/go.mod h1:xKkGp+ufbz/1DQmNxdbAMFqZJOVIJEX7dGvLZMhPIWg=
6515
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
6616
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 h1:ObdrDkeb4kJdCP557AjRjq69pTHfNouLtWZG7j9rPN8=
6717
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
68-
golang.org/x/image v0.0.0-20181116024801-cd38e8056d9b/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs=
69-
golang.org/x/image v0.0.0-20190910094157-69e4b8554b2a h1:gHevYm0pO4QUbwy8Dmdr01R5r1BuKtfYqRqF0h/Cbh0=
70-
golang.org/x/image v0.0.0-20190910094157-69e4b8554b2a/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
71-
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 h1:hVwzHzIUGRjiF7EcUjqNxk3NCfkPxbDKRdnNE1Rpg0U=
72-
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
7318
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
7419
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
75-
golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
7620
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
77-
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
7821
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
7922
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
80-
golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
81-
golang.org/x/sys v0.0.0-20190910064555-bbd175535a8b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
82-
golang.org/x/sys v0.0.0-20190912141932-bc967efca4b8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
83-
golang.org/x/sys v0.0.0-20191010194322-b09406accb47 h1:/XfQ9z7ib8eEJX2hdgFTZJ/ntt0swNk5oYBziWeTCvY=
84-
golang.org/x/sys v0.0.0-20191010194322-b09406accb47/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
8523
golang.org/x/sys v0.0.0-20191018095205-727590c5006e h1:ZtoklVMHQy6BFRHkbG6JzK+S6rX82//Yeok1vMlizfQ=
8624
golang.org/x/sys v0.0.0-20191018095205-727590c5006e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
8725
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
8826
golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
27+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
8928
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
9029
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
9130
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

pkg/driver.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414

1515
package remouseable
1616

17-
import (
18-
"github.com/go-vgo/robotgo"
19-
)
17+
import "github.com/kevinconway/remouseable/pkg/internal/robotgo"
2018

2119
// RobotgoDriver implements Driver using the robotgo cgo library.
2220
type RobotgoDriver struct{}

pkg/internal/robotgo/base/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The software is licensed under the terms of the MIT license.
2+
3+
Copyright 2010 Michael Sanders, AE and the go-vgo Project Developers.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

0 commit comments

Comments
 (0)