<div class="gmail_quote">On Thu, Aug 26, 2010 at 1:01 AM, Holt <span dir="ltr"><<a href="mailto:holt@laptop.org">holt@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">
Mohammed Irshan wrote:
<blockquote type="cite">
<p class="MsoNormal">I’m a volunteer who is supporting to test the
OLPC. Can anyone explain me the functionality of each key in
Programmable slider?</p>
</blockquote>
<br>
<a href="http://laptop.org/en/laptop/start/keyboard.shtml" target="_blank">http://laptop.org/en/laptop/start/keyboard.shtml</a> says:<br>
<br>
"The slider keys are reserved for a future feature."<br>
<br>
(regarding the "Programmable slider" with 7 dots of increasing size, at
the top/center of the keyboard)<br>
<br>
<br>
<img src="cid:part1.05010504.00000304@laptop.org" alt=""><br>
</div>
</blockquote></div><br><div>Oficina (Portuguese for Workshop) or the Paint Activity recently started using the slider to adjust the pen line, brush stroke, eraser size:</div><div>(<a href="http://git.sugarlabs.org/projects/paint/repos/mainline/blobs/master/OficinaActivity.py#line136">http://git.sugarlabs.org/projects/paint/repos/mainline/blobs/master/OficinaActivity.py#line136</a>)</div>
<div><br></div><div><div>def key_press(self, widget, event):</div><div> sliders = {65474: -5, 65475: -1, 65476: 1, 65477: 5}</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> if event.keyval in sliders:</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span> self.area.change_line_size(sliders[event.keyval])</div></div><div><br></div><div>But, testing with os852 and Paint 27, showed that f5 (the first slider button) activated Journal search and f6 activated the Frame as in the <a href="http://wiki.laptop.org/go/OLPC_English_Non-membrane_Keyboard">http://wiki.laptop.org/go/OLPC_English_Non-membrane_Keyboard</a>, and f7 & f8 seemed not to affect the tool line size.</div>
<div><br></div><div> --Fred</div><meta http-equiv="content-type" content="text/html; charset=utf-8">