This thing eats apples

Gabriel Dragffy dragffy at yandex.ru
Wed Mar 7 11:01:29 UTC 2007


Matthew Flaschen wrote:
> Gabriel Dragffy wrote:
>> I was wondering if anyone else had some input on Apple remote+Ubuntu, 
>> can it work even better? Or is it still early days?
> 
> Go into the command prompt:
> 
> Type:
> 
> xev
> 
> Then, push each button to see what comes up.  If you get "keycode xxx",
> the keypress is detected and you can do something with it (though config
> may be required).
> 
> Matt Flaschen
> 

Thanks, that's interesting. I can't really understand the output of xev
though. When I pressed some of the buttons on the remote that don't
currently do anything I got something like:

> KeyPress event, serial 26, synthetic NO, window 0x3800001,
>     root 0x3f, subw 0x0, time 76001505, (72,205), root:(87,302),
>     state 0x0, keycode 158 (keysym 0x0, NoSymbol), same_screen YES,
>     XLookupString gives 0 bytes: 
>     XmbLookupString gives 0 bytes: 
>     XFilterEvent returns: False
> 
> KeyRelease event, serial 26, synthetic NO, window 0x3800001,
>     root 0x3f, subw 0x0, time 76001505, (72,205), root:(87,302),
>     state 0x0, keycode 158 (keysym 0x0, NoSymbol), same_screen YES,
>     XLookupString gives 0 b


Does that mean that they can work or that they can't?

Thanks, again






More information about the ubuntu-users mailing list