Author Topic: Detect when the Displays list is active? SOLVED  (Read 81 times)

arzoo

  • Newbie
  • *
  • Posts: 9
    • View Profile
Detect when the Displays list is active? SOLVED
« on: May 13, 2020, 05:45:05 AM »
Can anyone tell me if it's possible for a plugin to detect when the Displays list is active vs when a list of games is active? Thanks
« Last Edit: May 13, 2020, 07:02:28 PM by arzoo »

zpaolo11x

  • Hero Member
  • *****
  • Posts: 798
    • View Profile
    • My deviantart page
Re: Detect when the Displays list is active?
« Reply #1 on: May 13, 2020, 12:43:33 PM »
If you mean the displays menu, you can check it in the transition callback function, when transition type is Transition.ShowOverlay and var is Overlay.Displays.

you can check if the layout is showing a display list and not a game list checking if fe.list.display_index is -1


arzoo

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Detect when the Displays list is active?
« Reply #2 on: May 13, 2020, 01:55:27 PM »
Thanks for the info, very helpful.