Skip to main content

KeyboardInputMode and longPress

3 replies [Last post]
hallenberg
Offline
Joined: 2007-01-05

I've noticed that there hasn't been much work done (if any?) on Feature for a while now, or so it seems. I guess this is more of a bug report than a question, but I couldn't figure out how to fix it myself or remember how you submit actual bug reports. KeyboardInputMode in chameleon can't handle key events if longPress is true. The key gets "stuck" and is never considered released, thus eventually filling the entire input buffer. I'm using the latest MR2 release...

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
hallenberg
Offline
Joined: 2007-01-05

The problem seems to be fixed by switching:
repeatSupport = KNI_TRUE;
to
repeatSupport = KNI_FALSE
in
events/input_port/fb/native/fb_handle_input.c

olga_milovskaya
Offline
Joined: 2006-10-18

Thank you for your report. I am not sure this way is correct because long press is emulated by handling of repeated key events. We'll check it more carefully as soon as posible

hallenberg
Offline
Joined: 2007-01-05

I might add that this problem is true for Linux (on ARM) with the keyboard connected by USB, where the OS itself handles keyboard repeats. Other platforms might not have this problem.