rbei-etas / busmaster

BUSMASTER is an Open Source Software tool to simulate, analyze and test data bus systems such as CAN. BUSMASTER was conceptualized, designed and implemented by Robert Bosch Engineering and Business Solutions (RBEI). Presently it is a joint project of RBEI and ETAS GmbH.
http://rbei-etas.github.com/busmaster/
GNU General Public License v3.0
944 stars 499 forks source link

Emulated key presses not detected by key handler #658

Open BAH-DwightFalkofske opened 10 years ago

BAH-DwightFalkofske commented 10 years ago

Hello,

I am attempting to use Busmaster to demonstrate vehicle communications for a kids engineering event. I want to use an Xbox controller, remapped to keypresses, to control routines in Busmaster. I have the key handler routines running perfectly from a standard keyboard, but the emulated keypresses from the Xbox controller are not detected by Busmaster. (I have confirmed that the Xbox key press emulation works in text editors, such as MS Word and Notepad.)

Is there any settings or adjustments that can be made to get Busmaster to detect the emulated keyboard?

Any help or insight you can provide is appreciated.

Thanks! Dwight

etas-lorenz commented 10 years ago

Hello Dwight,

we discussed this today during our developer's telco. We are using AutoIt for GUI testing, which also simulates keypresses. This works for us.

Can you send us a link to the Xbox key press emulation software? We'll try to find out what is different and whether we can modify BUSMASTER to work with it.

Thanks, Tobias

BAH-DwightFalkofske commented 10 years ago

Tobias,

Thank you for taking time to look at this.

We have tried several Xbox Controller to keyboard emulators, of which we like this one the best: Total Game Control - http://www.digitaltransforms.com/

I've tried several different ones, but none have been able to emulate to Busmaster.

I appreciate any help you can provide. Our demo for the kids is on Saturday.

Many thanks! Dwight Falkofske


From: Tobias Lorenz [notifications@github.com] Sent: Tuesday, February 18, 2014 4:19 AM To: rbei-etas/busmaster Cc: Falkofske, Dwight [USA] Subject: [External] Re: [busmaster] Emulated key presses not detected by key handler (#658)

Hello Dwight,

we discussed this today during our developer's telco. We are using AutoIt for GUI testing, which also simulates keypresses. This works for us.

Can you send us a link to the Xbox key press emulation software? We'll try to find out what is different and whether we can modify BUSMASTER to work with it.

Thanks, Tobias

— Reply to this email directly or view it on GitHubhttps://github.com/rbei-etas/busmaster/issues/658#issuecomment-35365647.

etas-lorenz commented 10 years ago

Hi Dwight,

currently we use the function "PreTranslateMessage" to detect key presses. We look for alternatives. However we are already in the testing phases for our next release on Friday. So we need some look to manage it till Friday/Saturday. Let's press thumbs :-)

Bye Tobias

BAH-DwightFalkofske commented 10 years ago

Tobias,

Thanks for the insight. We eventually found a third-party emulator that worked with Busmaster. Xpadder - http://www.xpadder.com/

I'm glad our demo will continue as planned!

Many thanks! Dwight


From: Tobias Lorenz [notifications@github.com] Sent: Wednesday, February 19, 2014 4:13 AM To: rbei-etas/busmaster Cc: Falkofske, Dwight [USA] Subject: [External] Re: [busmaster] Emulated key presses not detected by key handler (#658)

Hi Dwight,

currently we use the function "PreTranslateMessage" to detect key presses. We look for alternatives. However we are already in the testing phases for our next release on Friday. So we need some look to manage it till Friday/Saturday. Let's press thumbs :-)

Bye Tobias

— Reply to this email directly or view it on GitHubhttps://github.com/rbei-etas/busmaster/issues/658#issuecomment-35479136.

etas-lorenz commented 10 years ago

Hey, perfect. Good luck for the demo on Saturday.

I'll leave this issue open to improve interoperability with third party applications.

BAH-DwightFalkofske commented 10 years ago

We are using Windows 7 and found that putting the emulator into Windows Compatibility Mode helped the problem. When we tried it on a computer with WinXP, it had no issues. I hope that helps to isolate the cause.