I was modifying Paint to change the tool size using the slider keys.<br>I used the the keys to change the size in a relative form. The first key reduce the size by 5, the second reduce by 1, the third enlarge by 1 and the fourth enlarge by 5.<br>
Then I talked with Walter, he told me, you can use the slider with seven values. Pressing the key 1, 1 and 2, 2, 2 and 3,3,3 and 4, etc. Also the original plan was use the Fn key with the slider.<br>I thought use the slide without Fn to set absolut sizes, and with Fn to modify relatively the sizes. (I don't know if is a good idea).<br>
But I have two problems:<br>* I don't have key events when I press two slider keys simultaneously.<br>* I don't have key events when I press the Fn key and the slider keys.<br>Anybody knows what can I do? Where is the definition of the codes for the OLPC keyboard? (for example we have PgUp and PgDown in the arrows using Fn) <br>
It's posible to have a event when you press two slider keys? (In a PC keyboard are F5 to F8)<br>Thanks<br><br>Gonzalo<br> <br><br>Links<br><a href="http://wiki.laptop.org/go/Keyboard_definitions" target="_blank">http://wiki.laptop.org/go/Keyboard_definitions</a><br>
<a href="http://wiki.laptop.org/go/OLPC_Spanish_Keyboard" target="_blank">http://wiki.laptop.org/go/OLPC_Spanish_Keyboard</a><br>
<a href="http://www.linuxquestions.org/questions/linux-software-2/creating-custom-keyboard-definition-file-649255/" target="_blank">http://www.linuxquestions.org/questions/linux-software-2/creating-custom-keyboard-definition-file-649255/</a><br>
<br><br>