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 - show the clock when locked
14 - first short click turns on backlight but leaves screen as it is (for sat navs and whatnot)
15 - second short click within a second shows clock
16 - click when clock is present hides it
17 - icon linking to "current apps" in the main screen
19 - vibrate at alarm trigger
20 - play sound at alarm trigger
21 - leave expired alarm on screen until acknowledged
22 (alarm status icon that also brings to alarm menu)
23 - remember alarm names (on request, maybe with an add feature) and how
24 often they are triggered, and show them most frequent first
25 - remember unexpired alarms persistently (again, a table in sqlite?) so
26 that they can be reinstated if zavai is restarted
27 - show active alarms and allow to delete them
28 - GPX status icon (off, waiting for fix, recording)
29 - GPX waypoint using AUX button
36 - start/stop wicd-client
37 - Suspend phone if not calling and gps is not on and backlight is not on
38 (maybe with idle notifier?)
39 - Phone from kapula (or just running kapula)
40 - Split polygen applet in a separate app, ran via a .desktop file
41 (faster zavai startup time, can then integrate a browser in the polygen
42 applet, makes more sense altogether)
43 - Is there a way to lock the screen completely turning off the touchscreen, so
44 that interrupts are not even generated?
47 - GPX log with more features (quality, course, speed, ...)
48 - Take a waypoint then show a menu with a timeout
49 - Add a scribbled note
51 - Add a text note (tickling the text input method thing)
52 If timeout expires, leave the waypoint with the automatic name
55 (can be done by just quitting and let the runner script restart it)
56 - get fix events without requesting the GPX resource (and then? gpx log all the time? what for?)