May be it's too late, but i was modifying Paint to use the slider keys (F5,F6,F7,F8) to change the size of the brush. I know there aren't other uses of slider in Sugar, but I think it's useful and expressive to have keys to enlarge or reduce the brush, the fonts,etc.<br>
If we need F5 and F6 to the journal and the frame we can use F7 and F8 to change sizes but will be different in the actual keyboards and the HS keyboard.<br>You will have other problem with the actual keyboard definition.Pressing fn with any slider key gives no event at all.<br>
<br>Gonzalo<br><br><br><div class="gmail_quote">On Thu, Jul 15, 2010 at 7:50 PM, Daniel Drake <span dir="ltr"><<a href="mailto:dsd@laptop.org">dsd@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
On the XO HS (highschool edition, the one with a more "normal"<br>
keyboard) we're facing some questions about how the F keys should<br>
function, under sugar and GNOME.<br>
<br>
The technicalities are in <a href="http://dev.laptop.org/ticket/10213" target="_blank">http://dev.laptop.org/ticket/10213</a> and here<br>
is a picture of the keyboard:<br>
<a href="http://wiki.laptop.org/go/OLPC_Spanish_Non-membrane_Keyboard" target="_blank">http://wiki.laptop.org/go/OLPC_Spanish_Non-membrane_Keyboard</a><br>
<br>
Under non-sugar environments (e.g. GNOME), myself and Paul are in<br>
agreement that in order to change brightness and volume, you should<br>
press e.g. Fn+F9 (to decrease brightness).<br>
<br>
This matches behaviour of "normal" laptops, including the Dell that<br>
I'm writing on. Linux already has mechanisms (once through hal, now<br>
through udev) so that when I press Fn+F8 on my Dell, X receives the<br>
"volume down" key press (instead of the Fn+F8 key press), matching<br>
what is printed on the keyboard.<br>
<br>
<br>
We want all of the unmodified F-keys to send the normal F-key events<br>
(we don't want to map them especially). This is for maximum<br>
compatibility with non-sugar environments.<br>
<br>
<br>
For Sugar we have an open question.<br>
The F1-F4 keys have the zoom levels printed on them, and pressing the<br>
keys unmodified will cause the zoom levels to change (because this is<br>
how Sugar is already coded, it responds to the literal F1 keypress).<br>
<br>
The other keys are:<br>
- F5: search/journal<br>
- F6: frame<br>
- F9: brightness down<br>
- F10: brightness up<br>
- F11: volume down<br>
- F12: volume up<br>
<br>
For these other keys, when using Sugar, should the user have to press<br>
the Fn modifier while pressing the key in order to reach the named<br>
function?<br>
<br>
The advantage of not having to press Fn (i.e. the keys would work<br>
unmodified) is that sugar works the way it always has on XO (we retain<br>
consistency with XO-1).<br>
As for the other option, the advantage of requiring Fn is that we gain<br>
consistency between Sugar and GNOME, and between the XO HS and<br>
"normal" laptops (where Fn *is* necessary to reach those alternate<br>
functions). (but we do end up with some confusion with the zoom level<br>
keys,which will continue to work unmodified)<br>
<br>
If we decide to make the keys available unmodified in Sugar we would<br>
have to change sugar (worldwide, not interested in downstream forked<br>
patches) so that F5 on any system opens the journal, F6 on any system<br>
opens the frame, etc. How would people feel about that?<br>
<br>
cheers,<br>
Daniel<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div><br><br>