rdavison/graphite-layout

provided xkb layout appears to be incorrect

Opened this issue · 1 comments

The downloadable xkb symbols available https://keyboard-design.com/letterlayout.html?layout=graphite.en.ansi seem to be incorrect.

This is what is currently on the website:

// Generated by KLFC 1.5.7
// https://github.com/39aldo39/klfc

default
xkb_symbols "basic" {
    key <TLDE> { [        grave,   asciitilde,   VoidSymbol,   VoidSymbol ] };
    key <AE01> { [            1,       exclam,   VoidSymbol,   VoidSymbol ] };
    key <AE02> { [            2,           at,   VoidSymbol,   VoidSymbol ] };
    key <AE03> { [            3,   numbersign,   VoidSymbol,   VoidSymbol ] };
    key <AE04> { [            4,       dollar,   VoidSymbol,   VoidSymbol ] };
    key <AE05> { [            5,      percent,   VoidSymbol,   VoidSymbol ] };
    key <AE06> { [            6,  asciicircum,   VoidSymbol,   VoidSymbol ] };
    key <AE07> { [            7,    ampersand,   VoidSymbol,   VoidSymbol ] };
    key <AE08> { [            8,     asterisk,   VoidSymbol,   VoidSymbol ] };
    key <AE09> { [            9,    parenleft,   VoidSymbol,   VoidSymbol ] };
    key <AE10> { [            0,   parenright,   VoidSymbol,   VoidSymbol ] };
    key <AE11> { [  bracketleft,    braceleft,   VoidSymbol,   VoidSymbol ] };
    key <AE12> { [ bracketright,   braceright,   VoidSymbol,   VoidSymbol ] };
    key <AD01> { [            q,            Q,   VoidSymbol,   VoidSymbol ] };
    key <AD02> { [            l,            L,   VoidSymbol,   VoidSymbol ] };
    key <AD03> { [            d,            D,   VoidSymbol,   VoidSymbol ] };
    key <AD04> { [            w,            W,   VoidSymbol,   VoidSymbol ] };
    key <AD05> { [            z,            Z,   VoidSymbol,   VoidSymbol ] };
    key <AD06> { [   apostrophe,   underscore,   VoidSymbol,   VoidSymbol ] };
    key <AD07> { [            f,            F,   VoidSymbol,   VoidSymbol ] };
    key <AD08> { [            o,            O,   VoidSymbol,   VoidSymbol ] };
    key <AD09> { [            u,            U,   VoidSymbol,   VoidSymbol ] };
    key <AD10> { [            j,            J,   VoidSymbol,   VoidSymbol ] };
    key <AD11> { [    semicolon,        colon,   VoidSymbol,   VoidSymbol ] };
    key <AD12> { [        equal,         plus,   VoidSymbol,   VoidSymbol ] };
    key <BKSL> { [    backslash,          bar,   VoidSymbol,   VoidSymbol ] };
    key <AC01> { [            n,            N,   VoidSymbol,   VoidSymbol ] };
    key <AC02> { [            r,            R,   VoidSymbol,   VoidSymbol ] };
    key <AC03> { [            t,            T,   VoidSymbol,   VoidSymbol ] };
    key <AC04> { [            s,            S,   VoidSymbol,   VoidSymbol ] };
    key <AC05> { [            g,            G,   VoidSymbol,   VoidSymbol ] };
    key <AC06> { [            y,            Y,   VoidSymbol,   VoidSymbol ] };
    key <AC07> { [            h,            H,   VoidSymbol,   VoidSymbol ] };
    key <AC08> { [            a,            A,   VoidSymbol,   VoidSymbol ] };
    key <AC09> { [            e,            E,   VoidSymbol,   VoidSymbol ] };
    key <AC10> { [            i,            I,   VoidSymbol,   VoidSymbol ] };
    key <AC11> { [        comma,     question,   VoidSymbol,   VoidSymbol ] };
    key <AB02> { [            x,            X,   VoidSymbol,   VoidSymbol ] };
    key <AB03> { [            m,            M,   VoidSymbol,   VoidSymbol ] };
    key <AB04> { [            c,            C,   VoidSymbol,   VoidSymbol ] };
    key <AB05> { [            v,            V,   VoidSymbol,   VoidSymbol ] };
    key <AB06> { [            k,            K,   VoidSymbol,   VoidSymbol ] };
    key <AB07> { [            p,            P,   VoidSymbol,   VoidSymbol ] };
    key <AB08> { [       period,      greater,   VoidSymbol,   VoidSymbol ] };
    key <AB09> { [        minus,     quotedbl,   VoidSymbol,   VoidSymbol ] };
    key <AB10> { [        slash,         less,   VoidSymbol,   VoidSymbol ] };
};

AB01 is missing (which is supposed to be q) and AD01 is supposed to be b as opposed to q.

I created a PR #6 to add a corrected xkb file and installer script for Linux.