HP Visualize J5000 hp workstations - hp-ux 10.20 graphics administration guide - Page 83

Specifying hp-HIL Input Device Use by Device Type and Position

Page 83 highlights

The following example specifies a Spatial System Spaceball® connected to the serial port associated with device file /dev/tty0p0 as the X pointer: Begin_Device_Description Name spaceball.1 Path /dev/tty0p0 Use pointer End_Device_Description More examples of input device specifications for RS-232 input devices are in the /usr/newconfig/etc/X11/X0devices file. Specifying hp-HIL Input Device Use by Device Type and Position The device can be specified using its device type and position by adding an entry to the X*devices file with the following form: # where: Specifies the position of the device on the hp-HIL relative to the other devices on the hp-HIL, for example, "first", "second", and so on. Specifies the type of input device, such as "keyboard", "mouse", or "tablet". Is "keyboard", "mouse", or "other". # Describes device. Comments are optional, but if present, must start with a "#". Separate the parts of your entry with tabs or spaces. The position of an input device on the hp-HIL is relative to other devices of the same type. For example if you have two keyboards, a graphics tablet, and a mouse connected, they are referred to as "first keyboard", "second keyboard", "first tablet", and "first mouse". This syntax is useful for computers on which a single X server is running, and on which no other programs directly access input devices. With this syntax, if you add a new input device to the hp-HIL, you don't have to edit the X*devices file unless the device is of the same type as one already named in the file and you add the device ahead of the existing device. Page 83 Graphics Administration Guide for HP-UX 10.20

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171

The following example specifies a Spatial System Spaceball® connected to the serial port associated
with device file /dev/tty0p0 as the X pointer:
Begin_Device_Description
Name
spaceball.1
Path
/dev/tty0p0
Use
pointer
End_Device_Description
More examples of input device specifications for RS-232 input devices are in the
/usr/newconfig/etc/X11/X0devices
file.
Specifying hp-HIL Input Device Use by Device Type and Position
The device can be specified using its device type and position by adding an entry to the X*devices file
with the following form:
<relative_position> <device_type> <use> #<comments>
where:
<relative_position>
Specifies the position of the device on the hp-HIL relative to the other devices on the hp-HIL, for
example, "first", "second", and so on.
<device_type>
Specifies the type of input device, such as "keyboard", "mouse", or "tablet".
<use>
Is "keyboard", "mouse", or "other".
#<comments>
Describes device. Comments are optional, but if present, must start with a "#".
Separate the parts of your entry with tabs or spaces.
The position of an input device on the hp-HIL is relative to other devices of the same type. For example
if you have two keyboards, a graphics tablet, and a mouse connected, they are referred to as "
first
keyboard
", "
second keyboard
", "
first tablet
", and "
first mouse
".
This syntax is useful for computers on which a single X server is running, and on which no other
programs directly access input devices. With this syntax, if you add a new input device to the hp-HIL,
you don't have to edit the X*devices file unless the device is of the same type as one already named in
the file and you add the device ahead of the existing device.
Graphics Administration Guide for HP-UX 10.20
Page 83