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: Convert Mouse Click to Keypress  (Read 1225 times)

0 Members and 1 Guest are viewing this topic.

bimm25e

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 290
  • Last login:July 30, 2024, 08:44:11 am
  • I want to build my own arcade controls!
Convert Mouse Click to Keypress
« on: July 02, 2014, 07:00:04 pm »
I am running Hyperspin on a win XP machine and I have a trackball encoder that works just like a mouse in the control panel.  I need to use mouse 2 as the number 1 and mouse 3 as the number 2, this works great in notepad using a program called "x mouse button control", but it doent work so well in hyperspin or emulators (besides MAME, which lets me use clicks) .  Does anyone know of a way to ensure x mouse button control operates at a low enough level that keystrokes are sent to hyperspin successfully, or a different application that is a better fit?  thanks!

-andy

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Yesterday at 05:43:19 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Convert Mouse Click to Keypress
« Reply #1 on: July 02, 2014, 08:33:51 pm »
Try autohotkey,  but honestly there isn't such a thing as "low level" keypress simulation without the aid of some hardware.

bimm25e

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 290
  • Last login:July 30, 2024, 08:44:11 am
  • I want to build my own arcade controls!
Re: Convert Mouse Click to Keypress
« Reply #2 on: July 02, 2014, 09:46:30 pm »
I don't mean like hardware driven low-level obviously but one that takes a higher system priority than HyperLaunch low-level... either way....


nailed it! super roundabout but.... using ppjoy I created a virtual joystick that was looking at mouse inputs, then mapped clicks as joystick buttons in xpadder!

 Careful if youre using fusion the right click opens a menu  but.... set mouse right click to your HS exit key instead of a player button and completely avoid the issue!!!!

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:July 24, 2025, 02:05:45 pm
  • ...
Re: Convert Mouse Click to Keypress
« Reply #3 on: July 02, 2014, 10:51:05 pm »
autohotkey

rbutton::1

Just that simple.
Much more direct than using multiple programs.

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:July 20, 2025, 05:12:51 am
    • My personal forum
Re: Convert Mouse Click to Keypress
« Reply #4 on: July 03, 2014, 01:35:39 am »
You can learn Autohotkey or you can take a look to my program AllInOneFYC.
Greetings!

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4779
  • Last login:July 11, 2025, 09:17:44 am
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: Convert Mouse Click to Keypress
« Reply #5 on: July 05, 2014, 06:52:27 pm »
rbutton::1
This. You can easily set it using Hyperlaunch HQ. during setup, it asks you press the old key and new key.

D
Stop by my Youtube channel and leave a comment: