the-via / app

GNU General Public License v3.0
765 stars 173 forks source link

App doesn't show hints for writing keycodes properly #166

Open seflm opened 1 year ago

seflm commented 1 year ago

Some users are getting hints when writing the keycodes into the "any" key and the encoders:

image

But for some other users (me) the hints are not provided by the app for some reason:

image

I've got the following JSON and the only hints I am getting are from the qmk_lighting, VIA is not providing hints for basic keycodes (e.g. KC_A), but for others, it does. I haven't managed to find out any reason why it would behave this way. The docs do not cover the hints whatsoever.


{
    "name": "QVEX Lynepad",
    "productId": "0xE678",
    "vendorId": "0x04D8",
    "matrix": 
    {
        "rows": 5,
        "cols": 4
    },
    "layouts":
    {
        "keymap":
        [
            ["0,0","0,1","0,2","0,3"],
            ["1,0","1,1","1,2","1,3"],
            ["2,0","2,1","2,2"],
            [{"y":-0.75,"x":4.5},"3,0"],
            [{"x":3.5},"3,2","4,0\n\n\n\n\n\n\n\n\ne0","3,3"],
            [{"x":4.5},"3,1"],
            [{"y":0.5,"x":3.25},"4,1\n\n\n\n\n\n\n\n\ne1"]
        ]
    },
    "menus": ["qmk_backlight","qmk_rgblight"],
    "keycodes": ["qmk_lighting"]
}