Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#4124156 - 05/24/15 11:48 AM How do I set the key repeat frequency for a BU836?  
Joined: Apr 2006
Posts: 41
smoker Offline
Junior Member
smoker  Offline
Junior Member

Joined: Apr 2006
Posts: 41
Hi all,
I've got the usual problem of wanting a sort of stateful switch without DirectX being stateful.
I hoped to overcome this by using a break-then-make rotary switch connected to Leo Bodnar's BU836 and then setting the key repeat to very slow (say, 2 Hz) so as not to overwhelm the other key inputs from other devices.

I can't quite figure out how to set the repeat frequency, is the BU836 a Human Input Device, if so, which one and how to I change the repeat?

I'm using Win 7.

Thanks,
smoker1963

Inline advert (2nd and 3rd post)

#4124929 - 05/26/15 08:38 AM Re: How do I set the key repeat frequency for a BU836? [Re: smoker]  
Joined: Apr 2015
Posts: 14
mskurnik Offline
Junior Member
mskurnik  Offline
Junior Member

Joined: Apr 2015
Posts: 14
There is a contact section on the Leo Bodnar website. That would be the best place to get that information.

#4126265 - 05/29/15 01:34 AM Re: How do I set the key repeat frequency for a BU836? [Re: smoker]  
Joined: Feb 2008
Posts: 544
hannibal Offline
Member
hannibal  Offline
Member

Joined: Feb 2008
Posts: 544
i would like to know this info also!

#4131534 - 06/09/15 09:21 PM Re: How do I set the key repeat frequency for a BU836? [Re: smoker]  
Joined: Apr 2006
Posts: 41
smoker Offline
Junior Member
smoker  Offline
Junior Member

Joined: Apr 2006
Posts: 41
Sorry for the slow reply, I was expecting this to be easy!
I've sent a message to Leo and will post any useful reply here.

smoker1963

#4159705 - 08/20/15 09:01 PM Re: How do I set the key repeat frequency for a BU836? [Re: smoker]  
Joined: Apr 2006
Posts: 41
smoker Offline
Junior Member
smoker  Offline
Junior Member

Joined: Apr 2006
Posts: 41
Sorry it's taken me so long. Leo's staff replied that the BU0836 family of devices only send one key down event when you make the connection. That's good news.

The reason I've been so slow, is that it's taken me a little time to figure out how to use Autohotkey for my selection on the rotary switch and then the push-to-talk on my Saitek X-52.

I've used a rotary switch connected to Leo Bodnars BU0836A USB device to select which key gets sent from my push-to-talk button on a joystick with the following code for Autohotkey. A couple of points to remember: firstly DON'T set your push-to-talk key as a TS3 hotkey; secondly, you must have the input devices set as Default, i.e. Settings->Options->Hotkeys->Default (on bottom right) . My selector switch is joystick 5, the push-to-talk key is on joystick 4, because I've not soldered-up a diode matrix, the selector keys are in an odd order. You'll have to change all this.

<code>
JoystickA = 5
JoystickB = 4
PTT = 7

Hotkey %JoystickB%joy%PTT%, TALK
Return

TALK:
GetKeyState, Select1, %JoystickA%joy31, "P"
GetKeyState, Select2, %JoystickA%joy25, "P"
GetKeyState, Select3, %JoystickA%joy19, "P"
GetKeyState, Select4, %JoystickA%joy13, "P"
GetKeyState, Select5, %JoystickA%joy7, "P"
GetKeyState, Select6, %JoystickA%joy1, "P"
if Select1 = D
{
send {F4 down}
keyWait, %JoystickB%joy%PTT%
send {F4 up}
}
else if Select2 = D
{
send {F5 down}
keyWait, %JoystickB%joy%PTT%
send {F5 up}
}
else if Select3 = D
{
send {F6 down}
keyWait, %JoystickB%joy%PTT%
send {F6 up}
}
else if Select4 = D
{
send {F7 down}
keyWait, %JoystickB%joy%PTT%
send {F7 up}
}
else if Select5 = D
{
send {F8 down}
keyWait, %JoystickB%joy%PTT%
send {F8 up}
}
else
{
send {F3 down}
keyWait, %JoystickB%joy%PTT%
send {F3 up}
}
Return
<\code>

smoker1963


Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Dr. J. Michael Lane was 84
by Rick_Rawlings. 10/25/20 02:08 AM
“Old” Dunkirk
by oldgrognard. 10/25/20 01:01 AM
Football
by Alicatt. 10/23/20 09:57 PM
Interesting historical blunders
by oldgrognard. 10/22/20 10:33 PM
An old farmer speaks
by KraziKanuK. 10/21/20 04:25 PM
Cyberpunk 2077 — 2077 in Style
by Crane Hunter. 10/19/20 03:21 PM
Qantas Airlines: Repair Division
by NoFlyBoy. 10/19/20 12:10 AM
Lemons on sandwiches?
by NoFlyBoy. 10/18/20 04:20 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0