PDA

View Full Version : Can't get a remote detected entirely



Nathanael
December 22nd, 2006, 06:17 AM
I've got a Sapphire OEM remote (http://www.amdreview.com/reviews.php?rev=trixtv picture) and can not get all the keys to detect.

Apparently some of them act as a keyboard and others as a HID device. How can I get those which are a HID device detected?

Can I disable the normal output of the keyboard ones?

Promixis
December 22nd, 2006, 11:50 AM
Likely cannot change the keyboard ones,

Enable the hid plugin, select the edit on read and enable boxes.

Nathanael
December 22nd, 2006, 12:30 PM
Likely cannot change the keyboard ones,

Enable the hid plugin, select the edit on read and enable boxes.


Ahh - the enable boxes worked perfectly. Thank you.

Just one more thing... when Girder startsup I get some windows with weather. How do I turn that off?


Ahhh... another issue.
When I press the key the HID device sends and output. It registers, moves my mouse for one pixel and stops. When I release the key I get another event. Can I set it so that the mouse will keep moving until the second event is received?

It appears as the issue is that the program does Mouse left <down>, mouse left <up>, when the key is pressed and does not keep down.

I'd need two events. On 00 xxx do repeat 3Hz Mouse left <down> and <up>, on 00 000 stop all repeats or something like that.

Ron
December 22nd, 2006, 01:25 PM
unless the hardware sends the up event there is nothing built in. You can create it your self but would require some programming in Lua on your end.

Nathanael
December 22nd, 2006, 01:32 PM
unless the hardware sends the up event there is nothing built in. You can create it your self but would require some programming in Lua on your end.

When I press the button down the hardware sends 00 xxx. When I release the button the hardware sends 00 000.

Something like this could be coded:
On 00 xxx
repeat(
MOUSE LEFT <down>
MOUSE LEFT <up>
delay 100ms)

On 00 000
Goto here

OR if the MOUSE LEFT keeps moving the mouse simply
ON 00 xxx
MOUSE LEFT <down>

ON 00 000
MOUSE DOWN <up>

Ron
December 22nd, 2006, 01:39 PM
Exactly. You can do this in Lua.

Nathanael
December 22nd, 2006, 01:49 PM
Exactly. You can do this in Lua.

Is there any documentation available on the functions I can use?

Ron
December 22nd, 2006, 02:21 PM
the manual :-)