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: Arcade button that functions like mouse button?  (Read 2252 times)

0 Members and 1 Guest are viewing this topic.

ArcadeFX

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:November 10, 2004, 11:16:56 pm
  • All the Dude ever wanted was his rug back!
    • ArcadeFX
Arcade button that functions like mouse button?
« on: December 08, 2002, 07:47:56 pm »
Any way to make an arcade button function like a mouse button so you can drag and drop?

slug54

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 225
  • Last login:June 12, 2014, 09:00:21 pm
  • Man, I hope this cab fits through the door way!
    • Arcade Extreme
Re:Arcade button that functions like mouse button?
« Reply #1 on: December 08, 2002, 08:25:01 pm »
I use mine along with my happs track ball and opti-pac
to drag and drop.It should work fine. Now I did have a problem with mine when I first built it that I couldn't drag and drop or drag a scroll bar on a window. What fixed it was deleting  the mouse out of windows device manager and re-booting and letting it re-detect.

                   Good luck

                     Slug54

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re:Arcade button that functions like mouse button?
« Reply #2 on: December 09, 2002, 03:26:01 am »
Any way to make an arcade button function like a mouse button so you can drag and drop?

The button must be connected through the same "mouse" as the trackball to drag and drop.  (I'm assuming you're talking about using an arcade button and a trackball)  So if you hacked a mouse to the trackball, the button must be connected to the same hacked mouse; if you hooked the TB through an optipac the button needs to also.  Single clicking will work even if the button and TB go through different connections, but not dragging/dropping.

Tech:  This is due to how windows gets the mouse messages.  You can test this with two mice.  Select some text.  Move the pointer over the selected text and click and hold a button on one mouse (like you are about to drag and drop the text).  Then move the other mouse.  Notice that once you move the other mouse, the text is dropped.  When the second mouse moves, it sends it's status: movement + no buttons pressed.  Windows sees this more resent data as more current than the other mouse's last message sent when its button was pressed.  Therefore, the movement and button info must come from the same mouse to drag and drop.
Robin
Knowledge is Power

hotboy_92

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:January 07, 2003, 03:49:29 am
  • I'm a llama!
Re:Arcade button that functions like mouse button?
« Reply #3 on: December 09, 2002, 07:42:33 am »
The windows program Joy2key can translate any joystick button or axis into either a keyboard press, keyboard combo, mouse button press or mousewheel.

I use it to map the buttons on my PSX controller to 1p coin, 1p start and ESC. I also use it to map the buttons on my PSX Beatmania controller to mouse buttons in DJ programs so I can scratch and mute the virtual decks with one hand.

ArcadeFX

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:November 10, 2004, 11:16:56 pm
  • All the Dude ever wanted was his rug back!
    • ArcadeFX
Re:Arcade button that functions like mouse button?
« Reply #4 on: December 09, 2002, 10:18:09 am »
I am not using a mouse hack.  Correct me if I am wrong but happ button or microswitch buttons are simple a click not a continual press.   Meaning that when you click a mouse button you can hold it in the down position. With a microswitch you cannot do this, right?  A microswitch simply makes a click and that is all.

Is anyone not using a mouse hack and can drag a window around the screen by pressing happ button?

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re:Arcade button that functions like mouse button?
« Reply #5 on: December 09, 2002, 10:33:02 am »
It's just like a button.  Not a click, but you continue to make the connection like an arcade button.

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re:Arcade button that functions like mouse button?
« Reply #6 on: December 09, 2002, 12:19:43 pm »
Correct me if I am wrong but happ button or microswitch buttons are simple a click not a continual press.   Meaning that when you click a mouse button you can hold it in the down position. With a microswitch you cannot do this, right?  A microswitch simply makes a click and that is all.
This is not correct.  If it was, you wouldn't be ablef to play games like Track and Field, or hold a microswitch-based joystic in a direction.

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

ArcadeFX

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:November 10, 2004, 11:16:56 pm
  • All the Dude ever wanted was his rug back!
    • ArcadeFX
Re:Arcade button that functions like mouse button?
« Reply #7 on: December 09, 2002, 12:52:40 pm »
I wonder why I can't drag a window or an icon on my desktop then using the happ button then?

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re:Arcade button that functions like mouse button?
« Reply #8 on: December 09, 2002, 09:55:32 pm »
I wonder why I can't drag a window or an icon on my desktop then using the happ button then?

Maybe you posted how somewhere else, but how is your buttons and trackball connected?  Both through an optipac, I guess?  Should work, especially if the button can used for clicking and double clicking.

I can drag and drop with my trackball/arcade button/optipac, and TB/button/happs interface connnections if the button and trackball are connected to the same thing.

Other thing: do you have an other mouse connected, too?  I had a problem with my optical mouse sending data when I bumped the table or was not on a suface, making drag-n-dropping impossible.
Robin
Knowledge is Power

slug54

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 225
  • Last login:June 12, 2014, 09:00:21 pm
  • Man, I hope this cab fits through the door way!
    • Arcade Extreme
Re:Arcade button that functions like mouse button?
« Reply #9 on: December 10, 2002, 06:05:56 pm »
Ed
If your using windows try deleting the mice from device manager and re-detecting like I suggested earlier.
I fought this problem for months it was really annoying.
I posted several messages to this board and also had several E-mail conversations with Andy wayrne ,I had lots of things to try but still couldn't get it to drag and drop.I went as far as to hack a mouse pcb and connecting the buttons to it , But surprise it still didn't work even after by-passing the opti-pac. I detached my C-panel and connected it to my other pc and it worked fine. deleting and re-detecting worked for me . I may have deleted the serial port also but I'm pretty sure I just deleted the mouse.
here was my config.

Windows 98se
Opti-pac with serial connection
Oscar spinner
Happs 3"track ball
Happ buttons
I-pac
 
                                         Good luck
                                          Slug54