UI Controls mapping

Terran Stellar Navy Forums (OOC) The Mess Hall UI Controls mapping

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #6254
    Matsiyan
    Participant

    Probably not news to all the cool tech geeks out there, but I found some satisfaction this weekend (after the shift) in mapping all the Helm controls to a Logitech joystick; throttle, climb, dive, reverse, docking, shields, zoom, and even teamspeak push to talk. Plus I mapped science scan and next/prior to mouse buttons 🙂

    #6256
    Blaze Strife
    Participant

    Good job!

    #6279
    Aramond
    Participant

    What joystick do you use? I’ve got a Thrustmaster HOTAS X that I use for helming, but have never been able to map zoom to it.

    #6281
    Blaze Strife
    Participant

    I don’t have a joystick. 😛 Just the Steam Controller.

    #6307
    Matsiyan
    Participant

    @Aramond I have Logitech Extreme 3D Pro. I used the logitech software to map two of the buttons on the base to the T and Y keys. I suppose I could post my annotated controls.ini when I get a minute and appropriate access!

    #6311
    Matsiyan
    Participant

    Here are the relevant lines of the controls.ini for Helm and Science with the additions and notes

    ; ——————————————————————————–
    ; Notes for Logitech M570 wireless trackball
    ;
    SCIENCE_SCAN_BUTTON = UI_INPUT_RETURN
    ; SCIENCE_SCAN_BUTTON = Mouse middle button mapped to ENTER

    MAP_ZOOM_IN = UI_INPUT_UP
    MAP_ZOOM_OUT = UI_INPUT_DOWN
    ; MAP_ZOOM = Mouse scroll wheel

    MAP_MOVE_LEFT = UI_INPUT_KEY_A
    MAP_MOVE_RIGHT = UI_INPUT_KEY_D
    MAP_MOVE_UP = UI_INPUT_KEY_W
    MAP_MOVE_DOWN = UI_INPUT_KEY_S
    ; MAP_MOVE = Mouse left drag

    MAP_SELECT_CLOSEST = UI_INPUT_KEY_Y

    MAP_SELECT_NEXT = UI_INPUT_KEY_U
    ; MAP_SELECT_NEXT = Mouse forward button mapped to U
    MAP_SELECT_PREV = UI_INPUT_KEY_I
    ; MAP_SELECT_PREV = Mouse back button mapped to I

    INCREASE_WARP_LEVEL = UI_INPUT_PAGE_UP
    DECREASE_WARP_LEVEL = UI_INPUT_PAGE_DOWN

    STOP_WARP = UI_INPUT_SPACE

    TOGGLE_WARP_1 = UI_INPUT_KEY_1
    TOGGLE_WARP_2 = UI_INPUT_KEY_2
    TOGGLE_WARP_3 = UI_INPUT_KEY_3
    TOGGLE_WARP_4 = UI_INPUT_KEY_4

    JOY_WARP_1 = UI_INPUT_JOY0_BUTT0
    JOY_WARP_2 = UI_INPUT_JOY0_BUTT1
    JOY_WARP_3 = UI_INPUT_JOY0_BUTT2
    JOY_WARP_4 = UI_INPUT_JOY0_BUTT3

    HELM_TOGGLE_REVERSE = UI_INPUT_ESCAPE
    HELM_TOGGLE_REVERSE = UI_INPUT_JOY0_BUTT4

    HELM_REQUEST_DOCK = UI_INPUT_KEY_R
    HELM_REQUEST_DOCK = UI_INPUT_JOY0_BUTT5

    ; Push-to-talk for teamspeak = UI_INPUT_JOY0_BUTT6
    ; Joystick mapped to CTRL for TS push-to-talk

    TOGGLE_SHIELDS = UI_INPUT_KEY_Q
    TOGGLE_SHIELDS = UI_INPUT_JOY0_BUTT7
    ; Artemis only recognizes joystick buttons 0-7
    ; ——————————————————————————–
    ; Joystick Logitech Extreme 3D Pro base buttons 8,9,10,11
    ; are mapped to the following keystrokes using the Logitech ls510 software
    RAISE_SHIELDS = UI_INPUT_KEY_K
    ; RAISE_SHIELDS = UI_INPUT_JOY0_BUTT8 mapped to K
    LOWER_SHIELDS = UI_INPUT_KEY_L
    ; LOWER_SHIELDS = UI_INPUT_JOY0_BUTT9 mapped to L

    CONSOLE_ZOOM_IN = UI_INPUT_KEY_T
    ; CONSOLE_ZOOM_IN = Helm joystick maps button 10 to T
    CONSOLE_ZOOM_OUT = UI_INPUT_KEY_Y
    ; CONSOLE_ZOOM_OUT = Helm joystick maps button 11 to Y

    ANALOG_RUDDER = UI_INPUT_JOY0_AXIS0
    DEADZONE = 0.0
    MULTIPLY = 1.0
    POWER = 1.0
    ADD = 0.0
    HIGH_BOUND = 1.0
    LOW_BOUND = -1.0

    ANALOG_YAW = UI_INPUT_JOY0_AXIS5

    ;ANALOG_THROTTLE = UI_INPUT_JOY0_AXIS1
    ; ——————————————————————————–
    ; this commented section should be uncommented if you have a joystick or yoke,
    ; and you want to climb and dive by pushing forward and backward.
    ANALOG_CLIMB_DIVE = UI_INPUT_JOY0_AXIS1
    MULTIPLY = -1.0

    ; ——————————————————————————–
    ; this commented section should be uncommented if you have a throttle on your joystick.
    ANALOG_THROTTLE = UI_INPUT_JOY0_AXIS2
    ABSOLUTE = YES
    MULTIPLY = -0.5
    ADD = 0.5

    • This reply was modified 5 years, 8 months ago by Matsiyan. Reason: Typo
    #17790
    Matsiyan
    Participant

    Folks asked this week about joystick mapping for Helm.
    This is what I currently use Helm UI Layout and Joystick Config Utility

    • This reply was modified 5 years, 1 month ago by Matsiyan.
    • This reply was modified 5 years, 1 month ago by Matsiyan.
    #17808
    Xiph
    Participant

    Ooh @aramond may I have a copy of your controls please? Pretty please?

    #17816
    Aramond
    Participant

    @xiph No problem! I just need to get to my home computer, which probably won’t be until late tonight, or tomorrow.

    #17823
    Charles Beaumont
    Participant

    @xiph There’s a sample setup for the Thrustmaster HOTAS on the artemis wiki here if that helps: http://artemiswiki.pbworks.com/w/page/94528763/Joystick

    #17859
    Xiph
    Participant

    Oh thank you!

    Aramond, I’m not back to my PC till the weekend, so no rush 🙂

    #17979
    Aramond
    Participant

    Here are my controls for a Thrustmaster HOTAS X working for Helm and Fighters. Keyboard and mouse for everything else.

    ———————————————————————————-
    PREV_CLIENT_CONSOLE = UI_INPUT_F9
    NEXT_CLIENT_CONSOLE = UI_INPUT_F10

    MAIN_SCREEN_FRONT = UI_INPUT_F2
    MAIN_SCREEN_LEFT = UI_INPUT_F3
    MAIN_SCREEN_RIGHT = UI_INPUT_F4
    MAIN_SCREEN_REAR = UI_INPUT_F5
    MAIN_SCREEN_TACTICAL = UI_INPUT_F6
    MAIN_SCREEN_SECTOR = UI_INPUT_F7
    MAIN_SCREEN_STATUS = UI_INPUT_F8

    RUDDER_LEFT = UI_INPUT_KEY_A
    RUDDER_LEFT = UI_INPUT_LEFT
    RUDDER_RIGHT = UI_INPUT_KEY_D
    RUDDER_RIGHT = UI_INPUT_RIGHT
    IMPULSE_UP = UI_INPUT_KEY_W
    IMPULSE_UP = UI_INPUT_UP
    IMPULSE_DOWN = UI_INPUT_KEY_S
    IMPULSE_DOWN = UI_INPUT_DOWN
    RUDDER_CENTER = UI_INPUT_RETURN
    BUTTON_CLIMB = UI_INPUT_INSERT
    BUTTON_DIVE = UI_INPUT_DELETE

    FIGHTER_ROLL_LEFT = UI_INPUT_KEY_Q
    FIGHTER_ROLL_RIGHT = UI_INPUT_KEY_E
    FIGHTER_PITCH_UP = UI_INPUT_KEY_W
    FIGHTER_PITCH_DOWN = UI_INPUT_KEY_S
    FIGHTER_YAW_LEFT = UI_INPUT_KEY_A
    FIGHTER_YAW_RIGHT = UI_INPUT_KEY_D

    FIGHTER_BOOST = UI_INPUT_INSERT
    FIGHTER_BRAKE = UI_INPUT_DELETE
    FIGHTER_FIRE = UI_INPUT_SPACE
    FIGHTER_LAUNCH = UI_INPUT_RETURN
    FIGHTER_RECOVER = UI_INPUT_KEY_R

    FIGHTER_FIRE = UI_INPUT_JOY0_BUTT0
    FIGHTER_BOOST = UI_INPUT_JOY0_BUTT1
    FIGHTER_BRAKE = UI_INPUT_JOY0_BUTT2
    FIGHTER_LAUNCH = UI_INPUT_JOY0_BUTT3
    FIGHTER_RECOVER = UI_INPUT_JOY0_BUTT4

    FIGHTER_ANALOG_ROLL = UI_INPUT_JOY0_AXIS0

    FIGHTER_ANALOG_PITCH = UI_INPUT_JOY0_AXIS1
    ; un-comment the next line, if your joystick climbs when you want it to dive
    ;MULTIPLY = -1.0

    ; comment the next line out, if your joystick does NOT twist
    FIGHTER_ANALOG_YAW = UI_INPUT_JOY0_AXIS5

    BUTTON_TAB = UI_INPUT_TAB
    BUTTON_INIT_JUMP = UI_INPUT_RETURN

    MAP_ZOOM_IN = UI_INPUT_UP
    MAP_ZOOM_OUT = UI_INPUT_DOWN
    MAP_MOVE_LEFT = UI_INPUT_KEY_A
    MAP_MOVE_RIGHT = UI_INPUT_KEY_D
    MAP_MOVE_UP = UI_INPUT_KEY_W
    MAP_MOVE_DOWN = UI_INPUT_KEY_S

    MAP_SELECT_CLOSEST = UI_INPUT_KEY_Y
    MAP_SELECT_NEXT = UI_INPUT_KEY_U
    MAP_SELECT_PREV = UI_INPUT_KEY_I

    TOGGLE_WARP_1 = UI_INPUT_KEY_1
    TOGGLE_WARP_2 = UI_INPUT_KEY_2
    TOGGLE_WARP_3 = UI_INPUT_KEY_3
    TOGGLE_WARP_4 = UI_INPUT_KEY_4

    INCREASE_WARP_LEVEL = UI_INPUT_PAGE_UP
    DECREASE_WARP_LEVEL = UI_INPUT_PAGE_DOWN

    STOP_WARP = UI_INPUT_SPACE

    HELM_TOGGLE_REVERSE = UI_INPUT_ESCAPE

    NORMALIZE_ALL_POWER = UI_INPUT_SPACE

    NORMALIZE_ALL_COOLANT = UI_INPUT_RETURN

    TOGGLE_HELP_OVERLAY = UI_INPUT_F1

    STORE_ENG_SETTINGS_0 = UI_INPUT_KEY_1
    SHIFT = YES
    RETRIEVE_ENG_SETTINGS_0 = UI_INPUT_KEY_1
    SHIFT = NO
    STORE_ENG_SETTINGS_1 = UI_INPUT_KEY_2
    SHIFT = YES
    RETRIEVE_ENG_SETTINGS_1 = UI_INPUT_KEY_2
    SHIFT = NO
    STORE_ENG_SETTINGS_2 = UI_INPUT_KEY_3
    SHIFT = YES
    RETRIEVE_ENG_SETTINGS_2 = UI_INPUT_KEY_3
    SHIFT = NO
    STORE_ENG_SETTINGS_3 = UI_INPUT_KEY_4
    SHIFT = YES
    RETRIEVE_ENG_SETTINGS_3 = UI_INPUT_KEY_4
    SHIFT = NO
    STORE_ENG_SETTINGS_4 = UI_INPUT_KEY_5
    SHIFT = YES
    RETRIEVE_ENG_SETTINGS_4 = UI_INPUT_KEY_5
    SHIFT = NO
    STORE_ENG_SETTINGS_5 = UI_INPUT_KEY_6
    SHIFT = YES
    RETRIEVE_ENG_SETTINGS_5 = UI_INPUT_KEY_6
    SHIFT = NO
    STORE_ENG_SETTINGS_6 = UI_INPUT_KEY_7
    SHIFT = YES
    RETRIEVE_ENG_SETTINGS_6 = UI_INPUT_KEY_7
    SHIFT = NO
    STORE_ENG_SETTINGS_7 = UI_INPUT_KEY_8
    SHIFT = YES
    RETRIEVE_ENG_SETTINGS_7 = UI_INPUT_KEY_8
    SHIFT = NO
    STORE_ENG_SETTINGS_8 = UI_INPUT_KEY_9
    SHIFT = YES
    RETRIEVE_ENG_SETTINGS_8 = UI_INPUT_KEY_9
    SHIFT = NO
    STORE_ENG_SETTINGS_9 = UI_INPUT_KEY_0
    SHIFT = YES
    RETRIEVE_ENG_SETTINGS_9 = UI_INPUT_KEY_0
    SHIFT = NO

    ENG_NEXT_SYSTEM = UI_INPUT_KEY_D
    ENG_PREV_SYSTEM = UI_INPUT_KEY_A
    ENG_INCREASE_SYSTEM = UI_INPUT_KEY_W
    ENG_DECREASE_SYSTEM = UI_INPUT_KEY_S
    ENG_INCREASE_SYSTEM_COOLANT = UI_INPUT_KEY_E
    ENG_DECREASE_SYSTEM_COOLANT = UI_INPUT_KEY_C

    COMMS_RED_ALERT = UI_INPUT_KEY_R

    SERVER_OPTION_TOGGLE = UI_INPUT_ESCAPE

    HELM_REQUEST_DOCK = UI_INPUT_KEY_R

    TOGGLE_SHIELDS = UI_INPUT_KEY_Q
    RAISE_SHIELDS = UI_INPUT_KEY_K
    LOWER_SHIELDS = UI_INPUT_KEY_L

    TOGGLE_AUTO_BEAMS = UI_INPUT_SPACE

    CONSOLE_ZOOM_IN = UI_INPUT_KEY_T
    CONSOLE_ZOOM_OUT = UI_INPUT_KEY_Y

    SCIENCE_SCAN_BUTTON = UI_INPUT_SPACE

    BEAM_FREQUENCY_LEFT = UI_INPUT_LEFT
    BEAM_FREQUENCY_RIGHT = UI_INPUT_RIGHT
    CONVERT_TORP_TO_ENERGY = UI_INPUT_KEY_U
    SHIFT = YES
    CONVERT_ENERGY_TO_TORP = UI_INPUT_KEY_I
    SHIFT = YES

    SELECT_TORP_TYPE_0 = UI_INPUT_KEY_1
    SHIFT = NO
    SELECT_TORP_TYPE_1 = UI_INPUT_KEY_2
    SHIFT = NO
    SELECT_TORP_TYPE_2 = UI_INPUT_KEY_3
    SHIFT = NO
    SELECT_TORP_TYPE_3 = UI_INPUT_KEY_4
    SHIFT = NO

    CYCLE_TORP_TUBE_0 = UI_INPUT_KEY_7
    CYCLE_TORP_TUBE_1 = UI_INPUT_KEY_8
    CYCLE_TORP_TUBE_2 = UI_INPUT_KEY_9
    CYCLE_TORP_TUBE_3 = UI_INPUT_KEY_0

    FIRE_TORP_TUBE_0 = UI_INPUT_KEY_1
    SHIFT = YES
    FIRE_TORP_TUBE_1 = UI_INPUT_KEY_2
    SHIFT = YES
    FIRE_TORP_TUBE_2 = UI_INPUT_KEY_3
    SHIFT = YES
    FIRE_TORP_TUBE_3 = UI_INPUT_KEY_4
    SHIFT = YES

    ANALOG_RUDDER = UI_INPUT_JOY0_AXIS0
    DEADZONE = 0.0
    MULTIPLY = 1.0
    POWER = 1.0
    ADD = 0.0
    HIGH_BOUND = 1.0
    LOW_BOUND = -1.0

    ANALOG_THROTTLE = UI_INPUT_JOY0_AXIS2

    DATA_NEXT_MODE = UI_INPUT_SPACE

    ; ————————————————————————————-
    ; this commented section should be uncommented if you have a throttle on your joystick.
    ; these settings are for a ThrustMaster T-flight HotasX.
    ANALOG_THROTTLE = UI_INPUT_JOY0_AXIS2
    ABSOLUTE = YES
    MULTIPLY = -0.5
    ADD = 0.5

    JOY_WARP_1 = UI_INPUT_JOY0_BUTT0
    JOY_WARP_2 = UI_INPUT_JOY0_BUTT3
    JOY_WARP_3 = UI_INPUT_JOY0_BUTT2
    JOY_WARP_4 = UI_INPUT_JOY0_BUTT1

    TOGGLE_SHIELDS = UI_INPUT_JOY0_BUTT7
    STOP_WARP = UI_INPUT_JOY0_BUTT5
    HELM_REQUEST_DOCK = UI_INPUT_JOY0_BUTT4
    HELM_TOGGLE_REVERSE = UI_INPUT_JOY0_BUTT6

    CONSOLE_ZOOM_IN = UI_INPUT_JOY0_HATUP
    CONSOLE_ZOOM_OUT = UI_INPUT_JOY0_HATDOWN

    ; ————————————————————————————-
    ; this commented section should be uncommented if you have a joystick or yoke, and you want to climb and dive by pushing forward and backward.
    ANALOG_CLIMB_DIVE = UI_INPUT_JOY0_AXIS1
    MULTIPLY = -1.0

    ; ————————————————————————————-
    ; joystick modifiers
    ; ————————————————————————————-
    ; the analog joystick axes have a set of optional modifiers that can be used to precisely tune
    ; how your joystick herdware works with Artemis.
    ;
    ; after reading the joystick axis from the hardware, and getting back a value in the
    ; range of -1 to 1, these modifiers are applied IN ORDER:
    ;
    ; DEADZONE
    ; default is 0.0
    ; typical values are 0.0 to 0.3
    ; This modifier cuts out the center of the joystick’s range of motion, making the
    ; motion more stable for joysticks that have “twitchy” outputs. If your joystick
    ; is wiggling or otherwise unstable even when your hand isn’t on it, this modifier
    ; can help.
    ;
    ; MULTIPLY
    ; default is 1.0
    ; typical values are 1.0 OR -1.0
    ; This modifier multiplys it’s value by the joystick output. It can be used to
    ; expand or reduce a joystick’s range of motion, but it’s most useful to invert
    ; the joystick’s output.
    ;
    ; POWER
    ; default is 1.0
    ; typical values are 1.0 to 2.0
    ; This modifier gets the power of the joystick output, where the exponent is the
    ; value of POWER. Giving this a value greater than 1.0 makes the center of the
    ; joystick movement more precise, at the expense of precision when the joystick
    ; is near its maximum range of motion.
    ;
    ; ADD
    ; default is 0.0
    ; This modifier simply adds the number to the joystick output. If your joystick
    ; doesn’t prperly center, you can use this to compensate.
    ;
    ; HIGH_BOUND
    ; default is 1.0
    ; This modifier keeps the joystick output from going any higher than the value.
    ;
    ; LOW_BOUND
    ; default is -1.0
    ; This modifier keeps the joystick output from going any lower than the value.
    ;

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.