Author Topic: Display Keybinding  (Read 2895 times)

jfarro

  • Newbie
  • *
  • Posts: 3
    • View Profile
Display Keybinding
« on: March 10, 2021, 12:13:12 AM »
Hi, I'm working on a project where I'd like to dynamically change displays to a certain display (pretty much I'd like to have a keybinding that selects the display).

For instance say I walk up to the machine and want my theme and roms...which I've setup as Display1...I'd like to have a hotkey to select that.  And now add 3 other people with thier own displays, romlists, themes.

I'm a bit new to attract mode, but I'm hoping to switch my launchbox setups over to it.  I have some cool ideas for dynamic themes with curated rom lists (such as a 1980s mame theme lets say).  Also for rotating monitor setups, it'd be cool to have the gamelist switch on monitor rotation automatically. I know the coding and electronics to do that, I'm just not clear on the Attract mode stuff yet.

Thanks in advance for any help!
Joe
Geektoolkit
« Last Edit: March 10, 2021, 12:44:03 AM by jfarro »

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Display Keybinding
« Reply #1 on: March 10, 2021, 03:51:26 AM »
-Controls:
Please check the controls: start AM > press TAB key > Controls

there exists keys for Next/Previous Display, Next/Previous Filter and so on.

-Monitor Rotate:
Please check Plugin RotationControl : start AM > press TAB key > Plug-Ins > RotationControl

Please check your romlists, that Roation is there correct set : your_AM_folder\romslists\your_Display.txt
there is a flag for "Roatation"
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

mahuti

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
    • View Profile
    • Github Repositories
Re: Display Keybinding
« Reply #2 on: March 10, 2021, 11:47:26 AM »
The AM layout system is pretty flexible. If the default controls don't do what you want, you could likely code what you need if you have even basic development experience.

https://github.com/mickelson/attract/blob/master/Layouts.md

jfarro

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Display Keybinding
« Reply #3 on: March 15, 2021, 03:12:22 AM »
Thankyou! I was looking for what essentially the 'specificdisplay' plugin did...once I found that it enabled me to pull off what I was seeking to do. I'll do a new post since it's a bit involved but shows the community how to do some cool stuff with attract mode and dynamic themes with facial recognition.

Sinistar

  • Full Member
  • ***
  • Posts: 36
    • View Profile
Re: Display Keybinding
« Reply #4 on: March 16, 2021, 03:27:53 PM »
I wonder if you could put QR Codes on your layout theme so you could choose games with a Sinden light gun (which uses a camera ) rather than a controller. 1. at the top to act as a top arrow/button the second at the bottom to act as an arrow/button. the third at the middle center by the game to be chosen to act as an enter button.

does anyone think that could be done?

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Display Keybinding
« Reply #5 on: March 17, 2021, 01:52:34 AM »
@Sinistar
scanning a barcode or qr-code is like a "automatic keyboard input".

please test this:
open notepad > scan a barcode or a qr-code > please check if any input happens

if yes:
there exist different code tables on internet for this control-codes (enter, arrows and so on). Here

if not:
the gun itself got buttons. See manual and they can be set by software.

or you can try to check the mouse position in AM layout. Somebody was asking for a Gun Theme
« Last Edit: March 17, 2021, 01:58:07 AM by hermine.potter »
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM