View Single Post
  #5  
Old March 13th 15, 11:56 AM posted to microsoft.public.windowsxp.general
R.Wieser
external usenet poster
 
Posts: 1,302
Default Disable "RC6 MCE based Remote Control" build-in handling ?

Paul,

That's probably still not what you had in mind.


Correct.

I've found lots of data about defining the actions that are taken on certain
IR codes, and am fairly certain (understatement :-) that I can get it to
work. But as that conversion table is a "one size fits (*must* fit) all"
its way too restrictive. Hence, I need to disable it (and only that
translation table and related behaviour).

1) Write your own driver, one that allows you to
control the received IR codes.


I already can. By using RegisterRawInputDevices I receive "raw" data
pertaining to all the buttons on the remote. Translation goes well enough
for keystrokes, am still trying to figure out the other two.

The output still has to correspond to something an
application can use


Better yet: as I'm in full control over the translation I can (and do)
switch translation tables depending on the focussed app.

Maybe you could map the incoming codes from the remote, into
a character stream on a COM port.


Everything is possible.

But I've ran in enough problems trying to emulate the origional functions of
the IR buttons, and would like to solve them first before thinking about
stuff
like that.

(
for example, posting a VK_TAB using WM_KEYDOWN and -UP to the topmost window
in an app does not cause a jump to the next control (instead it causes a
jump back to the first-created control). The very same keycode does
however work fine when using the SendInput method.

I can't seem to reliably give an app keyboard and mouse focus when I either
ShelleExecute a program or find an already running one.

I've already posted such problems in comp.os.ms-windows.programmer.win32,
but have not heard any definite solutions to them.
)

Regards,
Rudy Wieser


-- Origional message
Paul schreef in berichtnieuws
...


http://www.avsforum.com/forum/26-hom...3-remap-button
s-media-center-remote.html

The last post there, references this page.

http://xbmccustomregis.sourceforge.net/remapping.html

And there is an application here. No source. Just .exe.
Apparently it uses .NET, which is why it's a bit small.
So far, I haven't seen any practical application info.


https://code.google.com/p/mce-remote...ame=MceRemoteM
apper.exe&can=2&q=

I'm guessing if Media Center has the focus, then it's going
to get whatever keyboard equivalent the remapping achieves ?
That's probably still not what you had in mind.

*******

With regard to a device in Device Manager, you can:

1) Write your own driver, one that allows you to
control the received IR codes.

2) Use a filter driver to intercept the data stream.

The output still has to correspond to something an application
can use. Maybe you end up defining a service, your application
uses that service to get the custom data stream. Maybe you
could map the incoming codes from the remote, into a character
stream on a COM port.

Paul






Ads