Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mala LedWiz and Lightgun  (Read 2384 times)

0 Members and 1 Guest are viewing this topic.

mflis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:November 19, 2018, 11:19:45 am
Mala LedWiz and Lightgun
« on: March 06, 2008, 10:11:48 pm »
Loadman, have you given any thought to adding a P1_LIGHTGUN to the control list?  I'm using a Wiimote as a lightgun and have added a couple of IR LED's to my monitor bezel.  Currently, I have them wired to the +5 from my PC's power supply, but it would be cool if I could control them via my LedWiz so that they are only on for lightgun games.  I thought I might be able to use P1_AD_STICK since that is defined in controls.ini for the light gun games, but it is not on the P1Controls line and is not sent with the game selected event.  Just a thought.....


*************************************************************
EVENT: Game selected
Name: Area 51 / Maximum Force Duo (R3000)
Manufacturer: Atari Games
Genre: Shooter / Gun
Year: 1998
Clone of: area51mx
-------------------- INPUTS ---------------------------------
Coins: 4
Buttons: 1
Players: 2P sim
Control: lightgun
-------------------- VIDEO ----------------------------------
Screen: raster
Orientation: horizontal
Video size: 360x240
-------------------- DRIVER ---------------------------------
Status: good
-------------------- CONTROLS.INI ---------------------------
Control: Lightgun
JoyUp:
JoyDown:
JoyLeft:
JoyRight:
Button1: Fire
Button2: not used
Button3: not used
Button4: not used
Button5: not used
Button6: not used
Button7: not used
Button8: not used
-------------------- ROMFILE --------------------------------
Rom name: a51mxr3k
Rom path: C:\Mame\roms
Rom extension: zip
-------------------- STATS ----------------------------------
Game played: 1

********************************************************

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Mala LedWiz and Lightgun
« Reply #1 on: March 07, 2008, 05:10:06 am »
 Try the attached (Custom version)

Just set it up as Paddle (I hope you don't use that) It should only light on LightGun not Paddle.

It was just easier to do it that way for you quickly.

Make sure you move or delete the other ledwizplugin or mala will try and run both

I hope that works for you.  Enjoy


mflis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:November 19, 2018, 11:19:45 am
Re: Mala LedWiz and Lightgun
« Reply #2 on: March 07, 2008, 04:38:56 pm »
Thanks!  I don't use the paddle - you're awesome!

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Mala LedWiz and Lightgun
« Reply #3 on: March 07, 2008, 04:40:24 pm »
Thanks!  I don't use the paddle - you're awesome!

That's why I earn the big bucks... umm ehh well maybe

Let me know if it works.  All I did was a cut and paste of Passle for lightgun in Select event part of the code.