Hi, guys.
I've noticed some problems with keyboard input while testing my favorite Listview control code. The problem is that Ctrl/Shift don't fire WM_KEYDOWNs properly: they don't trigger autorepeat.
Is it a known input processing problem?
P.S. Alt key is different cause it generates WM_SYSKEYDOWN which isn't supported by control yet.
"Nikolay Sivov" bunglehead@gmail.com wrote:
I've noticed some problems with keyboard input while testing my favorite Listview control code. The problem is that Ctrl/Shift don't fire WM_KEYDOWNs properly: they don't trigger autorepeat.
Is it a known input processing problem?
http://bugs.winehq.org/show_bug.cgi?id=18296 ?
Dmitry Timoshkov wrote:
"Nikolay Sivov" bunglehead@gmail.com wrote:
I've noticed some problems with keyboard input while testing my favorite Listview control code. The problem is that Ctrl/Shift don't fire WM_KEYDOWNs properly: they don't trigger autorepeat.
Is it a known input processing problem?
Actually, no. I don't have unneeded keyups, the problem is that function keys don't autorepeat while letter keys do it properly.
On Thursday 26 November 2009 11:27:24 am Nikolay Sivov wrote:
Dmitry Timoshkov wrote:
"Nikolay Sivov" bunglehead@gmail.com wrote:
I've noticed some problems with keyboard input while testing my favorite Listview control code. The problem is that Ctrl/Shift don't fire WM_KEYDOWNs properly: they don't trigger autorepeat.
Is it a known input processing problem?
Actually, no. I don't have unneeded keyups, the problem is that function keys don't autorepeat while letter keys do it properly.
Are you using an USB keyboard? Can you experiment on a computer with PS/2 keyboard?
I ask because USB HID doesn't provide autorepeat, that is emulated in kernel. Besides, modifier keys (there can be maximum 8 of them) are treated differently by HID keyboard spec.
Paul Chitescu wrote:
On Thursday 26 November 2009 11:27:24 am Nikolay Sivov wrote:
Dmitry Timoshkov wrote:
"Nikolay Sivov" bunglehead@gmail.com wrote:
I've noticed some problems with keyboard input while testing my favorite Listview control code. The problem is that Ctrl/Shift don't fire WM_KEYDOWNs properly: they don't trigger autorepeat.
Is it a known input processing problem?
Actually, no. I don't have unneeded keyups, the problem is that function keys don't autorepeat while letter keys do it properly.
Are you using an USB keyboard? Can you experiment on a computer with PS/2 keyboard?
I ask because USB HID doesn't provide autorepeat, that is emulated in kernel. Besides, modifier keys (there can be maximum 8 of them) are treated differently by HID keyboard spec.
I'm using PS/2 through vmware running Lenny.
On Thursday 26 November 2009 11:27:24 am Nikolay Sivov wrote:
Dmitry Timoshkov wrote:
"Nikolay Sivov" bunglehead@gmail.com wrote:
I've noticed some problems with keyboard input while testing my favorite Listview control code. The problem is that Ctrl/Shift don't fire WM_KEYDOWNs properly: they don't trigger autorepeat.
Is it a known input processing problem?
Actually, no. I don't have unneeded keyups, the problem is that function keys don't autorepeat while letter keys do it properly.
Have you tested to see if those keys are auto-repeating under linux (i.e., try to run xev and see if they are repeating)? AFAIK they don't usually autorepeat in Linux, and Wine does not simulate autorepeating; if it's not autorepeating under Linux, it will not autorepeat in Wine.
Fábio Oliveira Schmidt Capela darkwalker_@yahoo.com
F Capela wrote:
On Thursday 26 November 2009 11:27:24 am Nikolay Sivov wrote:
Dmitry Timoshkov wrote:
"Nikolay Sivov" bunglehead@gmail.com wrote:
I've noticed some problems with keyboard input while testing my favorite Listview control code. The problem is that Ctrl/Shift don't fire WM_KEYDOWNs properly: they don't trigger autorepeat.
Is it a known input processing problem?
Actually, no. I don't have unneeded keyups, the problem is that function keys don't autorepeat while letter keys do it properly.
Have you tested to see if those keys are auto-repeating under linux (i.e., try to run xev and see if they are repeating)? AFAIK they don't usually autorepeat in Linux, and Wine does not simulate autorepeating; if it's not autorepeating under Linux, it will not autorepeat in Wine.
You're right. There's no autorepeat running my system, so Wine is ok here. Thanks for your answer. No questions.
Fábio Oliveira Schmidt Capela darkwalker_@yahoo.com