http://www.youtube.com/watch?v=ylqGB8cmG5U&feature=youtu.beFigured out I have a Genius Joystick laying around in my house, and I have lots of experience with AutoHotKey and love using it to customize my keyboard's and mouse's crap buttons nobody uses. Plugged in my Joystick, seen it's working, and seen AutoHotKey had JoyStick button inputs. Imgur, a website I frequent when looking at pictures of cats and stuff, has keyboard shortcuts so was easily modable.
joy1::
send {Right}
return
joy2::
send {Left}
return
joy3::
send {PgUp}
return
joy4::
send {PgDn}
return
joy5::
send {NumpadAdd}
return
joy8::
send {NumpadSub}
return
joy6::
send {Numpad0}
return
joy7::
send {Alt Down}
send {Tab}
send {Alt Up}
return
Joy 1: Next image.
Joy 2: Previous image.
Joy 3: Page up.
Joy 4: Page down.
Joy 5: Upvote.
Joy 8: Downvote
Joy 6: Favourite
Joy 7: Alt-Tab, for when Steam events start and gain focus and I am too lazy to get out of bed and everything.
The hat switch was also scripted to act as scrollwheel, but the script is a bit bigger so you'll have to Google that.
This is also possible with Gamepads.
If you don't have the same joystick as me you will most likely have different inputs. Use this Unity online app
http://dal-acm.ca/~dice/joytest/joystick test.html to see what is what. Add +1 to the joy value because there's no such thing as "joy0" in AHK.
The point of this is that I can just plug my JoyStick at the front of my computer and lay in bed (which is right in front of the computer) and just browse image and vote if needed and stuff, without going to the PC if I get a Steam Event.
Planning on buying a gamepad soon because it has more buttons, and I can add other functions to it, like also switching between Steam chat windows (Alt+left/right for the record) if I receive a message then see if it's worth responding or not.
Has anyone else had experience with AutoHotKey? What do you use it for?
Except for this I also made my mouse have auto-save and auto-ctrl-w on the side, for 1 handed
fapping... browsing. Previously also made chat inserters, a gui for emoticons and some Minecraft auto-mine scripts (for instance I toggled a button to make it keep LMB pressed and walk forward, though highly impractical if lava or caves.)