Skip to main content

public void userEventReceived(UserEvent event)

1 reply [Last post]
bddeveloper
Offline
Joined: 2008-01-14
Points: 0

Hello,

Has anyone seen an issue on any player (soft or hard) where the userEventReceived is called twice in a row for the "KEY_RELEASED" type? This only happens for the arrow keys. A Sample of the code is below:

public void userEventReceived(UserEvent event) {

int type = event.getType();
if (type == HRcEvent.KEY_RELEASED) {
//This code will be executed twice per key press..
}
}

Thank you,

Scott

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dbreitenfeld
Offline
Joined: 2007-03-18
Points: 0

Hi Scott,

We have seen this happen only in Debug mode on certain soft players but we've never seen it on a player. Are you registering multiple key listeners?

Cheers,

Denny B.
-------------------------------------------------------------------------------------------------------------
[i]NetBlender DoStudio Blu-ray Team - DSA - http://dostudio.netblender.com [/i]