Author Topic: [SOLVED] Multiple input_map key bindings  (Read 4131 times)

abert

  • Newbie
  • *
  • Posts: 6
    • View Profile
[SOLVED] Multiple input_map key bindings
« on: May 19, 2017, 06:57:55 PM »
Have two player setup via an I-PAC, and am attempting to (as one example) allow both joysticks to move up/down the list of games.

The following is what I assumed would work in my attract.cfg's input_map section, but it isn't.

Code: [Select]
input_map
#       configure            Tab
        back                 Escape
        up                   Up
        up                   r
        down                 Down
        down                 f
        left                 Left
        left                 d
        right                Right
        right                g
        select               Return
        select               LShift
        select               w
        default             back
        default             up  prev_game

Thanks in advance for any tips!
« Last Edit: May 20, 2017, 03:40:04 PM by abert »

denmiclaw

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Re: Multiple input_map key bindings
« Reply #1 on: May 20, 2017, 05:35:23 AM »
I don't know of the upper limit, but I have 3 myself - Up, J1 Up and J2 Up., I simply went into the menu, and then into Controls, selected the action, and there used Add Input. 

abert

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Multiple input_map key bindings
« Reply #2 on: May 20, 2017, 10:36:53 AM »
Would you mind pasting the input_map section of your attract.cfg here?  Curious what that looks like.

denmiclaw

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Re: Multiple input_map key bindings
« Reply #3 on: May 20, 2017, 03:04:26 PM »
input_map
   prev_letter          Left
   next_letter          Right
   down                 Down
   down                 Joy0 PovYneg+Joy0 Button14
   down                 Joy1 PovYneg+Joy1 Button14
   left                 Left
   left                 Joy0 PovXneg+Joy0 Button15
   left                 Joy1 PovXneg+Joy1 Button15
   right                Right
   right                Joy0 PovXpos+Joy0 Button13
   right                Joy1 PovXpos+Joy1 Button13
   select               Return
   select               Joy0 Button2
   select               Joy1 Button2
   prev_page            Joy0 Button6
   prev_page            Joy1 Button6
   next_page            Joy0 Button7
   next_page            Joy1 Button7
   back                 Escape
   back                 Joy0 Button3
   back                 Joy1 Button3
   up                   Up
   up                   Joy0 PovYpos+Joy0 Button12
   up                   Joy1 PovYpos+Joy1 Button12
   default             back   exit
   default             up   prev_game
   default             down   next_game
   default             left   prev_letter
   default             right   next_letter

abert

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Multiple input_map key bindings
« Reply #4 on: May 20, 2017, 03:27:27 PM »
Capital letters for the win...  Changed things to caps and, well, it works.  Clear case of herp and derp.

Rymarllon

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: [SOLVED] Multiple input_map key bindings
« Reply #5 on: May 30, 2017, 06:31:02 AM »
How to start the joytokey with the attactmode?

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: [SOLVED] Multiple input_map key bindings
« Reply #6 on: May 30, 2017, 07:14:10 AM »
Windows, Linux, or mac?

You can start it up as a "startup program" in windows (I set it up as a service after changing the windows shell)
In Linux you can write a start up script for it
mac..I have no idea..
People want life easy..then complain about it