Button Operation Functions

Button Operation

Function

Default Key

Perform button 1 operations

pointer_button1_key

keypad_*

Perform button 2 operations

pointer_button2_key

keypad_/

Perform button 3 operations

pointer_button3_key

keypad_+

Perform button 4 operations

pointer_button4_key

keypad_-

Perform button 5 operations

pointer_button5_key

keypad_7

You can change the mapping of buttons on the pointer by using options in the X*pointerkeys file. The following table lists the X*pointerkeys functions that control button mapping and their default values. Like xmodmap and xset, these functions affect only the X pointer, not any extension input devices.

Button Mapping Functions

Button Mapping

Function

Default Key

Set button 1 value

button_1_value

1

Set button 2 value

button_2_value

2

Set button 3 value

button_3_value

3

Set button 4 value

button_4_value

4

Set button 5 value

button_5_value

5

You can change the key sequence that exits the X Window System. Also, if you use both image and overlay planes, you can change the distance you must move the pointer before you switch planes. The following table lists these options, the X*pointerkeys functions that control them, and their default values:

Reset and Threshold Functions

Option

Function

Default Key

Exit the X Window System

reset

break

Add a modifier to the exit key

reset_mod1

control

Add a modifier to the exit key

reset_mod2

left_shift

Add a modifier to the exit key

reset_mod3

no default

Set the threshold for changing

screen_change_amt

30 pixels (0 if a graphics tablet is

between screens

 

used)

screen_change_amt is used only if your system is configured for more than one screen.

screen_change_amt enables you to avoid switching from one screen to another if you accidentally run the pointer off the edge of the screen. screen_change_amt establishes a "distance threshold" that the pointer must exceed before the server switches screens. As the previous table shows, the default width of the threshold is 30 pixels, but acceptable values range from 0 to 255.

When a graphics tablet is used as the X pointer, the screen_change_amt defines an area at the left and right edges of the tablet surface that will be used to control screen changes. Moving the puck or stylus into the left or right area will cause the X server to switch to the previous or next screen.

Page 93

Graphics Administration Guide for HP-UX 10.20