tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Suggestions for reporting remote control button presses to userland



On Tue, 7 Oct 2008, Jared D. McNeill wrote:

> I have a 24-button IR remote control here that I want to use with NetBSD.

There is a Sony Bluetooth remote (intended for the PS/3) that would be
neat to be able to use also. I didn't look into it but there was some
mention on the freebsd bluetooth list a while ago.

> My driver decodes the key presses, but I don't know how to deliver them
> to userland. wskbd seems a bit heavy, and even if there was an easier
> way I'm not sure how I would represent a button named eg. "DVD menu" or
> "Guide" with wskbd.

how do keyboards (or computers) with 'media buttons' work?  If they
translate into some kind of keycode then I think a remote control should
probably just do that also.. (it is a key press on a board of keys :)

There is the linux question aswell, I saw that 'the linux crowd have the
sony PS3 bluetooth remote working' but I don't know how, and if any
application software is using that API, might be worth looking into?

iain


Home | Main Index | Thread Index | Old Index