Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

ATI HID Remote Control Capture Redirection

If you have a question or need help, this is the place to be.
Post Reply
galalleni
Posts: 2
Joined: Tue Apr 14, 2009 11:15 pm

ATI HID Remote Control Capture Redirection

Post by galalleni »

Hi All,

I am having trouble getting EventGhost to exclusively capture key press events from my HID IR Remote - for example, when I press the On/Off button on the remote the computer shuts down no matter what and I can't seem to remap it to something more useful, like shutting down my applications (ala Alt+F4). I know from limited programming knowledge that a function hook, handler or event capture of some sort must be available to capture all output from the HID Device and use it exclusively in EventGhost - without passing it on to the application or Default OS handlers.

Any Ideas on how to get EventGhost to capture all output of an HID Remote Device without passing the event down the line? (Preferably before the OS chooses to shutdown the computer on an accidental On/Off button press :x ). Many thanks for any help. :wink:

Galalleni 8)

PS Searched the forum using HID Redirection, HID Capture - didn't find anything (except exclusive events - which are not exclusive to the OS for my remote)

Sorry if this has been posted before. (Please add tagging to redirect questions to the right thread if so)
galalleni
Posts: 2
Joined: Tue Apr 14, 2009 11:15 pm

*Bartman, Ideas? Re: ATI HID Remote Control Capture Redirect

Post by galalleni »

Okay, so I looked through the HID plugin - it seems there is a simple API call to make HID events exclusive to EventGhost, HidP_UnsetUsages, right after the ReadInputReport. The only thing I'm afraid of is making it so that repeat or long keypress actions are not detected, ideas? I want to make sure things will work proper (at any level)

Thanks.

PS Still learning python - so I'm a bit lost (not entirely though, it's close enough to C)
Win32 API disgusts me - more of a classic C and asm linux programmer

Will program the exclusivity option in once I am more framiliar with python
Post Reply