Author Topic: Inverted controls?  (Read 7314 times)

dukpoki

  • Sr. Member
  • ****
  • Posts: 138
    • View Profile
Inverted controls?
« on: January 19, 2018, 02:08:06 AM »
I feel really dumb asking this but how do we configure AM to run horizontal themes and not have inverted up and down and left and right controls?

I've tried swapping the control binds but then the controls for the config menu are inverted.

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Inverted controls?
« Reply #1 on: January 19, 2018, 03:27:33 AM »
Try setting next_game and prev_game.

dukpoki

  • Sr. Member
  • ****
  • Posts: 138
    • View Profile
Re: Inverted controls?
« Reply #2 on: January 19, 2018, 12:56:56 PM »
Try setting next_game and prev_game.

Thanks but that's one of the first things I've tried and it did not work.  The moment I set Prev Game to "left keyboard arrow" then it dissociates the existing "left keyboard arrow" bind for "LEFT (Previous Display)".   Resulting in the Left bind being broken/disassociated/not working in the config menus.

This is what happens:
« Last Edit: January 19, 2018, 11:32:34 PM by dukpoki »

dukpoki

  • Sr. Member
  • ****
  • Posts: 138
    • View Profile
Re: Inverted controls?
« Reply #3 on: January 23, 2018, 12:47:26 PM »
So I've been reading and researching but the closest I've gotten was to do a code like this:

Quote
fe.add_signal_handler ("Navigation");
function Navigation(sig)
{
   if (sig=="up") return true;
   {
       disable = true;
            fe.signal("left");
   }
}

However when I press "up" the disabled part works, but the left return does not work.  Anyone can chime in what part is wrong?  Thanks.

dukpoki

  • Sr. Member
  • ****
  • Posts: 138
    • View Profile
Re: Inverted controls?
« Reply #4 on: February 07, 2018, 03:17:59 PM »
Finally figured it out.

ArcadeBliss Info Overload Theme and setting Horizontal Navigation to On = Does not work
Newstation Theme and setting Horizontal Navigation to On = Does not work
ArcadeBliss and newstation custom mix and setting Horizontal navigation to ON = Does not work

ArcadeBliss and newstation custom mix mod by Blackthief07 (dubbed "AnimatedWheel") = WORKS

If you want to find AnimatedWheel by Blackthief07 it's in the Arcadebliss/Newstation Custom Thread, Reply#63.

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Inverted controls?
« Reply #5 on: February 07, 2018, 04:11:34 PM »
I don’t know. I have no issues at all using LEFT and RIGHT for game navigation, so maybe I don’t understand.

dukpoki

  • Sr. Member
  • ****
  • Posts: 138
    • View Profile
Re: Inverted controls?
« Reply #6 on: February 10, 2018, 05:30:29 PM »
Regarding BlackThief07's working code, there is one huge flaw in it.  When you cycle left or right per game with a single press, the videosnap changes properly with the selected game.  However, if you hold the left or right button and it spins over multiple games, then the moment you let go and it lands on the selected game, the videosnap is playing the one previous game from the selected one.

Here is a video demo of it happening: https://www.youtube.com/watch?v=H3KhbTAw2m8&feature=youtu.be

MegaMan6 and Metal Gear show up properly with single clicks.  But when you long scroll to Ninja Gaiden, the videosnap is of Punchout playing.  You can see in the video the same thing happens to River City Ransom, where Prince of Persia is instead playing after a long single scroll.  This is with Horizontal Scrolling enabled in the Display Options.  When you turn it off, then this problem disappears but then you can't scroll through the games with "left" or "right" anymore and instead must use the "up" and "down" keys.


I don’t know. I have no issues at all using LEFT and RIGHT for game navigation, so maybe I don’t understand.

Are you saying you can use the left and right keys in the theme and then hit tab and use the same left and right properly in the config menus?  Because I can't.  Unless there's a specific code implemented (like the Blackthief07's code) into the theme, every time I try to re-bind the left and right keys to prev_game and next_game, the default bindings for left and right gets overwritten/erased (like the picture I posted previously) so that the left and right do not work in the config menus.

What horizontal theme are you using?  Mind posting a snap of your button config file that works with that theme?
« Last Edit: February 10, 2018, 05:36:21 PM by dukpoki »

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Inverted controls?
« Reply #7 on: February 11, 2018, 03:39:44 PM »
I don’t know. I have no issues at all using LEFT and RIGHT for game navigation, so maybe I don’t understand.

Are you saying you can use the left and right keys in the theme and then hit tab and use the same left and right properly in the config menus?  Because I can't.  Unless there's a specific code implemented (like the Blackthief07's code) into the theme, every time I try to re-bind the left and right keys to prev_game and next_game, the default bindings for left and right gets overwritten/erased (like the picture I posted previously) so that the left and right do not work in the config menus.

What horizontal theme are you using?  Mind posting a snap of your button config file that works with that theme?

I don’t usually use the config menu. I edit config files directly. However, the config menu only uses up/down for navigation, not left/right. I am using mvscomplete. All I did, like I said, map next game and previous game to left and right.

dukpoki

  • Sr. Member
  • ****
  • Posts: 138
    • View Profile
Re: Inverted controls?
« Reply #8 on: February 11, 2018, 10:13:44 PM »
keilmillerjr:

Well naturally, i'm trying to map up and down as well so they can be utilized as "prev_display/next_display" so it behaves like default settings on a vertical theme (i.e. right to go forward one game, and down to go forward one system).  But this breaks the config menu.  If you only want left and right, and not up and down, then I can see it working.  The only other issue is, if you go this route then you can't use a mix of both horizontal and vertical themes for different systems.  You'd have to stick to one type of layout so the buttons are universally the same across all systems.

It's really not that huge of a deal.  I just figured there would be a more ideal solution readily available but I guess it just doesn't exist.  I guess for the most part I'll stick to trying your method (and sticking to a single theme) because the working code I found is very buggy.

dukpoki

  • Sr. Member
  • ****
  • Posts: 138
    • View Profile
Re: Inverted controls?
« Reply #9 on: February 12, 2018, 02:16:47 PM »
Found an older thread that has the same problem I'm bringing up.  Unfortunately there's no real solution except the hybrid remap Prev/Next workaround which does not allow theme specific control. 
« Last Edit: February 12, 2018, 02:25:58 PM by dukpoki »