Keystroke takes no effekt ?

SBurger163

2011-05-11 18:22:49

Hello,

i have tried out the MT 1.6 Classic and the 1.7 Pro trial, but both take no effekt in my software?

The Software to control is "Soniccore Scope Platform". I must send a <ALT+1> to change the screen-presets...

All thinkable solutions are tested, but no response. Midi works perfekt in Ms-editor, I can control everything, but scope --> nothing...

Whats the difference between this softwares ? The last test I´ve done was to check out the Code with Spy++, and theres a diffrence between 1.6 and 1.7... but the new version send exactly the same code as the "native" Keyboard does.

Who can help me ?

Code v. 1.7:

Code: Select all

<00001> 0005012E P WM_SYSKEYDOWN nVirtKey:VK_MENU cRepeat:1 ScanCode:38 fExtended:0 fAltDown:1 fRepeat:0 fUp:0
<00002> 0005012E P WM_SYSKEYDOWN nVirtKey:'1' cRepeat:1 ScanCode:02 fExtended:0 fAltDown:1 fRepeat:0 fUp:0
<00003> 0005012E P WM_SYSCHAR chCharCode:'0031' (49) cRepeat:1 ScanCode:02 fExtended:0 fAltDown:1 fRepeat:0 fUp:0
<00004> 0005012E P WM_KEYUP nVirtKey:VK_MENU cRepeat:1 ScanCode:38 fExtended:0 fAltDown:0 fRepeat:1 fUp:1
<00005> 0005012E P WM_KEYUP nVirtKey:'1' cRepeat:1 ScanCode:02 fExtended:0 fAltDown:0 fRepeat:1 fUp:1
Code v. 1.6:

Code: Select all

<00001> 0005012E P WM_SYSKEYDOWN nVirtKey:VK_MENU cRepeat:1 ScanCode:00 fExtended:0 fAltDown:1 fRepeat:0 fUp:0
<00002> 0005012E P WM_SYSKEYDOWN nVirtKey:'1' cRepeat:1 ScanCode:02 fExtended:0 fAltDown:1 fRepeat:0 fUp:0
<00003> 0005012E P WM_SYSCHAR chCharCode:'0031' (49) cRepeat:1 ScanCode:02 fExtended:0 fAltDown:1 fRepeat:0 fUp:0
<00004> 0005012E P WM_KEYUP nVirtKey:VK_MENU cRepeat:1 ScanCode:00 fExtended:0 fAltDown:0 fRepeat:1 fUp:1
<00005> 0005012E P WM_KEYUP nVirtKey:'1' cRepeat:1 ScanCode:02 fExtended:0 fAltDown:0 fRepeat:1 fUp:1
native Keyboard (works!):

Code: Select all

<00001> 0005012E P WM_SYSKEYDOWN nVirtKey:VK_MENU cRepeat:1 ScanCode:38 fExtended:0 fAltDown:1 fRepeat:0 fUp:0
<00002> 0005012E P WM_SYSKEYDOWN nVirtKey:'1' cRepeat:1 ScanCode:02 fExtended:0 fAltDown:1 fRepeat:0 fUp:0
<00003> 0005012E P WM_SYSCHAR chCharCode:'0031' (49) cRepeat:1 ScanCode:02 fExtended:0 fAltDown:1 fRepeat:0 fUp:0
<00004> 0005012E P WM_KEYUP nVirtKey:VK_MENU cRepeat:1 ScanCode:38 fExtended:0 fAltDown:0 fRepeat:1 fUp:1
<00005> 0005012E P WM_KEYUP nVirtKey:'1' cRepeat:1 ScanCode:02 fExtended:0 fAltDown:0 fRepeat:1 fUp:1
Only the ScanCode is changed, but both don´t work for Scope ?


What´s the way to send a WM_Message instead of a Keystroke?

What Parameters I must set in Outgoing WM_Messages for a <ALT+1> ?

Windowname: Scope Fusion Platform
Class: wxFrameClass


Greetz
Stfean

florian

2011-07-10 11:51:01

Hi Stefan,

just saw this unanswered post...

We know of some applications that use DirectInput for receiving keystrokes. They don't respond to the normal WM messages (so manually sending those messages won't have any effect).

We have successfully made it work with DirectInput programs by separating key down and key up, see:
http://www.bome.com/forums/viewtopic.php?p=5170#p5170

Let me know if that works.

Thanks,
Florian