Board.KolibriOS.org
http://board.kolibrios.org/

keymap issues
http://board.kolibrios.org/viewtopic.php?f=35&t=2685
Page 1 of 1

Author:  hidnplayr [ Sun Apr 27, 2014 1:19 pm ]
Post subject:  keymap issues

Hi,

Some keys on the keyboard have no ASCII code.
Yet, KolibriOS returns ASCII codes for most of them.
Take for example the f-keys, they return ASCII codes for the numbers "2", "3", "4", ...

My proposal:
Update keymaps in kernel and setup/panel applications so that these keys will return ASCII code 0 (NULL).
The code in kernel will also need to be updated because now it does not allow code 0.

Any problems/suggestions?

Author:  Mario_r4 [ Sun Apr 27, 2014 9:24 pm ]
Post subject:  Re: keymap issues

hidnplayr wrote:
Any problems/suggestions?

SVN r.4588, 4590.

Author:  hidnplayr [ Sun Apr 27, 2014 9:36 pm ]
Post subject:  Re: keymap issues

Mario:
The problem lies in the fact that returned ASCII codes are invalid for some keys.
For example, pressing F1 key in MTDBG will show up as "2" in the textbox.
It's possible to filter these keys out at the application level, by using the scancodes, but it's not a good solution IMHO.

Page 1 of 1 All times are UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/