1 20:05 #vala < enrico> Hello. I'd like to read data from /dev/input/eventN, which, in C, requires
2 reading a struct input_event from #include <linux/input.h>. What is the canonical
3 way in vala to do such things?
4 20:17 #vala < mfpuente> enrico, you have to create a vapi file containing constants, enums, structs and
5 functions you need to do that, take a look at v4l2.vapi in your vala
6 installation or here http://git.gnome.org/cgit/vala/tree/vapi/v4l2.vapi
7 20:17 #vala <@zeenix> enrico: write C functions to do that and bind/call that to/from Vala?
10 http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/index.html;hb=HEAD
13 - turn off backlight when locking screen unless backlight is requested
14 - turn off by setting brightness to 0 (or fading it), so that we do not
15 impair the Display policy
16 - show the clock when locked
17 - first short click turns on backlight but leaves screen as it is (for sat navs and whatnot)
18 - second short click within a second shows clock
19 - click when clock is present hides it
21 - vibrate at alarm trigger
22 - play sound at alarm trigger
23 - leave expired alarm on screen until acknowledged
24 (alarm status icon that also brings to alarm menu)
25 - remember alarm names (on request, maybe with an add feature) and how
26 often they are triggered, and show them most frequent first
27 - remember unexpired alarms persistently (again, a table in sqlite?) so
28 that they can be reinstated if zavai is restarted
29 - show active alarms and allow to delete them
30 - GPX status icon (off, waiting for fix, recording)
31 - GPX waypoint using AUX button
38 - start/stop wicd-client
39 - Suspend phone if not calling and gps is not on and backlight is not on
40 (maybe with idle notifier?)
41 - Phone from kapula (or just running kapula)
42 - Split polygen applet in a separate app, ran via a .desktop file
43 (faster zavai startup time, can then integrate a browser in the polygen
44 applet, makes more sense altogether)
45 - Is there a way to lock the screen completely turning off the touchscreen, so
46 that interrupts are not even generated?
49 - GPX log with more features (quality, course, speed, ...)
50 - Take a waypoint then show a menu with a timeout
51 - Add a scribbled note
53 - Add a text note (tickling the text input method thing)
54 If timeout expires, leave the waypoint with the automatic name
57 (can be done by just quitting and let the runner script restart it)
58 - get fix events without requesting the GPX resource (and then? gpx log all the time? what for?)