2009-12-13, 23:56
Again, thanks for responding.
To >>X<<,
I really appreciate the link to that util, as it may help me partially.
My problem stems from my particular remote sending a combination of keyboard strokes (WM_KEYDOWN), as well as what I would call "special" commands, (WM_APPCOMMAND).
The scary thing i dont' get about AHK is what portion of it do you use to detect what the remote is sending when a button is pushed?
Also, any idea how to map WM_APPCOMMAND to just normal keyboard presses?
To JHSRennie,
I really appreciate your hard work, again due to my issue above (the fact my remote does a weird combination of both exotic keyboard keys and appcommands), I really wouldn't be ideal to test the ad-hoc support of CNTRL, SHIFT, and ALT (my remote doesnt use ANY of those).
Here is what my remote uses:
Using Eventghost :
All in Win764bit with the following:
Using the Generic HID plugin. On selection, it allows me to select a "IR603 HID MCE" device, manafacturer being "Formosa21". Because I know the remote is sending keyboard commands, I also have the "Keyboard" plugin loaded. I am able to get, listed in order the buttons on my remote are labeled, (again, remember I have MC disabled):
Power Button: nothing! But god damn, if this doesn't put the computer in "suspend" mode...who in their right mind would want this??
Pictures: HID 73
Radio: HID 80
Videos: HID 74
Music: HID 71
Rec: nothing!
Pause: nothing!
Stop: nothing!
Skip Back: nothing!
Play: nothing!
Skip Fwd: nothing!
Rwd: nothing!
Fwd: nothing!
Green Button: HID 13
Back: nothing!
More: nothing!
Vol Up: nothing!
Vol down: nothing!
Chan up: nothing!
Chan down: nothing!
Up arrow: Keyboard Up
Down arrow: Keyboard Down
Left arrow: Keyboard Left
Right arrow: Keyboard Right
OK: Return
Mute: nothing!
Rec TV: HID 72
Guide: nothing!
Live TV: HID 37
DVD Menu: HID 36
Number keys equal their expected keyboard numbers.
Button *: (3 events!)
Keyboard L Shift
Keyboard L Shift + 8
Keyboard 8
Button #: (3 events!)
Keyboard L Shift
Keyboard L Shift + 3
Keyboard 3
Clear: Keyboard Escape
Enter: Keyboard Return
Using Showkey.exe, it gives me these responses to the remote buttons (only listing those that did not give me a response using default HID in Eventghost):
Rec: WM_APPCOMMAND 48 : Windows XP SP1 : Begin recording the video stream
Pause: WM_APPCOMMAND 47 : Windows XP SP1 : Pause
Stop: WM_KEYDOWN : vkey 0xB2 (178), scancode 0x0 (0) - VK_MEDIA_STOP
Skip Back: WM_KEYDOWN : vkey 0xB1 (177), scancode 0x0 (0) - VK_MEDIA_PREV_TRACK
Play: WMAPPCOMMAND 46 : Windows SP SP1 : Begin playing at current position
Skip Fwd: WM_KEYDOWN : vkey 0xB0 (176), scancode 0x0 (0) - VK_MEDIA_NEXT_TRACK
Rwd: WM_APPCOMMAND 50 : Windows XP SP1 : Go backward in a stream at higher rate of speed
Fwd: WM_APPCOMMAND 49 : Windows XP SP1 : Increase the rate of speed
Back: WM_KEYDOWN : vkey 0xA6 (166), scancode 0x0 (0) - VK_BROWSER_BACK
More: nothing, STILL!
Vol Up: WM_KEYDOWN vkey 0xAF (175), scancode 0x0 (0) - VK_VOLUME_UP
Vol down: WM_KEYDOWN vkey 0xAE (174), scancode 0x0 (0) - VK_VOLUME_DOWN
Chan up: WM_APPCOMMAND 51 : Windows XP SP1 : increment channel value
Chan down: WM_APPCOMMAND 52 : Windows XP SP1 : decrement channel value
Mute: WM_KEYDOWN vkey 0xAD (173), scancode 0x0 (0) - VK_VOLUME_MUTE
Guide: nothing, STILL!
Interestingly, the Up, Down, Left, Right keys, which were detected in Eventghost as Keyboard arrow keys, are detected in Showkey.exe as WM_KEYDOWN vkey 0x?? [where ?? are the numbers 25, 26, 27, 28 respectively for each arrow] (?? [where ?? is 37, 38, 39, 40], scancode 0x?? [where ?? is 4B, 48, 4D, 50] (?? [where ?? is 75, 72, 77, 80] - VK_?? [?? is LEFT, RIGHT, UP, DOWN].
So as you can see, my remote does some weird commands...i might have to use two different solutions, running in parralel (Eventghost and AutoHotKey), to get this things working right, still missing the ability to map WM_APPCOMMAND....
Sigh...
To >>X<<,
I really appreciate the link to that util, as it may help me partially.
My problem stems from my particular remote sending a combination of keyboard strokes (WM_KEYDOWN), as well as what I would call "special" commands, (WM_APPCOMMAND).
The scary thing i dont' get about AHK is what portion of it do you use to detect what the remote is sending when a button is pushed?
Also, any idea how to map WM_APPCOMMAND to just normal keyboard presses?
To JHSRennie,
I really appreciate your hard work, again due to my issue above (the fact my remote does a weird combination of both exotic keyboard keys and appcommands), I really wouldn't be ideal to test the ad-hoc support of CNTRL, SHIFT, and ALT (my remote doesnt use ANY of those).
Here is what my remote uses:
Using Eventghost :
All in Win764bit with the following:
Using the Generic HID plugin. On selection, it allows me to select a "IR603 HID MCE" device, manafacturer being "Formosa21". Because I know the remote is sending keyboard commands, I also have the "Keyboard" plugin loaded. I am able to get, listed in order the buttons on my remote are labeled, (again, remember I have MC disabled):
Power Button: nothing! But god damn, if this doesn't put the computer in "suspend" mode...who in their right mind would want this??
Pictures: HID 73
Radio: HID 80
Videos: HID 74
Music: HID 71
Rec: nothing!
Pause: nothing!
Stop: nothing!
Skip Back: nothing!
Play: nothing!
Skip Fwd: nothing!
Rwd: nothing!
Fwd: nothing!
Green Button: HID 13
Back: nothing!
More: nothing!
Vol Up: nothing!
Vol down: nothing!
Chan up: nothing!
Chan down: nothing!
Up arrow: Keyboard Up
Down arrow: Keyboard Down
Left arrow: Keyboard Left
Right arrow: Keyboard Right
OK: Return
Mute: nothing!
Rec TV: HID 72
Guide: nothing!
Live TV: HID 37
DVD Menu: HID 36
Number keys equal their expected keyboard numbers.
Button *: (3 events!)
Keyboard L Shift
Keyboard L Shift + 8
Keyboard 8
Button #: (3 events!)
Keyboard L Shift
Keyboard L Shift + 3
Keyboard 3
Clear: Keyboard Escape
Enter: Keyboard Return
Using Showkey.exe, it gives me these responses to the remote buttons (only listing those that did not give me a response using default HID in Eventghost):
Rec: WM_APPCOMMAND 48 : Windows XP SP1 : Begin recording the video stream
Pause: WM_APPCOMMAND 47 : Windows XP SP1 : Pause
Stop: WM_KEYDOWN : vkey 0xB2 (178), scancode 0x0 (0) - VK_MEDIA_STOP
Skip Back: WM_KEYDOWN : vkey 0xB1 (177), scancode 0x0 (0) - VK_MEDIA_PREV_TRACK
Play: WMAPPCOMMAND 46 : Windows SP SP1 : Begin playing at current position
Skip Fwd: WM_KEYDOWN : vkey 0xB0 (176), scancode 0x0 (0) - VK_MEDIA_NEXT_TRACK
Rwd: WM_APPCOMMAND 50 : Windows XP SP1 : Go backward in a stream at higher rate of speed
Fwd: WM_APPCOMMAND 49 : Windows XP SP1 : Increase the rate of speed
Back: WM_KEYDOWN : vkey 0xA6 (166), scancode 0x0 (0) - VK_BROWSER_BACK
More: nothing, STILL!
Vol Up: WM_KEYDOWN vkey 0xAF (175), scancode 0x0 (0) - VK_VOLUME_UP
Vol down: WM_KEYDOWN vkey 0xAE (174), scancode 0x0 (0) - VK_VOLUME_DOWN
Chan up: WM_APPCOMMAND 51 : Windows XP SP1 : increment channel value
Chan down: WM_APPCOMMAND 52 : Windows XP SP1 : decrement channel value
Mute: WM_KEYDOWN vkey 0xAD (173), scancode 0x0 (0) - VK_VOLUME_MUTE
Guide: nothing, STILL!
Interestingly, the Up, Down, Left, Right keys, which were detected in Eventghost as Keyboard arrow keys, are detected in Showkey.exe as WM_KEYDOWN vkey 0x?? [where ?? are the numbers 25, 26, 27, 28 respectively for each arrow] (?? [where ?? is 37, 38, 39, 40], scancode 0x?? [where ?? is 4B, 48, 4D, 50] (?? [where ?? is 75, 72, 77, 80] - VK_?? [?? is LEFT, RIGHT, UP, DOWN].
So as you can see, my remote does some weird commands...i might have to use two different solutions, running in parralel (Eventghost and AutoHotKey), to get this things working right, still missing the ability to map WM_APPCOMMAND....
Sigh...