ijprest / keyboard-layout-editor

Web application to enable the design & editing of keyboard layouts
http://www.keyboard-layout-editor.com/
Other
1.3k stars 241 forks source link

XKB support? #299

Open bam80 opened 3 years ago

bam80 commented 3 years ago

Any chance to add ability to load/edit/save XKB layout descriptions? It's de-facto standard to handle keyboard layouts on Linux (X11/Wayland).

Here we have 20 years-old bug report requesting this feature: https://bugs.kde.org/show_bug.cgi?id=30481

Albert-S-Briscoe commented 2 years ago

I'm working on a tool to convert the XKB geometry section (an obsolete and poorly documented but very powerful physical keyboard description built into XKB) to a JSON file that works on this. If you're still interested, are there any features you'd specifically want?

HughP commented 2 years ago

Yes I’m interested in this tool. Got a link?

On Sun, Mar 20, 2022 at 4:19 PM Albert-S-Briscoe @.***> wrote:

I'm working on a tool to convert the XKB geometry section (an obsolete and poorly documented but very powerful physical keyboard description built into XKB) to a JSON file that works on this. If you're still interested, are there any features you'd specifically want?

— Reply to this email directly, view it on GitHub https://github.com/ijprest/keyboard-layout-editor/issues/299#issuecomment-1073370548, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAJ2JS363ALVRHFLAZRXNTVA6W63ANCNFSM4YUDO2QA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- All the best, -Hugh

Sent from my iPhone

Albert-S-Briscoe commented 2 years ago

I'm still working on it, but I'll put it on github soon, probably within a day or two. It's a heavily modified version of xkbprint with an original goal of Unicode keysym labels. It currently supports keyboard layouts with multiple sections and horizontal rows, and can show up to 2 groups with 3 levels per group.

Albert-S-Briscoe commented 2 years ago

It's still a work in progress, but a working version is now on my github. https://github.com/Albert-S-Briscoe/xkbprint-kle