adq


Andrew de Quincey's livejournal


Previous Entry Share Next Entry
Joggler/openpeak backlight and light sensor code
adq
OKdoke, some more joggler code ready. If you look here, you'll find:


  • A patch to add the joggler's backlight control to the proper kernel backlight framework
  • A userspace program to read the light sensor value over the i2c bus.
  • Oh, the sound patch is on v2 now 'cos I'd accidentally left some cruft in.


  • 1

touch screen

(Anonymous)
I wonder if you could point me to any info on how to write scripts/C code to determine when and where the touch screen has been pressed?

Thanks for the i2c and back-light info - I have got control from a web page working.

Will put up some notes soon at http://www.sunspot.co.uk

(Newish Linux user)

Re: touch screen

I think the touchscreen just appears as a normal linux "input device framework" mouse - the devices for those are in /dev/input. If you 'cat /dev/input/mice' and touch the touchscreen you get stuff back. If you're just looking for a "has someone touched the touchscreen" to unblank the screen that might do!"

There must be a standard library or something for reading from those as well.

  • 1
?

Log in

No account? Create an account