Board.KolibriOS.org

Official KolibriOS board
It is currently Tue Jun 25, 2019 8:55 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: keymap issues
PostPosted: Sun Apr 27, 2014 1:19 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
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?

_________________
"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


Top
   
 Post subject: Re: keymap issues
PostPosted: Sun Apr 27, 2014 9:24 pm 
Offline
Kernel Developer

Joined: Sun Feb 10, 2013 12:37 pm
Posts: 2329
hidnplayr wrote:
Any problems/suggestions?

SVN r.4588, 4590.

_________________
Всем чмоки в этом проекте! Засуньте эти 11 лет себе в жопу!


Top
   
 Post subject: Re: keymap issues
PostPosted: Sun Apr 27, 2014 9:36 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
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.

_________________
"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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited