denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fixing keyboard bugs in a portable way


From: Richard Shann
Subject: Re: Fixing keyboard bugs in a portable way
Date: Wed, 01 Jul 2020 17:56:41 +0100

On Wed, 2020-07-01 at 10:55 -0500, David Richmond wrote:
> On a separate thread, Richard and I were discussing problems with the
> keyboard shortcuts on MacOS.
> 
> I did a little digging, and it seems that this issue of hardware
> keycodes is not even platform-independent on Linux: https://www.berra
> nge.com/tags/key-codes/
> 
> So, I replaced the direct keycode logic in dnm_clean_event () with a
> GDK call that pulls out what GDK calls the "first level" for a given
> hardware code. We can just pass the hardware code from the key event
> to get it. That gives us back, for example, lowercase letters instead
> of uppercase with shift, and numbers on the top-row number keys
> instead of, e.g., the parentheses.
> 
> I opened a pull request on github with the relevant changes.

I didn't know of the existence of this github repository - Denemo's
official repository is on Savannah(*) - this one seems to mirror it.
Could you send a patch with the changes you have? I can then test it on
GNU/Linux and Windows (an ancient Vista laptop someone gave me, but it
seems to be ok as a proxy for modern windows machines).

Richard
(*)
http://git.savannah.gnu.org/gitweb/?p=denemo.git;a=summary




reply via email to

[Prev in Thread] Current Thread [Next in Thread]