File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ type vMouse struct {
135
135
deviceFile * os.File
136
136
}
137
137
138
- // A TouchPad is an input device that uses absolute axis events, meaning that you can specifiy
138
+ // A TouchPad is an input device that uses absolute axis events, meaning that you can specify
139
139
// the exact position the cursor should move to. Therefore, it is necessary to define the size
140
140
// of the rectangle in which the cursor may move upon creation of the device.
141
141
type TouchPad interface {
Original file line number Diff line number Diff line change @@ -93,13 +93,13 @@ func TestBasicTouchPadMoves(t *testing.T) {
93
93
t .Fatalf ("Failed to create the virtual touch pad. Last error was: %s\n " , err )
94
94
}
95
95
96
- err = absDev .MoveTo (0 ,0 )
96
+ err = absDev .MoveTo (0 , 0 )
97
97
if err != nil {
98
98
t .Fatalf ("Failed to move cursor to initial position. Last error was: %s\n " , err )
99
99
}
100
100
101
101
err = absDev .MoveTo (100 , 200 )
102
- if ( err != nil ) {
102
+ if err != nil {
103
103
t .Fatalf ("Failed to move cursor to position x:100, y:200. Last error was: %s\n " , err )
104
104
}
105
105
err = absDev .RightClick ()
You can’t perform that action at this time.
0 commit comments