Jump to content

Usb Panic Button


  • You cannot reply to this topic
10 replies to this topic

#1 Gulaschsuppe

    Member

  • Pip
  • 13 posts
  • LocationBerlin

Posted 10 February 2013 - 12:38 AM

Hello,

I got a USB Panic Button by Dreamcheeky. I have the alternate Driver (dreamcheekyBTN.exe) to make it press an "O" via c# sendkeys. I want to use the panic button as override button, like in the battletech books, but it doesnt work. i guess i have to do something in the default profile. can anybody help me to get this device working as an override button? Has anybody experience in use of this device?

Thanks in advance


Gulaschsuppe, Natural Born Smoke Jaguar in Service of the 1st Royal Guards, Steiner

PS: this is the button: http://www.google.de...ved=0CEMQ8wIwAA

this is the software: http://jpelectron.co...igRedButton.zip

#2 evilC

    Member

  • PipPipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 1,298 posts
  • LocationLondon, UK

Posted 10 February 2013 - 05:41 AM

Oh wow, I want one.
Would work perfectly for my VOIP push-to-talk button.
I currently use an XBOX controller on the floor and push it with my foot, but that looks like it would be much better for that.

To return to your question - with the software as-is, if you open notepad and hit the button, does it type an "O"?
If so, in MWO, if you go into the options from mechlab, is "Override shutdown" bound to "O", and if you double click "Override shutdown" and hit the button, does it bind it or say "Key already bound"?

If it does work in notepad, or in the bind options, but not in game, the problem is probably this:

Some controls in MWO do not work if the key is not held down for 50ms. So if DreamCheekyBTN.exe hits O and immediately releases it, it might not trigger in game.

This could probably be solved with AutoHotkey.

Tell me, does this AutoHotkey script pop up "PANIC!!" when you hit the button?

~o::MsgBox, Panic!

(Install AutoHotkey, copy text, paste into a file "test.ahk", double click it. Hitting O on your keyboard should trigger it as well, so if that doesn't work, you have not used the script right)

If you can get that AHK script to trigger, I can make it so the panic button triggers whatever you want.

Failing all that, AFAIK AutoHotkey can read USB devices - I would ask around the AHK forums, I think all you need is the DllCall command and the Device ID and byte info from the readme.

Edited by evilC, 10 February 2013 - 05:52 AM.


#3 CyBerkut

    Member

  • PipPipPipPipPipPipPip
  • 609 posts
  • LocationSomewhere north of St. Petersburg

Posted 10 February 2013 - 01:41 PM

If you look in the Windows Control Panel - Devices, does it show up as a keyboard device, or as a game controller, or ???

#4 Bloodshed Romance

    Member

  • PipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 726 posts
  • LocationFlorence, South Carolina

Posted 10 February 2013 - 06:59 PM

oh dude i'm probably so gettin this for the override... would be soo much better than reaching across the keyboard awkwardly while fighting... I have a Razer Naga Epic.. just don't like taking my thumb away from my firing buttons...

#5 Gulaschsuppe

    Member

  • Pip
  • 13 posts
  • LocationBerlin

Posted 11 February 2013 - 10:41 PM

Ok, if i open chat window in game the "o" appears. but in option menue i cant charge the button cause it dont recognizes, whether as a joystick nor as a keyboard. i need a workaround with this new driver. i bet its possible, but i am not a programmer, i have no clue to use the proper commands. btw the things you told me evilC like AHK look like hieroglyphes for me.
i hoped to find somebody else who has this button and who is a littlebit firm with porgramming to tell me the right commands for the driver or maybe somebody from the mwo-crew. the use of this button in this game as override button would be great.

#6 Gulaschsuppe

    Member

  • Pip
  • 13 posts
  • LocationBerlin

Posted 11 February 2013 - 10:48 PM

PS: in windows control panel it shows up as a hid-conform device, but this is not the point. the button functions proper in windows, but i need to work the alternative driver to let him work like a key-stroke and i dont know to use this driver. the best is, if somebody who own this device tells me..

#7 Torquemada

    Member

  • PipPipPipPipPipPip
  • Legendary Founder
  • 201 posts
  • LocationAberystwyth

Posted 12 February 2013 - 12:52 AM

In properties for the software for it, set it to run as Administrator and also in compatibility mode, e.g. XP SP3, otherwise functions from it wont work within MWO. It's the same issue as for the Strategic Commander I use, it too must run in admin and/or compatibility mode to function in game even though it works fine within Windows.

#8 evilC

    Member

  • PipPipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 1,298 posts
  • LocationLondon, UK

Posted 12 February 2013 - 03:41 AM

1) Install Autohotkey

2) Save panic.ahk to your disk (Right click, save as, be sure to keep the .ahk extension)

3) Double click the panic.ahk you saved - a little green H should appear in your system tray.

4) Go into game, go to the bind options, double click the override shutdown entry and hit the panic button - it should bind it to P

5) Test it in-game.

As it stands, if you type an O in chat, it will add a P, but if this script works I could fix that,

#9 CyBerkut

    Member

  • PipPipPipPipPipPipPip
  • 609 posts
  • LocationSomewhere north of St. Petersburg

Posted 12 February 2013 - 04:19 PM

View PostGulaschsuppe, on 11 February 2013 - 10:48 PM, said:

PS: in windows control panel it shows up as a hid-conform device, but this is not the point. the button functions proper in windows, but i need to work the alternative driver to let him work like a key-stroke and i dont know to use this driver. the best is, if somebody who own this device tells me..


Well... maybe you do not need the alternative driver. If you run it without the alternative driver, try going into MWO Options, clicking your mouse into the Overide row, in the Joystick (3rd) column... then see if it will recognize your panic button press and assign it. If it does, you're all set. If it does not, try Torquemada's suggestion for getting the alternative driver to work. If that also fails, then try evilC's autohotkey based solution.

Good luck!

#10 Silpher K

    Member

  • PipPipPip
  • Overlord
  • Overlord
  • 82 posts

Posted 13 February 2013 - 05:56 PM

this + the proposed eject function would be freaking AWESOME.


minus the PPCs

#11 Gulaschsuppe

    Member

  • Pip
  • 13 posts
  • LocationBerlin

Posted 21 February 2013 - 11:35 PM

i dont get this device work for mwo. under windows no problem, but mwo...

isnt there anybody else who has this device?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users