commit initial de la premiere version de la AstroVisioBox

This commit is contained in:
Kenzo Kowal 2023-11-03 16:49:06 +01:00
parent baa755540d
commit 4fe14af91e
22 changed files with 4688 additions and 0 deletions

3049
Keyboard.py Executable file

File diff suppressed because it is too large Load Diff

5
README Normal file
View File

@ -0,0 +1,5 @@
Lancez le script.sh pour installer sur le raspberry pi les fichiers nécessaires
pour la mise en place de la JitsiBox.
Si vous voulez faire des modifications sur les boutons, vous devez modifier les fichiers key_defs ( fonction des touches ), Whiteboard.onboard et Whiteboard-Alpha.svg ( disposition des touches ).
Pour modifier l'appareil à lequel vous allez vous connecter en bluetooth, modifiez l'adresse MAC qui se situe dans le fichier scripts/btconnect.sh.

420
Whiteboard-Alpha.svg Executable file
View File

@ -0,0 +1,420 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created for Onboard -->
<svg
id="svg2"
height="167.6443"
width="240.00722"
version="1.0"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
sodipodi:docname="Whiteboard-Alpha.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs84" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1366"
inkscape:window-height="700"
id="namedview82"
showgrid="false"
inkscape:zoom="2.2344574"
inkscape:cx="220.18768"
inkscape:cy="63.99764"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2"
inkscape:snap-global="true"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
showguides="true"
inkscape:guide-bbox="true"
inkscape:pagecheckerboard="0" />
<metadata
id="metadata3346">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Whiteboard-Alpha.svg</dc:title>
<cc:license
rdf:resource="https://www.gnu.org/licenses/gpl.txt" />
<dc:creator>
<cc:Agent>
<dc:title>Johannes Almer</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>GPL-3+ license</dc:title>
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title>Onboard Devel Team</dc:title>
</cc:Agent>
</dc:publisher>
<dc:source>https://launchpad.net/onboard</dc:source>
<dc:relation>This file is part of Onboard</dc:relation>
<dc:contributor>
<cc:Agent>
<dc:title>Copyright © 2016, Francesco Fumanti &lt;francesco.fumanti@gmx.net&gt;
Copyright © 2014, Johannes Almer</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
</rdf:RDF>
</metadata>
<rect
id="raise"
style="fill:#e5d8b2;stroke:#000000"
height="46"
width="46"
y="0.95058525"
x="0.5" />
<rect
id="people"
style="fill:#e5d8b2;stroke:#000000;stroke-width:1.26316"
height="46"
width="46"
y="48.951347"
x="1.2368591" />
<rect
id="micro"
style="fill:#e5d8b2;stroke:#000000;stroke-width:1.26316"
height="46"
width="46"
y="0.95058525"
x="48.499996" />
<rect
id="ENTR"
style="fill:#e5d8b2;stroke:#000000;stroke-width:1.26316"
height="46"
width="46"
y="1.0110337"
x="145.17523" />
<rect
id="message"
style="fill:#e5d8b2;stroke:#000000;stroke-width:1.26316"
height="46"
width="46"
y="1.0834512"
x="96.85939" />
<rect
id="decline"
style="fill:#e5d8b2;stroke:#000000;stroke-width:1.26316"
height="46"
width="46"
y="49.084213"
x="96.859421" />
<rect
id="camera2"
style="fill:#e5d8b2;stroke:#000000;stroke-width:1.26316"
height="46"
width="46"
y="48.951347"
x="48.500019" />
<rect
id="ESCP"
style="fill:#e5d8b2;stroke:#000000;stroke-width:1.26316"
height="46"
width="46"
y="49.011795"
x="145.17525" />
<rect
id="bt"
x="193.0237"
y="49.011795"
width="46"
height="46"
style="fill:#e5d8b2;stroke:#000000;stroke-width:1.26316" />
<!--******************KEYBOARD**************************************-->
<rect
id="AD09-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="96.274872"
x="175.10097"
inkscape:label="" />
<rect
id="AD03-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="96.274872"
x="44.254261"
inkscape:label="" />
<rect
id="AD02-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="96.274872"
x="22.446484"
inkscape:label="" />
<rect
id="AD01-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="96.274872"
x="0.63869822"
inkscape:label="" />
<rect
id="AD07-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="96.274872"
x="131.4854"
inkscape:label="" />
<rect
id="AD06-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="96.274872"
x="109.67759"
inkscape:label="" />
<rect
id="AD05-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="96.274872"
x="87.869827"
inkscape:label="" />
<rect
id="AD04-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="96.274872"
x="66.062042"
inkscape:label="" />
<rect
id="AD10-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="96.274872"
x="196.90875"
inkscape:label="" />
<rect
id="AD08-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="96.274872"
x="153.17831"
inkscape:label="" />
<rect
id="AC04-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="120.27526"
x="66.062042"
inkscape:label="" />
<rect
id="AC05-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="120.27526"
x="87.869827"
inkscape:label="" />
<rect
id="AC06-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="120.27526"
x="109.67761"
inkscape:label="" />
<rect
id="AC07-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="120.27526"
x="131.48541"
inkscape:label="" />
<rect
id="AC01-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="120.27526"
x="0.63869822"
inkscape:label="" />
<rect
id="AC02-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="120.27526"
x="22.446491"
inkscape:label="" />
<rect
id="AC03-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="120.27526"
x="44.254261"
inkscape:label="" />
<rect
id="AC08-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="120.27526"
x="153.2932"
inkscape:label="" />
<rect
id="AC09-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="120.27526"
x="175.10098"
inkscape:label="" />
<rect
id="AB01-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="18.137659"
y="144.27557"
x="24.638622"
inkscape:label="" />
<rect
id="AB05-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="18.137659"
y="144.27557"
x="101.22116"
inkscape:label="" />
<rect
id="AB04-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="18.137659"
y="144.27557"
x="82.0755"
inkscape:label="" />
<rect
id="AB06-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="18.137659"
y="144.27557"
x="120.36676"
inkscape:label="" />
<rect
id="AB03-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="18.137659"
y="144.27557"
x="62.92989"
inkscape:label="" />
<rect
id="AB02-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="18.137659"
y="144.27557"
x="43.784252"
inkscape:label="" />
<rect
id="AB07-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="18.137659"
y="144.27557"
x="139.36737"
inkscape:label="" />
<rect
id="AC10-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="120.27526"
x="196.90875"
inkscape:label="" />
<rect
id="AD11-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="96.274872"
x="218.71606"
inkscape:label="" />
<rect
id="AC11-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="20.659657"
y="120.27526"
x="218.71606"
inkscape:label="" />
<rect
id="AB08-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="18.137659"
y="144.27557"
x="158.65759"
inkscape:label="" />
<rect
id="AB09-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="18.137659"
y="144.27557"
x="177.94783"
inkscape:label="" />
<rect
id="AB10-cyr"
style="display:inline;fill:#e5c0b2;fill-opacity:1;stroke:#000000;stroke-width:1.263;stroke-miterlimit:4;stroke-dasharray:none"
height="22.737225"
width="18.137659"
y="144.27557"
x="197.23805"
inkscape:label="" />
<rect
x="216.77985"
y="144.41664"
width="22.454729"
height="22.454729"
style="display:inline;fill:#e5d8b2;stroke:#000000;stroke-width:1.54527"
id="BKSP-cyr"
inkscape:label="" />
<rect
x="0.7797581"
y="144.4167"
width="22.454729"
height="22.454729"
style="display:inline;fill:#e5d8b2;stroke:#000000;stroke-width:1.54527"
id="LFSH-cyr"
inkscape:label="" />
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

211
Whiteboard.onboard Executable file
View File

@ -0,0 +1,211 @@
<?xml version="1.0" ?>
<!--
Copyright © 2014 Johannes Almer
Copyright © 2014 marmuta <marmvta@gmail.com>
This file is part of Onboard.
Onboard is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
Onboard is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<keyboard
id="Whiteboard"
format="3.2"
section="contributions"
summary="Special characters for interactive whiteboards"
description="Keyboard layout with Greek literals, arrows and more, for math and physics education on an interactive Whiteboard."
author="Johannes Almer">
<include file="key_defs.xml"/>
<key_template button="true" id="layer1" label="⅙⁺₉" tooltip="Sub-, Superscripts; Fractions"/>
<key_template button="true" id="layer2" label="∃∩" image="" tooltip="Set and Settings" />
<key_template button="true" id="layer3" label="⚀♫" tooltip="Special Characters"/>
<key_template button="true" id="layer0" label="αβΩ" tooltip="Greek" show_active="false"/>
<key_template button="true" id="layer4" label="⇄" tooltip="Arrows"/>
<key_template button="true" id="layer5" label="..." tooltip="Custom"/>
<!-- box containing all the keys and buttons -->
<!-- the rows of keys on the Onboard keyboard are counted bottom to top starting with 1 -->
<box border="1" spacing="2.0" orientation="vertical">
<!--- word suggestions -->
<panel filename="Whiteboard-Alpha.svg">
<include file='word_suggestions.xml'/>
<!-- alpha layers -->
<panel filename="Whiteboard-Alpha.svg" layer="alpha">
<key group="bottomrow" id="message" />
<key group="bottomrow" id="micro" />
<key group="bottomrow" id="camera" />
<key group="bottomrow" id="people" />
<key group="bottomrow" id="raise" />
<key group="bottomrow" id="ESCP" />
<key group="bottomrow" id="ENTR" />
<key group="bottomrow" id="camera2" />
<key group="bottomrow" id="bt" script="connect"/>
<key group="bottomrow" id="test" />
<key group="bottomrow" id="decline" script="quitScript"/>
</panel>
</panel>
<panel>
<!-- Cyrillic keymaps-->
<panel id="alpha-keys" filename="Phone-Alpha.svg" layer="alpha" layout="ru,ua,by,bg,tj,ge(os),az(cyrillic),mn,mk">
<!-- row 2,3 and 4 of the layers -->
<!-- row 4 -->
<key group="alphanumeric" id="AD01" svg_id="AD01-cyr"/>
<key group="alphanumeric" id="AD02" svg_id="AD02-cyr"/>
<key group="alphanumeric" id="AD03" svg_id="AD03-cyr"/>
<key group="alphanumeric" id="AD04" svg_id="AD04-cyr"/>
<key group="alphanumeric" id="AD05" svg_id="AD05-cyr"/>
<key group="alphanumeric" id="AD06" svg_id="AD06-cyr"/>
<key group="alphanumeric" id="AD07" svg_id="AD07-cyr"/>
<key group="alphanumeric" id="AD08" svg_id="AD08-cyr"/>
<key group="alphanumeric" id="AD09" svg_id="AD09-cyr"/>
<key group="alphanumeric" id="AD10" svg_id="AD10-cyr"/>
<key group="alphanumeric" id="AD11" svg_id="AD11-cyr"/>
<!-- row 3 -->
<key group="alphanumeric" id="AC01" svg_id="AC01-cyr"/>
<key group="alphanumeric" id="AC02" svg_id="AC02-cyr"/>
<key group="alphanumeric" id="AC03" svg_id="AC03-cyr"/>
<key group="alphanumeric" id="AC04" svg_id="AC04-cyr"/>
<key group="alphanumeric" id="AC05" svg_id="AC05-cyr"/>
<key group="alphanumeric" id="AC06" svg_id="AC06-cyr"/>
<key group="alphanumeric" id="AC07" svg_id="AC07-cyr"/>
<key group="alphanumeric" id="AC08" svg_id="AC08-cyr"/>
<key group="alphanumeric" id="AC09" svg_id="AC09-cyr"/>
<key group="alphanumeric" id="AC10" svg_id="AC10-cyr"/>
<key group="alphanumeric" id="AC11" svg_id="AC11-cyr" keycode="35" layout="ru,tj,az(cyrillic)"/>
<key group="alphanumeric" id="AC11" svg_id="AC11-cyr" keycode="51" layout="ua"/>
<key group="alphanumeric" id="AC11" svg_id="AC11-cyr"/>
<!-- row 2 -->
<key group="shifts" id="LFSH.like_rtrn" svg_id="LFSH-cyr"/>
<key group="alphanumeric" id="AB01" svg_id="AB01-cyr"/>
<key group="alphanumeric" id="AB02" svg_id="AB02-cyr"/>
<key group="alphanumeric" id="AB03" svg_id="AB03-cyr"/>
<key group="alphanumeric" id="AB04" svg_id="AB04-cyr"/>
<key group="alphanumeric" id="AB05" svg_id="AB05-cyr"/>
<key group="alphanumeric" id="AB06" svg_id="AB06-cyr"/>
<key group="alphanumeric" id="AB07" svg_id="AB07-cyr"/>
<key group="alphanumeric" id="AB08" svg_id="AB08-cyr"/>
<key group="alphanumeric" id="AB09" svg_id="AB09-cyr"/>
<key group="alphanumeric" id="AB09" svg_id="AB09-cyr"/>
<key group="alphanumeric" id="AB10" svg_id="AB10-cyr" keycode="48" layout="ru,ua,tj,az(cyrillic)"/>
<key group="alphanumeric" id="AB10" svg_id="AB10-cyr" keycode="49" layout="ge(os)"/> <!-- not ideal, but sacrifice ESC instead? -->
<key group="alphanumeric" id="AB10" svg_id="AB10-cyr" keycode="51" layout="mk"/>
<key group="alphanumeric" id="AB10" svg_id="AB10-cyr"/>
<key group="bottomrow" id="BKSP" svg_id="BKSP-cyr"/>
</panel>
<!-- Latin and other keymaps -->
<panel id="alpha-keys" filename="Phone-Alpha.svg" layer="alpha">
<!-- row 2,3 and 4 of the layers -->
<!-- row 4 -->
<key group="alphanumeric" id="AD01"/>
<key group="alphanumeric" id="AD02"/>
<key group="alphanumeric" id="AD03"/>
<key group="alphanumeric" id="AD04"/>
<key group="alphanumeric" id="AD05"/>
<key group="alphanumeric" id="AD06"/>
<key group="alphanumeric" id="AD07"/>
<key group="alphanumeric" id="AD08"/>
<key group="alphanumeric" id="AD09"/>
<key group="alphanumeric" id="AD10"/>
<!-- row 3 -->
<key group="alphanumeric" id="AC01"/>
<key group="alphanumeric" id="AC02"/>
<key group="alphanumeric" id="AC03"/>
<key group="alphanumeric" id="AC04"/>
<key group="alphanumeric" id="AC05"/>
<key group="alphanumeric" id="AC06"/>
<key group="alphanumeric" id="AC07"/>
<key group="alphanumeric" id="AC08"/>
<key group="alphanumeric" id="AC09"/>
<key group="alphanumeric" id="AC10" keycode="47" layout="be,fr,cm(azerty)"/>
<key group="alphanumeric" id="AC10" char="'" label="'"/>
<!-- row 2 -->
<key group="shifts" id="LFSH.like_rtrn"/>
<key group="alphanumeric" id="AB01"/>
<key group="alphanumeric" id="AB02"/>
<key group="alphanumeric" id="AB03"/>
<key group="alphanumeric" id="AB04"/>
<key group="alphanumeric" id="AB05"/>
<key group="alphanumeric" id="AB06"/>
<key group="alphanumeric" id="AB07" char="'" label="'" layout="be,fr,cm(azerty)"/>
<key group="alphanumeric" id="AB07"/>
<key group="bottomrow" id="BKSP"/>
</panel>
<panel filename="Phone-Numbers.svg" layer="numbers">
<!-- row 4 -->
<key group="alphanumeric" id="BD01" keysym="0x31" label="1" unlatch_layer="false"/>
<key group="alphanumeric" id="BD02" keysym="0x32" label="2" unlatch_layer="false"/>
<key group="alphanumeric" id="BD03" keysym="0x33" label="3" unlatch_layer="false"/>
<key group="alphanumeric" id="BD04" keysym="0x34" label="4" unlatch_layer="false"/>
<key group="alphanumeric" id="BD05" keysym="0x35" label="5" unlatch_layer="false"/>
<key group="alphanumeric" id="BD06" keysym="0x36" label="6" unlatch_layer="false"/>
<key group="alphanumeric" id="BD07" keysym="0x37" label="7" unlatch_layer="false"/>
<key group="alphanumeric" id="BD08" keysym="0x38" label="8" unlatch_layer="false"/>
<key group="alphanumeric" id="BD09" keysym="0x39" label="9" unlatch_layer="false"/>
<key group="alphanumeric" id="BD10" keysym="0x30" label="0" unlatch_layer="false"/>
<!-- row 3 -->
<key group="alphanumeric" id="TAB"/>
<key group="alphanumeric" id="BC02" char="#" label="#"/>
<key group="alphanumeric" id="BC03" char="%" label="%"/>
<key group="alphanumeric" id="BC04" char="*" label="*"/>
<key group="alphanumeric" id="BC05" char="/" label="/"/>
<key group="alphanumeric" id="BC06" char="+" label="+"/>
<key group="alphanumeric" id="BC07" char="-" label="-"/>
<key group="alphanumeric" id="BC08" char="(" label="("/>
<key group="alphanumeric" id="BC09" char=")" label=")"/>
<key group="alphanumeric" id="BC10" char="'" label="'"/>
<!-- row 2 -->
<key group="bottomrow" id="layer2.like_rtrn" label="1/3" image=""/>
<key group="alphanumeric" id="BB01" char=";" label=";"/>
<key group="alphanumeric" id="BB02" char="@" label="@"/>
<key group="alphanumeric" id="BB03" char="=" label="="/>
<key group="alphanumeric" id="BB04" char="?" label="?"/>
<key group="alphanumeric" id="BB05" char="!" label="!"/>
<key group="alphanumeric" id="BB06" char=":" label=":"/>
<key group="alphanumeric" id="BB07" char="&quot;" label="&quot;" />
<key group="bottomrow" id="BKSP" unlatch_layer="false"/>
</panel>
</panel>
<panel>
<panel filename="Phone-Alpha.svg">
<!-- row 1 of the layer -->
<key group="bottomrow" id="layer1.like_rtrn" label="12!@"/>
<key group="alphanumeric" id="AA01" char="," label="," unlatch_layer="false"/>
<key group="bottomrow" id="SPCE"/>
<key group="alphanumeric" id="AA02" char="." label="." unlatch_layer="false"/>
<key group="bottomrow" id="RTRN" popup_id="RTRN_popup"/>
</panel>
</panel>
</box>
<layout id="RTRN_popup" filename="Phone-Alpha.svg">
<box compact="true">
<key id="settings"/>
<key id="move"/>
<key id="hide" svg_id="hide.popup" image="close.svg" group="nowordlist" />
</box>
</layout>
</keyboard>

7
bt.svg Normal file
View File

@ -0,0 +1,7 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools -->
<svg fill="#000000" height="800px" width="800px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 217.499 217.499" xml:space="preserve">
<g id="SVGRepo_bgCarrier" stroke-width="0"/>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
<g id="SVGRepo_iconCarrier"> <g> <path d="M123.264,108.749l45.597-44.488c1.736-1.693,2.715-4.016,2.715-6.441s-0.979-4.748-2.715-6.441l-50.038-48.82 c-2.591-2.528-6.444-3.255-9.78-1.853c-3.336,1.406-5.505,4.674-5.505,8.294v80.504l-42.331-41.3 c-3.558-3.471-9.255-3.402-12.727,0.156c-3.471,3.558-3.401,9.256,0.157,12.727l48.851,47.663l-48.851,47.663 c-3.558,3.471-3.628,9.169-0.157,12.727s9.17,3.628,12.727,0.156l42.331-41.3v80.504c0,3.62,2.169,6.888,5.505,8.294 c1.128,0.476,2.315,0.706,3.493,0.706c2.305,0,4.572-0.886,6.287-2.559l50.038-48.82c1.736-1.693,2.715-4.016,2.715-6.441 s-0.979-4.748-2.715-6.441L123.264,108.749z M121.539,30.354l28.15,27.465l-28.15,27.465V30.354z M121.539,187.143v-54.93 l28.15,27.465L121.539,187.143z"/> </g> </g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

27
btJabra.py Normal file
View File

@ -0,0 +1,27 @@
GNU nano 5.4 /usr/share/onboard/scripts/btJabra.py
#!/usr/bin/python3
# Copyright © 2009 Chris Jones <tortoise@tortuga>
# Copyright © 2012-2013 marmuta <marmvta@gmail.com>
#
# This file is part of Onboard.
#
# Onboard is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Onboard is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
PYTHON_EXECUTABLE = "python3"
import subprocess
def run():
exit_code = subprocess.call('/usr/share/onboard/scripts/btconnect.sh')

BIN
cam.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
chat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
enter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
exit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
hand.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

215
key_defs.xml Executable file
View File

@ -0,0 +1,215 @@
<?xml version='1.0' encoding='UTF-8'?>
<!--
Copyright © 2012 Francesco Fumanti <francesco.fumanti@gmx.net>
Copyright © 2012-2014 marmuta <marmvta@gmail.com>
This file is part of Onboard.
Onboard is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
Onboard is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<keyboard format='2.2'>
<!-- common key definitions -->
<key_template id='AB01' keycode='52'/>
<key_template id='AB02' keycode='53'/>
<key_template id='AB03' keycode='54'/>
<key_template id='AB04' keycode='55'/>
<key_template id='AB05' keycode='56'/>
<key_template id='AB06' keycode='57'/>
<key_template id='AB07' keycode='58'/>
<key_template id='AB08' keycode='59'/>
<key_template id='AB09' keycode='60'/>
<key_template id='AB10' keycode='61'/>
<key_template id='AC01' keycode='38'/>
<key_template id='AC02' keycode='39'/>
<key_template id='AC03' keycode='40'/>
<key_template id='AC04' keycode='41'/>
<key_template id='AC05' keycode='42'/>
<key_template id='AC06' keycode='43'/>
<key_template id='AC07' keycode='44'/>
<key_template id='AC08' keycode='45'/>
<key_template id='AC09' keycode='46'/>
<key_template id='AC10' keycode='47'/>
<key_template id='AC11' keycode='48'/>
<key_template id='AD01' keycode='24'/>
<key_template id='AD02' keycode='25'/>
<key_template id='AD03' keycode='26'/>
<key_template id='AD04' keycode='27'/>
<key_template id='AD05' keycode='28'/>
<key_template id='AD06' keycode='29'/>
<key_template id='AD07' keycode='30'/>
<key_template id='AD08' keycode='31'/>
<key_template id='AD09' keycode='32'/>
<key_template id='AD10' keycode='33'/>
<key_template id='AD11' keycode='34'/>
<key_template id='AD12' keycode='35'/>
<key_template id='AE01' keycode='10'/>
<key_template id='AE02' keycode='11'/>
<key_template id='AE03' keycode='12'/>
<key_template id='AE04' keycode='13'/>
<key_template id='AE05' keycode='14'/>
<key_template id='AE06' keycode='15'/>
<key_template id='AE07' keycode='16'/>
<key_template id='AE08' keycode='17'/>
<key_template id='AE09' keycode='18'/>
<key_template id='AE10' keycode='19'/>
<key_template id='AE11' keycode='20'/>
<key_template id='AE12' keycode='21'/>
<key_template id='TLDE' keycode='49'/>
<key_template id='LSGT' keycode='94'/>
<key_template id='BKSL' keycode='51'/>
<key_template id='CAPS' keycode='66' label='⇪' modifier='caps' sticky='true' label_x_align='0.0' sticky_behavior='lock' action='double-stroke'/>
<key_template id='LFSH' keycode='62' label='⇧' modifier='shift' sticky='true' label_x_align='0.0' action='single-stroke'/>
<key_template id='RTSH' keycode='50' label='⇧' modifier='shift' sticky='true' label_x_align='0.0' action='single-stroke'/>
<key_template id='LCTL' keycode='37' label='Ctrl' modifier='control' sticky='true' action='single-stroke'/>
<key_template id='RCTL' keycode='105' label='Ctrl' modifier='control' sticky='true' action='single-stroke'/>
<key_template id='LALT' keycode='64' label='Alt' modifier='mod1' sticky='true' action='single-stroke'/>
<key_template id='RALT' keycode='108' label='Alt Gr' modifier='mod5' sticky='true' action='single-stroke'/>
<key_template id='LWIN' keycode='133' label='Win' modifier='mod4' sticky='true' action='single-stroke'/>
<key_template id='RWIN' keycode='134' label='Win' modifier='mod4' sticky='true' action='single-stroke'/>
<key_template id='TAB' keycode='23' label='⇥' label_x_align='0.0' action='single-stroke'/>
<key_template id='BKSP' keycode='22' image='erase-left.svg' action='single-stroke'/>
<key_template id='RTRN' keycode='36' label='⏎' label_x_align='0.1' action='single-stroke'/>
<key_template id='MENU' keycode='135' label='Menu' action='delayed-stroke'/>
<key_template id='SPCE' keycode='65'/>
<key_template id='Prnt' keysym='65377' label='Prnt' action='single-stroke'/>
<key_template id='Pause' keysym='65299' label='Pause' action='single-stroke'/>
<key_template id='Scroll' keysym='65300' label='Scroll' action='single-stroke'/>
<key_template id='LEFT' keycode='113' label='←' action='single-stroke'/>
<key_template id='RGHT' keycode='114' label='→' action='single-stroke'/>
<key_template id='UP' keycode='111' label='↑' action='single-stroke'/>
<key_template id='DOWN' keycode='116' label='↓' action='single-stroke'/>
<key_template id='INS' keycode='118' label='Ins' action='single-stroke'/>
<key_template id='DELE' keycode='119' label='' image='erase.svg' action='single-stroke'/>
<key_template id='HOME' keycode='110' label='Hm' action='single-stroke'/>
<key_template id='END' keycode='115' label='End' action='single-stroke'/>
<key_template id='PGUP' keycode='112' label='Pg&#10;Up' action='single-stroke'/>
<key_template id='PGDN' keycode='117' label='Pg&#10;Dn' action='single-stroke'/>
<key_template id='ESC' keycode='9' label='Esc' action='single-stroke'/>
<!-- function keys -->
<key_template id='F1' keysym='65470' label='F1' action='single-stroke'/>
<key_template id='F2' keysym='65471' label='F2' action='single-stroke'/>
<key_template id='F3' keysym='65472' label='F3' action='single-stroke'/>
<key_template id='F4' keysym='65473' label='F4' action='single-stroke'/>
<key_template id='F5' keysym='65474' label='F5' action='single-stroke'/>
<key_template id='F6' keysym='65475' label='F6' action='single-stroke'/>
<key_template id='F7' keysym='65476' label='F7' action='single-stroke'/>
<key_template id='F8' keysym='65477' label='F8' action='single-stroke'/>
<key_template id='F9' keysym='65478' label='F9' action='single-stroke'/>
<key_template id='F10' keysym='65479' label='F10' action='single-stroke'/>
<key_template id='F11' keysym='65480' label='F11' action='single-stroke'/>
<key_template id='F12' keysym='65481' label='F12' action='single-stroke'/>
<!-- number pad -->
<key_template id='NMLK' keycode='77' label='Nm&#10;Lk' modifier='mod2' sticky='true' action='double-stroke'/>
<key_template id='KPDV' keycode='106' action='single-stroke'/>
<key_template id='KPMU' keycode='63' action='single-stroke'/>
<key_template id='KPSU' keycode='82' action='single-stroke'/>
<key_template id='KPAD' keycode='86' action='single-stroke'/>
<key_template id='KP0' keycode='90' action='single-stroke'/>
<key_template id='KP1' keycode='87' action='single-stroke'/>
<key_template id='KP2' keycode='88' action='single-stroke'/>
<key_template id='KP3' keycode='89' action='single-stroke'/>
<key_template id='KP4' keycode='83' action='single-stroke'/>
<key_template id='KP5' keycode='84' action='single-stroke'/>
<key_template id='KP6' keycode='85' action='single-stroke'/>
<key_template id='KP7' keycode='79' action='single-stroke'/>
<key_template id='KP8' keycode='80' action='single-stroke'/>
<key_template id='KP9' keycode='81' action='single-stroke'/>
<key_template id='KPDL' keycode='91' action='single-stroke'/>
<key_template id='KPEN' keycode='104' action='single-stroke'/>
<keysym_rule keysym='0xffaf' label='÷'/> <!-- KP_Divide -->
<keysym_rule keysym='0xffaa' label='×'/> <!-- KP_Multiply -->
<keysym_rule keysym='0xffad' label=''/> <!-- KP_Subtract -->
<keysym_rule keysym='0xffab' label='+'/> <!-- KP_Add -->
<!-- number pad labels for NumLock=off -->
<keysym_rule keysym='0xff96' label='←'/> <!-- KP_Left -->
<keysym_rule keysym='0xff98' label='→'/> <!-- KP_Right -->
<keysym_rule keysym='0xff97' label='↑'/> <!-- KP_Up -->
<keysym_rule keysym='0xff99' label='↓'/> <!-- KP_Down -->
<keysym_rule keysym='0xff95' label='Hm'/> <!-- KP_Home -->
<keysym_rule keysym='0xff9c' label='End'/> <!-- KP_End -->
<keysym_rule keysym='0xff9a' label='Pg&#10;Up'/> <!-- KP_Prior -->
<keysym_rule keysym='0xff9b' label='Pg&#10;Dn'/> <!-- KP_Next -->
<keysym_rule keysym='0xff9d' label=''/> <!-- KP_Begin -->
<keysym_rule keysym='0xff9e' label='Ins'/> <!-- KP_Insert -->
<keysym_rule keysym='0xff9f' label='Del'/> <!-- KP_Delete -->
<keysym_rule keysym='0xff8b' label='Ent'/> <!-- KP_Enter -->
<!-- snippets -->
<key_template id='m0' macro='0'/>
<key_template id='m1' macro='1'/>
<key_template id='m2' macro='2'/>
<key_template id='m3' macro='3'/>
<key_template id='m4' macro='4'/>
<key_template id='m5' macro='5'/>
<key_template id='m6' macro='6'/>
<key_template id='m7' macro='7'/>
<key_template id='m8' macro='8'/>
<key_template id='m9' macro='9'/>
<key_template id='m10' macro='10'/>
<key_template id='m11' macro='11'/>
<key_template id='m12' macro='12'/>
<key_template id='m13' macro='13'/>
<key_template id='m14' macro='14'/>
<key_template id='m15' macro='15'/>
<!-- click helpers -->
<key_template id='middleclick' button='true' image='middle-click.svg' scannable='false' tooltip='Middle click'/>
<key_template id='secondaryclick' button='true' image='right-click.svg' scannable='false' tooltip='Right click'/>
<key_template id='doubleclick' button='true' image='double-click.svg' scannable='false' tooltip='Double click'/>
<key_template id='dragclick' button='true' image='drag-click.svg' scannarrble='false' tooltip='Drag click'/>
<key_template id='hoverclick' button='true' image='hover-click.svg' scannable='false' tooltip='Activate Hover Click'/>
<!-- jitsi buttons image= 'hand.png' -->
<key_template id="micro" button='true' image='micro.png' keycode='47' label="" modifier='mod2' sticky='true' action='double-stroke'/>
<key_template id="message" button='true' image='chat.png' keycode='54' label="" />
<key_template id="people" button='true' image='people.png' keycode='33' label="" modifier='mod2' sticky='true' action='double-stroke'/>
<key_template id="raise" button='true' image="hand.png" keycode='27' label='' modifier='mod2' sticky='true' action='double-stroke'/>
<key_template id="ENTR" button='true' image="enter.png" keycode='36' label='' action='double-stroke'/>
<key_template id="ESCP" button='true' image="exit.png" keycode='9' label='' action="double-stroke"/>
<key_template id="bt" button='true' image="bt.svg" label='' script='connect' />
<key_template id="camera2" button='true' image="cam.png" keycode='55' label='' modifier='mod2' sticky='true' action='double-stroke'/>
<key_template id='decline' button='true' image='quit.png' label="" script='quitScript' />
<!--misc buttons -->
<key_template id='quit' button='true' label='Quit' tooltip='Quit Onboard'/>
<key_template id='settings' button='true' image='preferences.svg' tooltip='Preferences'/>
<key_template id='hide' button='true' image='close.svg' tooltip='Hide Onboard' scannable='false'/>
<key_template id='move' button='true' image='move.svg' tooltip='Move Onboard' scannable='false'/>
<key_template id='showclick' button='true' image='show-click.svg' tooltip='Toggle click helpers' scannable='false'/>
<key_template id='layer0' button='true' label='Abc' tooltip='Main keyboard'/>
<key_template id='layer1' button='true' label='123' tooltip='Number block and snippets'/>
<key_template id='layer2' button='true' image='snippets.svg' tooltip='Snippets'/>
<key_template id='layer3' button='true'/>
<key_template id='layer4' button='true'/>
<key_template id='layer5' button='true'/>
<key_template id='layer6' button='true'/>
<key_template id='layer7' button='true'/>
<!-- word prediction -->
<key_template id='inputline' label='' button='true' scannable='false' label_x_align='0.0'/>
</keyboard>

BIN
micro.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
people.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

BIN
quit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

35
script.sh Executable file
View File

@ -0,0 +1,35 @@
#!/bin/bash
#vlaier
sudo apt update
sudo apt upgrade
sudo apt install onboard
sudo apt install xdotool
sudo chmod 777 /usr/share/onboard/layouts
sudo chmod 777 /usr/share/onboard/layouts/images
#images
cp ~/Documents/jitsiBox/*.png /usr/share/onboard/layouts/images
cp ~/Documents/jitsiBox/bt.svg /usr/share/onboard/layouts/images
#fichiers clavier
sudo chmod 777 /usr/share/onboard/layouts/Whiteboard.onboard
sudo rm /usr/share/onboard/layouts/Whiteboard.onboard
cp ~/Documents/jitsiBox/Whiteboard.onboard /usr/share/onboard/layouts/
sudo chmod 777 /usr/share/onboard/layouts/Whiteboard-Alpha.svg
sudo rm /usr/share/onboard/layouts/Whiteboard-Alpha.svg
cp ~/Documents/jitsiBox/Whiteboard-Alpha.svg /usr/share/onboard/layouts/
sudo chmod 777 /usr/share/onboard/layouts/key_defs.xml
sudo rm /usr/share/onboard/layouts/key_defs.xml
cp ~/Documents/jitsiBox/key_defs.xml /usr/share/onboard/layouts/
#script
sudo chmod 777 /usr/share/onboard/scripts
cp -r ~/Documents/jitsiBox/scripts/* /usr/share/onboard/scripts/
#fichier python
sudo chmod 777 /usr/lib/python3/dist-packages/Onboard
sudo rm /usr/lib/python3/dist-packages/Onboard/Keyboard.py
cp ~/Documents/jitsiBox/Keyboard.py /usr/lib/python3/dist-packages/Onboard
#autostart
sudo chmod 777 /etc/xdg/lxsession/LXDE-pi/autostart
echo 'setxkbmap fr'>>/etc/xdg/lxsession/LXDE-pi/autostart
echo 'onboard &'>>/etc/xdg/lxsession/LXDE-pi/autostart
echo 'chromium-browser --kiosk --window-position=0,0 --noerrdialogs --disable-translate --disable-infobars --disable-features=TranslateUI --disk-cache-dir=/dev/null --disable-pinch --overscroll-history-navigation=disabled --disable-features=TouchpadOverscrollHistoryNavigation https://talk.fdn.fr/ '>>/etc/xdg/lxsession/LXDE-pi/autostart
sudo reboot

5
scripts/btconnect.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
/usr/bin/bluetoothctl connect C8:7B:23:48:F6:30 >> /tmp/bluetoothConnexion.log 2>&1
/usr/bin/pacmd set-card-profile bluez_card.C8_7B_23_48_F6_30 headset_head_unit >> /tmp/bluetoothCo

26
scripts/connect.py Executable file
View File

@ -0,0 +1,26 @@
#!/usr/bin/python3
# Copyright © 2009 Chris Jones <tortoise@tortuga>
# Copyright © 2012-2013 marmuta <marmvta@gmail.com>
#
# This file is part of Onboard.
#
# Onboard is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Onboard is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
PYTHON_EXECUTABLE = "python3"
import subprocess
def run():
exit_code = subprocess.call('/usr/share/onboard/scripts/btconnect.sh')

6
scripts/quit.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
#pkill chromium
#chromium --kiosk --noerrdialogs --disable-translate --disable-infobars --disable-features=TranslateUI --disk-cache-dir=/dev/null --disable-pinch --overscroll-history-navigation=disabled --disable-features=TouchpadOverscrollHistoryNavigation https://talk.fdn.fr/
xdotool key alt+Left

27
scripts/quitScript.py Executable file
View File

@ -0,0 +1,27 @@
#!/usr/bin/python3
# Copyright © 2009 Chris Jones <tortoise@tortuga>
# Copyright © 2012-2013 marmuta <marmvta@gmail.com>
#
# This file is part of Onboard.
#
# Onboard is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Onboard is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
PYTHON_EXECUTABLE = "python3"
import subprocess
def run():
exit_code = subprocess.call('/usr/share/onboard/scripts/quit.sh')

0
scripts/typescript Normal file
View File

655
typescript Normal file

File diff suppressed because one or more lines are too long