All of lore.kernel.org
 help / color / mirror / Atom feed
* [matchbox-keyboard][PATCH 0/1] Addition of french keyboard
@ 2016-05-18  5:33 Herve Jourdain
  2016-05-18  5:33 ` [matchbox-keyboard][PATCH 1/1] " Herve Jourdain
  0 siblings, 1 reply; 3+ messages in thread
From: Herve Jourdain @ 2016-05-18  5:33 UTC (permalink / raw)
  To: yocto

The layout added is the one for French (France).
The behaviour for the CAPS keys is the same as Ubuntu (which is different from the behaviour in Windows).
This layout uses the "caps" tag, that sets the value of the key when the CAPS action modifier is in effect.
Tests have been done using sato.

Herve Jourdain (1):
  Addition of french keyboard

 layouts/Makefile.am     |   2 +-
 layouts/keyboard-fr.xml | 343 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 344 insertions(+), 1 deletion(-)
 create mode 100644 layouts/keyboard-fr.xml

-- 
2.7.4



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [matchbox-keyboard][PATCH 1/1] Addition of french keyboard
  2016-05-18  5:33 [matchbox-keyboard][PATCH 0/1] Addition of french keyboard Herve Jourdain
@ 2016-05-18  5:33 ` Herve Jourdain
  0 siblings, 0 replies; 3+ messages in thread
From: Herve Jourdain @ 2016-05-18  5:33 UTC (permalink / raw)
  To: yocto

Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
---
 layouts/Makefile.am     |   2 +-
 layouts/keyboard-fr.xml | 343 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 344 insertions(+), 1 deletion(-)
 create mode 100644 layouts/keyboard-fr.xml

diff --git a/layouts/Makefile.am b/layouts/Makefile.am
index b439041..ed40256 100644
--- a/layouts/Makefile.am
+++ b/layouts/Makefile.am
@@ -1,4 +1,4 @@
 keyboardsdir = $(datadir)/matchbox-keyboard
 dist_keyboards_DATA = keyboard.xml keyboard-extended.xml keyboard-dvorak.xml \
 		      keyboard-us.xml keyboard-ru.xml keyboard-fi.xml        \
-		      keyboard-numpad.xml
+		      keyboard-fr.xml keyboard-numpad.xml
diff --git a/layouts/keyboard-fr.xml b/layouts/keyboard-fr.xml
new file mode 100644
index 0000000..da8f3fe
--- /dev/null
+++ b/layouts/keyboard-fr.xml
@@ -0,0 +1,343 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<keyboard>
+
+<!--
+
+ FR keyboard layout by Herve Jourdain <herve.jourdain@neuf.fr>
+
+-->
+
+<options>
+<!-- not yet implemented -->
+</options>
+
+<layout id="default keyboard">
+
+  <row>
+    <space width="500" extended="true"/>
+
+    <key fill="true">
+	  <default display="Esc" action="escape" />
+    </key>
+    <key>
+	  <default display="²" />
+	  <shifted display="³" />
+    </key>
+    <key>
+	  <default display="&amp;" />
+	  <shifted display="1" />
+    </key>
+    <key>
+	  <default display="é" />
+	  <shifted display='2' />
+	  <mod1 display='~' />
+	  <caps display="É" />
+    </key>
+    <key>
+	  <default display="&quot;" />
+	  <shifted display="3" />
+	  <mod1 display="#" />
+    </key>
+    <key>
+	  <default display="'" />
+	  <shifted display="4" />
+	  <mod1 display="{" />
+    </key>
+    <key>
+	  <default display="(" />
+	  <shifted display="5" />
+	  <mod1 display="[" />
+    </key>
+    <key>
+	  <default display="-" />
+	  <shifted display="6" />
+	  <mod1 display="|" />
+    </key>
+    <key>
+	  <default display="è" />
+	  <shifted display="7" />
+	  <mod1 display='`' />
+	  <caps display="È" />
+    </key>
+    <key>
+	  <default display="_" />
+	  <shifted display="8" />
+	  <mod1 display='\' />
+    </key>
+    <key>
+	  <default display="ç" />
+	  <shifted display="9" />
+	  <mod1 display='^' />
+	  <caps display="Ç" />
+    </key>
+    <key>
+	  <default display="à" />
+	  <shifted display="0" />
+	  <mod1 display='@' />
+	  <caps display="À" />
+    </key>
+    <key>
+	  <default display=")" />
+	  <shifted display="°" />
+	  <mod1 display="]" />
+    </key>
+    <key>
+	  <default display="=" />
+	  <shifted display="+" />
+	  <mod1 display="}" />
+    </key>
+    <key>
+	  <default display="*" />
+	  <shifted display="µ" />
+    </key>
+
+    <key fill="true">
+	  <default display="Suppr" action="backspace"/>
+    </key>
+
+    <space width="500" extended="true"/>
+
+    <key width="4000"  extended="true">
+	  <default display="Début" action="home"/>
+    </key>
+    <key width="4000"  extended="true">
+	  <default display="Préc" action="pageup"/>
+    </key>
+
+    <space width="500" extended="true"/>
+  </row>
+
+  <row>
+    <space width="500" extended="true"/>
+
+    <key fill="true">
+	  <default display="Tab" action="tab"/>
+    </key>
+    <key obey-caps='true'>
+	  <default display="a" />
+	  <shifted display="A" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="z" />
+	  <shifted display="Z" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="e" />
+	  <shifted display="E" />
+	  <mod1 display="€" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="r" />
+	  <shifted display="R" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="t" />
+	  <shifted display="T" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="y" />
+	  <shifted display="Y" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="u" />
+	  <shifted display="U" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="i" />
+	  <shifted display="I" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="o" />
+	  <shifted display="O" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="p" />
+	  <shifted display="P" />
+    </key>
+    <key>
+	  <default display="^" action="xkeysym:dead_circumflex"/>
+	  <shifted display="¨" action="xkeysym:dead_diaeresis"/>
+    </key>
+    <key>
+	  <default display="$" />
+	  <shifted display="£" />
+	  <mod1 display="ø" />
+    </key>
+    <key>
+	  <default display="Préc" action="pageup"/>
+    </key>
+    <key>
+	  <default display="Suiv" action="pagedown"/>
+    </key>
+
+    <space width="500" extended="true"/>
+
+    <key width="4000"  extended="true">
+	  <default display="Fin" action="end"/>
+    </key>
+    <key width="4000"  extended="true">
+	  <default display="Suiv" action="pagedown"/>
+    </key>
+
+    <space width="500" extended="true"/>
+  </row>
+
+  <row>
+    <space width="500" extended="true"/>
+
+    <key fill="true">
+	  <default display="Caps" action="modifier:caps"/>
+    </key>
+    <key obey-caps='true'>
+	  <default display="q" />
+	  <shifted display="Q" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="s" />
+	  <shifted display="S" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="d" />
+	  <shifted display="D" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="f" />
+	  <shifted display="F" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="g" />
+	  <shifted display="G" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="h" />
+	  <shifted display="H" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="j" />
+	  <shifted display="J" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="k" />
+	  <shifted display="K" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="l" />
+	  <shifted display="L" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="m" />
+	  <shifted display="M" />
+    </key>
+    <key>
+	  <default display="ù" />
+	  <shifted display="%" />
+	  <caps display="Ù" />
+    </key>
+    <key fill="true">
+	  <default display="Entrée" action="return"/>
+    </key>
+
+    <space width="500" extended="true"/>
+    <space width="4000"  extended="true" />
+    <space width="4000"  extended="true" />
+    <space width="500" extended="true"/>
+  </row>
+
+  <row>
+    <space width="500" extended="true"/>
+
+    <key fill="true">
+	  <default display="Maj" action="modifier:shift"/>
+    </key>
+    <key>
+	  <default display="&lt;" />
+	  <shifted display="&gt;" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="w" />
+	  <shifted display="W" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="x" />
+	  <shifted display="X" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="c" />
+	  <shifted display="C" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="v" />
+	  <shifted display="V" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="b" />
+	  <shifted display="B" />
+    </key>
+    <key obey-caps='true'>
+	  <default display="n" />
+	  <shifted display="N" />
+    </key>
+    <key>
+	  <default display="," />
+	  <shifted display="?" />
+    </key>
+    <key>
+	  <default display=";" />
+	  <shifted display="." />
+    </key>
+    <key>
+	  <default display=":" />
+	  <shifted display="/" />
+    </key>
+    <key>
+	  <default display="!" />
+	  <shifted display="§" />
+    </key>
+    <key fill="true">
+	  <default display="Maj" action="modifier:shift"/>
+    </key>
+
+    <space width="500" extended="true"/>
+    <space width="4000"  extended="true" />
+    <space width="4000"  extended="true" />
+    <space width="500" extended="true"/>
+  </row>
+
+  <row>
+    <space width="500" extended="true"/>
+
+    <key fill="true">
+	  <default display="Ctrl" action="modifier:ctrl"/>
+    </key>
+    <key>
+	  <default display="Alt" action="modifier:alt"/>
+    </key>
+    <key width="12000">
+	  <default display=" " action="space" />
+    </key>
+    <key>
+	  <default display="AGR" action="modifier:mod1"/>
+    </key>
+
+    <key>
+	  <default display="&#x2191;" action="up" />
+    </key>
+    <key>
+	  <default display="&#x2193;" action="down" />
+    </key>
+    <key>
+	  <default display="&#x2190;" action="left" />
+    </key>
+    <key>
+	  <default display="&#x2192;" action="right" />
+    </key>
+
+    <space width="500" extended="true"/>
+    <space width="4000"  extended="true" />
+    <space width="4000"  extended="true" />
+    <space width="500" extended="true"/>
+  </row>
+
+</layout>
+
+</keyboard>
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [matchbox-keyboard][PATCH 0/1] Addition of french keyboard
@ 2016-05-17  9:43 Herve Jourdain
  0 siblings, 0 replies; 3+ messages in thread
From: Herve Jourdain @ 2016-05-17  9:43 UTC (permalink / raw)
  To: yocto

The layout added is the one for French (France).
The behaviour for the CAPS keys is the same as Ubuntu (which is different from the behaviour in Windows).
In addition to the layout, a patch has been necessary to support a "caps" tag, that sets the value of the key when the CAPS action modifier is in effect.
There is no impact when the tag is not used in the xml description of the layout, therefore there should be no impact on previously existing keyboards.
This feature is needed for the french keyboard - at least - in order to handle the uppercase accented letters, that are the ones accessible when caps is on, for some keys.
Test has been done using sato.

Herve Jourdain (1):
  Addition of french keyboard

 .../files/0002-add-french-keyboard.patch           | 477 +++++++++++++++++++++
 .../matchbox-keyboard/matchbox-keyboard_git.bb     |   1 +
 2 files changed, 478 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-sato/matchbox-keyboard/files/0002-add-french-keyboard.patch

-- 
2.7.4



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-18  5:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-18  5:33 [matchbox-keyboard][PATCH 0/1] Addition of french keyboard Herve Jourdain
2016-05-18  5:33 ` [matchbox-keyboard][PATCH 1/1] " Herve Jourdain
  -- strict thread matches above, loose matches on Subject: below --
2016-05-17  9:43 [matchbox-keyboard][PATCH 0/1] " Herve Jourdain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.