You can use button, key, or switch actions to start assistive technologies.
Since the primary input device for many GOK
users
is a switch or button, this is a good way to enable users to start GOK at login time.
To reduce the likelihood of starting an application unintentionally,
you can associate the gestures with multiple switch presses or minimum durations.
For example, the following line in the file AccessKeyMouseEvents starts GOK
in inverse scanning mode
when the user presses the switch that is defined as Switch 2 three times within
two seconds, for a minimum of 100 milliseconds for each press:
<Switch2>3 100 2000 gok --login --accessmethod=inversescanning --scan-action=switch1 --select-action=switch2
Users who use single switches may prefer to start GOK
in automatic scanning mode. The following line starts GOK
in automatic scanning mode when the user presses the switch on an alternative
access device for more than four seconds:
<Switch>1 4000 5000 gok --login --accessmethod=automaticscanning --scan-action=switch1 --select-action=switch1
For information about the GOK
operating modes,
see the online Help for GOK
.
The above lines must be displayed as single lines in the AccessKeyMouseEvents file without line breaks. The formatting of this guide might display the lines over two lines.