Keyboard 4.0 turn off CAPS LOCK

Heh, now I’m trying to find a way to turn on/off Caps Lock. I was thinking of mapping it to a key combination (e.g. Hyper + Up arrow). I tried modifying a xkb configuration as described here: How to type home, end, insert, delete on the Reform keyboard? - #6 by artfwo

However, I haven’t gotten it to work. I tried adding to the xkb_symbols section:

        key <UP> {
            type = "HYPER",
            symbols[Group1] = [ Up, CapsLock ]
        };

But this doesn’t seem to do anything. I’ve tried a couple variations Caps and capslock