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?
keymap issues
-
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
SVN r.4588, 4590.hidnplayr wrote:Any problems/suggestions?
Всем чмоки в этом проекте! Засуньте эти 11 лет себе в жопу!
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.
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.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
Who is online
Users browsing this forum: No registered users and 1 guest