[yocto] [matchbox-keyboard][PATCH 1/1] Addition of french keyboard
Herve Jourdain
herve.jourdain at neuf.fr
Tue May 17 22:33:45 PDT 2016
Signed-off-by: Herve Jourdain <herve.jourdain at 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 at 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="&" />
+ <shifted display="1" />
+ </key>
+ <key>
+ <default display="é" />
+ <shifted display='2' />
+ <mod1 display='~' />
+ <caps display="É" />
+ </key>
+ <key>
+ <default display=""" />
+ <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="<" />
+ <shifted display=">" />
+ </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="↑" action="up" />
+ </key>
+ <key>
+ <default display="↓" action="down" />
+ </key>
+ <key>
+ <default display="←" action="left" />
+ </key>
+ <key>
+ <default display="→" 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
More information about the yocto
mailing list