Keys blacklisting

It is possible to blacklist keys if you want to forbid some. Just add a key with a value of true to blacklist it.

Config.blacklistedKeys = {
    -- Cool for QWERTY keyboards
    ["W"] = true,
    ["A"] = true,

    -- Cool for AZERTY keyboards
    --["Z"] = true,
    --["Q"] = true,

    -- No bind for movements (QWERTY/AZERTY)
    ["S"] = true,
    ["D"] = true,

    ["P"] = true,
    ["M"] = true,
    ["ENTER"] = true,
    ["BACKSPACE"] = true,
}

Add a key to the blacklist

Config.blacklistedKeys = {
    ["YOUR_KEY"] = true,
}

Remove a key from the blacklist

Config.blacklistedKeys = {
    ["YOUR_KEY"] = false,
}

OR just remove the line

Config.blacklistedKeys = {

}

Last updated