Psion Teklogix 7527S User's Guide Page 196

  • Download
  • Add to my manuals
  • Print
  • Page
    / 262
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 195
Chapter 20: Trigger Control
Simulated Events
184 Psion Teklogix Mobile Devices SDK Developers Guide
Single-click flag: This flag is set when a trigger source is pressed and released within ½ the
double-click time configured for that trigger source. The double-click time must be greater than
0(zero).
Double-click flag: This flag is set when a trigger source is pressed twice within the double-click
time configured for that trigger source. The double-click time must be greater than 0 (zero).
20.7.1 Simulated Events
The Mobile Devices SDK can generate a simulated trigger event. This is forwarded to the trigger
driver. The trigger driver sends the event to all registered trigger consumers which also have a
trigger association with the specified trigger event source.
This method generates both trigger-up and trigger-down events.
Any application that simulates trigger events using this method must be well behaved. A trig-
ger-down event must always be followed by a trigger-up event. Sending out multiple trigger-down
and trigger-up events in a row can result in unexpected behaviour. An application must not remove
a trigger association after a trigger-down event—the associated trigger-up event must be simulated
before the association is ended.
20.7.2 Single-Click Events And Double-Click Events
Single-click events and double-click events can be generated by any trigger source, if the config-
ured double-click time for the trigger source is not 0 (zero).
20.8 Trigger Control API Elements
C++: The trigger on all Psion Teklogix computers is controlled using the
PsionTeklogix::Trigger namespace.
Java: The trigger on all Psion Teklogix computers is controlled using the
com.teklogix.trigger package.
.NET: The trigger on all Psion Teklogix computers is controlled using the
PsionTeklogix.Trigger namespace.
Event Sequence (> = followed by) Generated When...
Trigger-down event > trigger-up event
with the single-click event flag set.
A trigger source is pressed and
released within ½ the configured
double-click time.
Trigger-down event > trigger-up event
with the single-click event flag set >
trigger-down event with the doubleclick flag set >
trigger-up event with the double-click flag set.
A trigger source is pressed and
released within ½ the configured
double-click time, and it is pressed
and released a second time before the
double-click time expires.
Trigger-down event > trigger-up event
with the single-click event flag set >
trigger-down event with the doubleclick flag set >
trigger-up event.
A trigger source is pressed and
released within ½ the configured
double-click time, and it is pressed a
second time—but not released—
before the double-click time expires.
Page view 195
1 2 ... 191 192 193 194 195 196 197 198 199 200 201 ... 261 262

Comments to this Manuals

No comments