Mailing list archives : pcb-rnd

ID:4279
From:ge...@igor2.repo.hu
Date:Sat, 15 Aug 2020 10:11:30 +0200 (CEST)
Subject:[pcb-rnd] new: optional keyboard translation support (useful for non-english
Hi all,
 
pcb-rnd is designed to speak English and somwhat assumes users are on 
English keyboard layout. Since version 2.0.0 with the longer key sequences 
and less tricky characters and modifiers this matters much less, as "press 
t" is something any user can do on any layout. But there are still some 
nasty corner cases, for exmaple some layouts swap some keys randomly, like 
z<->y or q<->a.
 
Because of how we handle the keyboard for hotkeys, we can't really 
consider these swaps directly from the code. The new feature is a 
configurable translation table where the user can specify arbitrary key 
translations the code will apply on hotkey processing as first step. This 
way uses of non-english layout can specify those swaps and/or can map 
hard-to-reach characters to easier to easier-to-reach combinations.
 
Both CLI (config file) and GUI (preferences dialog) setup are provided.
 
The following pool node describes all aspects in details:
 
http://repo.hu/cgi-bin/pool.cgi?cmd=show&node=key_non_us
 
Best regards,
 
Igor2
 
 

Reply subtree:
4279 [pcb-rnd] new: optional keyboard translation support (useful for non-english from ge...@igor2.repo.hu