Psion Teklogix 7527S User's Guide Page 193

  • Download
  • Add to my manuals
  • Print
  • Page
    / 262
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 192
Chapter 20: Trigger Control
Overview
Psion Teklogix Mobile Devices SDK Developers Guide 181
20.1 Overview
All Psion Teklogix computers have one or more keyboard [SCAN] buttons, some have [SCAN]
buttons on the side, and some have the option for a pistol grip trigger. Usually, these buttons are all
used to initiate a bar code scan or an RFID read cycle. The Mobile Devices SDK allows you to
select any keyboard key or the pistol grip trigger as the means of controlling hardware activity.
Ownership of the trigger mechanisms can be defined in the Mobile Devices SDK.
Each time a trigger is pressed or released an event is generated. The Mobile Devices SDK also
enables an application to generate simulated trigger events.
20.2 Definition Of Terms
Trigger source: A trigger source causes a trigger event. A trigger source is one of the following:
The pistol grip trigger.
Any key on the keyboard of the Psion Teklogix computer, including any [SCAN] buttons.
Trigger source ID: Each trigger source has a unique trigger source ID in the form of an integer.
Friendly name: Each trigger source can have a user-friendly name. The friendly name appears on
the Manage Triggers Control Panel applet, and only trigger sources with a friendly name defined
can be accessed through the applet. This name—maximum 15 characters— is the name of the
keyboard key or the trigger source, for example:
Grip Trigger
•F1
•Scan
L. Side Scan
If your application creates a new trigger source, and you want to access the trigger source through
the Manage Triggers applet, you must give it a friendly name.
Trigger consumer: An application that receives trigger events. Each trigger consumer is identi-
fied by its unique name—a character string.
Trigger association: A mapping between a trigger source and a trigger consumer.
Double-click time: This is the maximum length of time allowed between two successive presses
of a trigger source for a double-click event to be generated. The default value is 0 (zero).
20.3 Trigger Consumer Registration
Each application that is a trigger consumer must be registered to receive the trigger events. During
registration, a unique trigger consumer name must be associated with the trigger consumer. Once
it is registered, it can be associated with one or more trigger sources. Deregistering a trigger con-
sumer makes all its trigger associations inactive—they become active again when the consumer
registers again.
20.4 Trigger Source IDs
A trigger source ID is associated with the pistol grip trigger or one of the keyboard keys using key-
board remapping. See “Keyboard Remapping” on page 56
for information on how to do this.
Trigger source IDs are unique. The first 256 ID numbers (0-255) are reserved as system (non-key-
board) trigger IDs. Most system trigger IDs will not be available to applications (e.g. most
external scanner triggers). The most notable exception is the pistol-grip trigger, which has the
system trigger ID value of 0 (zero).
Page view 192
1 2 ... 188 189 190 191 192 193 194 195 196 197 198 ... 261 262

Comments to this Manuals

No comments