Custom Shortcut Keys

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
ampersand
Posts: 2
Joined: Thu Sep 05, 2013 4:08 pm

Custom Shortcut Keys

Post by ampersand »

Hey would anyone know how I might go around giving some things shortcut keys? Such as hitting f to turn on and off weapons or oxygen modules. I ask because I am interested in building a custom game controller (with an arduino) with switches and buttons control the game with. I have a little programming/scripting experience so don't be scared off by walls of code. Still though the less coding the better.

Thanks!
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: Custom Shortcut Keys

Post by Vhati »

If all else fails, there's AutoHotKey.

AHK's ImageSearch command might be able to find the screen coords of system icons and click them.
User avatar
5thHorseman
Posts: 1665
Joined: Sat Mar 02, 2013 2:29 am

Re: Custom Shortcut Keys

Post by 5thHorseman »

In my version you can set a hotkey for almost anything, and I'm pretty sure anything that already has a hotkey. The only thing I can't set that I want to is going to a store.

Main screen -> Options -> Gameplay (Right Side) -> 5. Customize Controls

The big problem you're going to run into is that they're not toggles. You can't set "D" (the default to power oxygen) to both power AND de-power oxygen.
My Videos - MY MOD HUB
Simo-V - The Potential - Automated Scout - "Low O2" Icons
The Black Opal - The Asteroid - The Enforcer - The Pyro

"Every silver lining has a cloud..."
ampersand
Posts: 2
Joined: Thu Sep 05, 2013 4:08 pm

Re: Custom Shortcut Keys

Post by ampersand »

oh thats actually fine i can code the switch to just hit d each time its flipped. sudo toggle. Ill check out the custom controls thanks, i probably should have looked there first.
Post Reply