Hi,

This indeed is a good idea.
I took a look at the code, and I believe I can implement the Mac  
portion of the new input event model using HID Manager.

I'll post the patch when I finish implementing it.

-----
Tatsuhiro Nishioka

On 2009/08/05, at 5:37, Torsten Dreyer <tors...@t3r.de> wrote:

> I Just found out that my notebook's lid switch is an input device:
>
> I: Bus=0019 Vendor=0000 Product=0005 Version=0000
> N: Name="Lid Switch"
> P: Phys=PNP0C0D/button/input0
> S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input5
> U: Uniq=
> H: Handlers=event5
> B: EV=21
> B: SW=1
>
> So - FlightGear now pauses when I close my notebook's lid. This  
> could be very
> useful when running FlightGear at work and the boss suddenly shows  
> up on a
> short final...
>
> --- 
> --- 
> --- 
> ---------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to