Active Topics

 


Reply
Thread Tools
Moderator | Posts: 5,320 | Thanked: 4,464 times | Joined on Oct 2009
#101
Originally Posted by qwazix View Post
Yes I did. It's not exactly like you requested but I think now it has all the relevant information
I see you updated the OP with everything recently too, thanks!
 
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#102
I think that the arrows are some of the most useful keys so they should be readily accessible. I modified the default symbols_en.xml layout so that they appear in the first symbols layout, eating up the space of the space key. I had to move the single quote to the row above too to make them fit.

Edit /usr/share/meegotouch/virtual-keyboard/layouts/symbols_en.xml with this and you will have it in all languages that import it as symbols.

Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE keyboard SYSTEM 'VirtualKeyboardLayout.dtd'>
<keyboard version="1.0" catalog="symbols">
  <layout type="general">
    <section id="symbols0" type="non-sloppy">
      <row>
        <key>
          <binding label="1"/>
        </key>
        <key>
          <binding label="2"/>
        </key>
        <key>
          <binding label="3"/>
        </key>
        <key>
          <binding label="4"/>
        </key>
        <key>
          <binding label="5"/>
        </key>
        <key>
          <binding label="6"/>
        </key>
        <key>
          <binding label="7"/>
        </key>
        <key>
          <binding label="8"/>
        </key>
        <key>
          <binding label="9"/>
        </key>
        <key>
          <binding label="0"/>
        </key>
      </row>

      <row>


        <key>
          <binding label="*"/>
        </key>
        <key>
          <binding label="#"/>
        </key>
        <key>
          <binding label="+"/>
        </key>
        <key>
          <binding label="-"/>
        </key>
        <key>
          <binding label="="/>
        </key>
        <key>
          <binding label="("/>
        </key>
        <key>
          <binding label=")"/>
        </key>
        <key>
          <binding label="!"/>
        </key>
        <key>
          <binding label="?"/>
        </key>
        <key>
          <binding label="&#x0027;" quickpick="true"/>
        </key>


      </row>

      <row>
        <key style="special" width="large">
          <binding action="switch" label="1/2"/>
        </key>

        <key>
          <binding label="@" quickpick="true"/>
        </key>
        <key>
          <binding label="~"/>
        </key>
        <key>
          <binding label="/"/>
        </key>
        <key>
          <binding label="\"/>
        </key>
        <key>
          <binding label=";"/>
        </key>
        <key>
          <binding label=":"/>
        </key>

        <key>
          <binding action="up"/>
        </key>

        <key style="special" width="large">
          <binding action="backspace"/>
        </key>
      </row>

      <row>
        <key style="special" width="large">
          <binding action="sym" label="ABC"/>
        </key>
        <key><binding label=","/></key>
        <key width="large"><binding action="space"/></key>
        <key><binding label="."/></key>

        <key style="special" width="large" id="actionKey">
          <binding action="return"/>
        </key>
        <key>
          <binding action="left"/>
        </key>
​
        <key>
          <binding action="down"/>
        </key>
​
        <key>
          <binding action="right"/>
        </key>
      </row>
    </section>

    <section id="symbols1" type="non-sloppy">
      <row>
        <key>
          <binding label="&#x20AC;"/>
        </key>
        <key>
          <binding label="&#x00A3;"/>
        </key>
        <key>
          <binding label="&#x0024;"/>
        </key>
        <key>
          <binding label="&#x00A5;"/>
        </key>
        <key>
          <binding label="&#x20B9;"/>
        </key>
        <key>
          <binding label="&#x0025;"/>
        </key>
        <key>
          <binding label="&#x003C;"/>
        </key>
        <key>
          <binding label="&#x003E;"/>
        </key>
        <key>
          <binding label="&#x005B;"/>
        </key>
        <key>
          <binding label="&#x005D;"/>
        </key>
      </row>

      <row>
        <spacer/>

         <key>
          <binding label="&#x0060;"/>
        </key>
        <key>
          <binding label="&#x005E;"/>
        </key>
        <key>
          <binding label="&#x007C;"/>
        </key>
        <key>
          <binding label="&#x005F;"/>
        </key>
        <key>
          <binding label="&#x00A7;"/>
        </key>
        <key>
          <binding label="&#x007B;"/>
        </key>
        <key>
          <binding label="&#x007D;"/>
        </key>
        <key>
          <binding label="&#x00A1;"/>
        </key>
        <key>
          <binding label="&#x00BF;"/>
        </key>

        <spacer/>
      </row>

      <row>
        <key style="special" width="large">
          <binding action="switch" label="2/2"/>
        </key>

        <spacer/>

        <key>
          <binding label="&#x00AB;"/>
        </key>
        <key>
          <binding label="&#x00BB;"/>
        </key>
        <key>
          <binding label="&#x0022;"/>
        </key>
        <key>
          <binding label="&#x201C;"/>
        </key>
        <key>
          <binding label="&#x201D;"/>
        </key>
        <key>
          <binding label="&#x201E;"/>
        </key>
        <key>
          <binding label="&#x0026;"/>
        </key>

        <spacer/>

        <key style="special" width="large">
          <binding action="backspace"/>
        </key>
      </row>

      <row>
        <key style="special" width="x-large">
          <binding action="sym" label="ABC"/>
        </key>

        <spacer/>

        <key><binding label=","/></key>
        <key width="xx-large"><binding action="space"/></key>
        <key><binding label="."/></key>

        <spacer/>

        <key style="special" width="x-large" id="actionKey">
          <binding action="return"/>
        </key>
      </row>
    </section>
  </layout>
</keyboard>
And here's a screenshot Name:  Screen_03-Mar-12_22-04-29.jpg
Views: 610
Size:  21.3 KB

by the way if you press the symbols button (123?) while pressing shift, and then use the arrows without lifting the finger from where shift was you can select text

EDIT: don't do it. It will work, but it'll stay like that until reboot
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob

Last edited by qwazix; 2012-03-04 at 17:10.
 

The Following 2 Users Say Thank You to qwazix For This Useful Post:
Rusnak-COBRA's Avatar
Posts: 218 | Thanked: 151 times | Joined on Dec 2011 @ Slovakia
#103
can we somehow create half sized keys? in both ways - high and wide. any of it would be OK to try sth. Spacer is half of button, why not button itself.

anyway, I added those arrows (4 or 2, depending on amount of space) to ecery toolbar in system - it is in IM, messages, mails and so on. so there is no need to add it to main KB.

I'll maybe add them to both sides of SPACE button, as there are ΄ and ˇ buttons for ľščťžύανϊď and so on... I can merge then to one to free some space... Ofcourse I am talking about SK and CZ keyboards.
 
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#104
You can style buttons with css. I don't know if you can do it inline, the documentation just says css.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following User Says Thank You to qwazix For This Useful Post:
Rusnak-COBRA's Avatar
Posts: 218 | Thanked: 151 times | Joined on Dec 2011 @ Slovakia
#105
I'm talking about this:
<!ATTLIST row
height (small | medium | large | x-large | xx-large) "medium"
fixed (true | false) "false">

<!ATTLIST key
style (normal | special | deadkey) "normal"
width (small | medium | large | x-large | xx-large | stretched) "medium"
fixed (true | false) "false"
rtl (true | false) "false"
id CDATA #IMPLIED
about that parameter SMALL
 
aironeous's Avatar
Posts: 819 | Thanked: 806 times | Joined on Jun 2009 @ Oxnard, Ca.
#106
FYI the arrow keys don't work for sms after pr 1.2. The arrow keyboard from Mesinput.
 
Rusnak-COBRA's Avatar
Posts: 218 | Thanked: 151 times | Joined on Dec 2011 @ Slovakia
#107
mesinput KB with any arrows was not ever working for moving cursor in text.

just after updating to PR1.2 the toolbar one is working or above mentioned action="left"
 

The Following User Says Thank You to Rusnak-COBRA For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#108
I don't know exactly but if you read the guide in post #1 you may find something. I understood that you can adjust what "small" means with css.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 
Rusnak-COBRA's Avatar
Posts: 218 | Thanked: 151 times | Joined on Dec 2011 @ Slovakia
#109
i know what that means but I was just not able to create the small button in any way it messed up whole keyboard row (or all of them) when used as parameter.
 
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#110
Maybe you can make a new definition mysmall that corresponds to you own size
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 
Reply

Tags
harmattan, keyboard layout


 
Forum Jump


All times are GMT. The time now is 04:22.