Tuesday, March 3, 2015

Trying to use transcription foot pedal with GWT... issue with key events...

Hi all...

So I have a requirement to add transcription foot-pedal support to a GWT app.  I bought a USB foot pedal, and the company who writes software for it makes a small utility that outputs any key sequence you like based upon which pedal is pressed (this unit has 3 pedals).

Unfortunately, when the event is received in GWT, the various methods on the event to determine Shift/Control/Alt key values (eg. getAltKey()/isAltKeyPressed()) don't give the correct value.

This may be browser dependent, not sure.

In any case, I'm suspecting that the values available in the event are related to the actual state of those keys on the keyboard, and the utility's attempt to emulate that from the foot pedal doesn't carry across properly.

I know that this is likely browser-dependent and not GWT implementation dependent, but I was wondering if anyone has had any experience integrating foot pedals into GWT apps, or know something about how these keyboard-emulation utilities work such that meta-key state isn't properly brought across in the generated keyboard event.

- Tim

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment