[Utility/Script] Pixel Remap

Just an extremely basic AHK script I put together in 30 seconds to deal with the lack of customization mapping (no, it's not cheating. Most 'gaming' mice/keyboards have software to do this built-in if it makes you feel better (although if Fleury has a problem with it, he can tell me)):

Q: Red Health Potion
E: Blue Health Potion
F: Loot
Z: Stairs
C: Shops
WASD: ...

    ; Script only works while Pixel Champions is the active window.
    #IfWinActive, Pixel Champions

    ; While Caps Lock is toggled ON, the keys are remapped. 
    ; If it is OFF, they work normally (chat).
    ~CapsLock::Suspend, % GetKeyState("CapsLock", "T") ? "Off" : "On"
        q::F4
        e::F5
        f::F3
        z::F1
        c::F2
        w::Up
        a::Left
        s::Down
        d::Right

Pre-compiled: Filedropper, RapidShare

Again, you cannot chat with whatever keys you remap if you are using this while CapsLock is on (no one wants to see you type in all caps anyway, win/win?), so be sure to turn it off!

Posted Nov 20, 2012, 5:23 AM UTC

21
xFleury•

Looks great! I really like how it uses CapsLock as a toggle. :)

1