Edit the AccessKeyMouseEvents file to associate
switch, key, or button gestures with assistive technologies. Since the primary
input device for many On-Screen Keyboard
users
is a switch or button, this is a good way to enable users to start On-Screen Keyboard
at login time.
If there is a tendency for a user to start an application unintentionally,
you can associate the gestures with multiple switch presses or minimum durations.
For example, the following line starts On-Screen Keyboard
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:
Solaris:
<Switch2>3 100 2000 /usr/sfw/bin/gok --login --accessmethod=inversescanning --scan-action=switch1 --select-action=switch2
Linux:
<Switch2>3 100 2000 gok --login --accessmethod=inversescanning --scan-action=switch1 --select-action=switch2
Users who use single switches may prefer to start On-Screen
Keyboard
in automatic scanning mode. The following line starts On-Screen Keyboard
in automatic scanning mode when the user
presses the switch on an alternative access device for more than four seconds:
Solaris:
<Switch>1 4000 5000 /usr/sfw/bin/gok --login --accessmethod=automaticscanning --scan-action=switch1 --select-action=switch1
Linux:
<Switch>1 4000 5000 gok --login --accessmethod=automaticscanning --scan-action=switch1 --select-action=switch1
For information about the On-Screen Keyboard
operating modes, see the online Help for On-Screen Keyboard
.