Author Topic: Scrolling up and down through collections  (Read 2531 times)

ScarAce1989

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Scrolling up and down through collections
« on: August 10, 2020, 08:33:21 AM »
Hi,

I was wondering how I should setup this?
I use the left and right buttons to scroll through a collection.
I want to use the up and down buttons to scroll through different collections without going back to the systems menu.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1534
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Scrolling up and down through collections
« Reply #1 on: August 11, 2020, 06:48:26 AM »
Menus are defined as vertical or horizontal in the layout.xml of the theme. Depending on which one it is, other buttons are used to control it.

ScarAce1989

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Scrolling up and down through collections
« Reply #2 on: August 11, 2020, 06:30:05 PM »
So how should this be done?
I added a layout I would like to make as attachment.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1534
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Scrolling up and down through collections
« Reply #3 on: August 11, 2020, 10:19:16 PM »
Define the first menu (system menu) with layout vertical and the second menu (game menu) with layout horizontal.
Then use collectionUp/Down and the left/right buttons in your controls.conf to configure your menu controls.
In addition, set enterOnCollection and startCollectionEnter to true or yes in your settings.conf file.
That should do the trick; the rest is just a matter of writing your layout.xml to show things the way you want them to.

ScarAce1989

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Scrolling up and down through collections
« Reply #4 on: August 12, 2020, 12:18:36 PM »
Thanks, that works.