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 {
135135 deviceFile * os.File
136136}
137137
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
139139// the exact position the cursor should move to. Therefore, it is necessary to define the size
140140// of the rectangle in which the cursor may move upon creation of the device.
141141type TouchPad interface {
Original file line number Diff line number Diff line change @@ -93,13 +93,13 @@ func TestBasicTouchPadMoves(t *testing.T) {
9393 t .Fatalf ("Failed to create the virtual touch pad. Last error was: %s\n " , err )
9494 }
9595
96- err = absDev .MoveTo (0 ,0 )
96+ err = absDev .MoveTo (0 , 0 )
9797 if err != nil {
9898 t .Fatalf ("Failed to move cursor to initial position. Last error was: %s\n " , err )
9999 }
100100
101101 err = absDev .MoveTo (100 , 200 )
102- if ( err != nil ) {
102+ if err != nil {
103103 t .Fatalf ("Failed to move cursor to position x:100, y:200. Last error was: %s\n " , err )
104104 }
105105 err = absDev .RightClick ()
You can’t perform that action at this time.
0 commit comments