Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added feature for load/save keyboard layout with their LED settings profile #76

Open
wants to merge 48 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
d919b28
razerdefault22: fill empty spots on numpad
z3ntu Jul 31, 2018
afe40ac
Add fr_FR layout for Razer Blade Stealth (Late 2017)
z3ntu Aug 29, 2018
eecf213
Fix qdoc config for Qt 5.11
z3ntu Sep 2, 2018
44c678e
razerdefault22: Add en_US keymap
germ Aug 29, 2018
2666d24
Release version 0.8
z3ntu Oct 21, 2018
72d58d7
Make qdoc dependency optional
z3ntu Oct 21, 2018
2f41ab4
Release version 0.8.1
z3ntu Oct 21, 2018
2b28b48
razerdefault22: fix Space and FN keys
tildearrow Nov 17, 2018
3b05eba
Update 'How to compile' section in README
z3ntu Jan 18, 2019
6db3844
Fix typo breaking setScrollBreathDual
nightsky30 May 8, 2019
1693ebb
libopenrazer: add availableDPI function
z3ntu Jul 21, 2019
0b0ce04
Use a combobox for DeathAdder 3.5G
z3ntu Jul 21, 2019
2c0496e
UI: use 'preferences-system' icon and make it bigger
z3ntu Jul 29, 2019
0df8624
razerdefault22: Add Nordic layout
ananace Oct 7, 2018
02fe6c1
razerdefault22: Add fr_FR keymap
vankasteelj Dec 27, 2018
082908c
translations/de: update line numbers
z3ntu Sep 28, 2019
e6d0e66
Add French translations
vankasteelj Dec 27, 2018
68af1e8
- RazerGenie can now save keyboard layout at least from the
Tikeri Apr 18, 2020
ed9df82
Now Restore button colors also after loaded JSON layout file
Tikeri Apr 18, 2020
14ba358
.git/msg
Tikeri Apr 18, 2020
80b42e8
Commented some qDebug() and added sample generated from discovery matrix
Tikeri Apr 18, 2020
6cb5d0b
Good going on, last thing to fix before the big cleaning is to render…
Tikeri Apr 21, 2020
de3e62c
Removed unused stuff, removed the null label which leads in improper …
Tikeri Apr 21, 2020
f0f2811
Razerlogo LED added into fr_FR kayboard layout, should be the same fo…
Tikeri Apr 21, 2020
e970b3b
Add fr_FR layout for Razer Blade Stealth (Late 2017)
z3ntu Aug 29, 2018
45c015d
Fix qdoc config for Qt 5.11
z3ntu Sep 2, 2018
f33a472
razerdefault22: Add en_US keymap
germ Aug 29, 2018
adbba46
Release version 0.8
z3ntu Oct 21, 2018
7e11d77
Make qdoc dependency optional
z3ntu Oct 21, 2018
f5692d7
Release version 0.8.1
z3ntu Oct 21, 2018
d68af47
Use a combobox for DeathAdder 3.5G
z3ntu Jul 21, 2019
c27f716
razerdefault22: Add fr_FR keymap
vankasteelj Dec 27, 2018
d7ef728
translations/de: update line numbers
z3ntu Sep 28, 2019
6378af9
Add French translations
vankasteelj Dec 27, 2018
9868dc7
- RazerGenie can now save keyboard layout at least from the
Tikeri Apr 18, 2020
430650f
Now Restore button colors also after loaded JSON layout file
Tikeri Apr 18, 2020
e012866
Creating JSON document from standart custom editor
Tikeri Apr 18, 2020
da9d087
Commented some qDebug() and added sample generated from discovery matrix
Tikeri Apr 18, 2020
90ed80a
Good going on, last thing to fix before the big cleaning is to render…
Tikeri Apr 21, 2020
a10100f
Removed unused stuff, removed the null label which leads in improper …
Tikeri Apr 21, 2020
806c80e
Razerlogo LED added into fr_FR kayboard layout, should be the same fo…
Tikeri Apr 21, 2020
202522f
Sync to master 4ca6c02 as requested for pull request
Tikeri May 2, 2020
d4cb44a
Forgot to remove some old files
Tikeri May 2, 2020
812b891
Fixed dimens.{x,y} in customeditor.cpp
Tikeri May 2, 2020
d042eeb
Added fr_FR in supported language
Tikeri May 2, 2020
63650f7
Now include french translation while building
Tikeri May 2, 2020
e5cc7a1
Removed forced test variable from customeditor.cpp + fixed end line w…
Tikeri May 3, 2020
85523d5
Missing file from rebase...? libopenrazer.wrap
Tikeri May 10, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,072 changes: 1,072 additions & 0 deletions data/matrix_layouts/discoverysave.example.22.json

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions data/matrix_layouts/razerdefault22.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
{"label": "alt", "width": 94, "matrix": [5, 3]},
{"label": "space", "width": 388},
{"label": "alt gr", "width": 94, "matrix": [5, 11]},
{"label": "fn"},
{"label": "fn", "matrix": [5, 12]},
{"label": "\u2630", "matrix": [5, 13]},
{"label": "strg", "width": 92, "matrix": [5, 14]},
{"label": "\ud83e\udc38", "matrix": [5, 15]},
Expand Down Expand Up @@ -393,7 +393,7 @@
{"label": "alt", "width": 94, "matrix": [5, 3]},
{"label": "space", "width": 388},
{"label": "alt gr", "width": 94, "matrix": [5, 11]},
{"label": "fn"},
{"label": "fn", "matrix": [5, 12]},
{"label": "\u2630", "matrix": [5, 13]},
{"label": "ctrl", "width": 92, "matrix": [5, 14]},
{"label": "\u2190", "matrix": [5, 15]},
Expand All @@ -410,7 +410,6 @@
{"label": null},
{"label": "esc", "matrix": [0, 1]},
{"label": null},
{"label": null},
{"label": "F1", "matrix": [0, 3]},
{"label": "F2", "matrix": [0, 4]},
{"label": "F3", "matrix": [0, 5]},
Expand All @@ -425,7 +424,9 @@
{"label": "F12", "matrix": [0, 14]},
{"label": "impr.", "matrix": [0, 15]},
{"label": "arrêt", "matrix": [0, 16]},
{"label": "pause", "matrix": [0, 17]}
{"label": "pause", "matrix": [0, 17]},
{"label": null},
{"label": "Triskel", "width": 180, "matrix": [0, 20]}
],
"row1": [
{"label": "M1", "matrix": [1, 0]},
Expand Down Expand Up @@ -529,7 +530,7 @@
{"label": "alt", "width": 94, "matrix": [5, 3]},
{"label": "espace", "width": 388, "matrix": [5, 7]},
{"label": "alt gr", "width": 94, "matrix": [5, 11]},
{"label": "fn"},
{"label": "fn", "matrix": [5, 12]},
{"label": "\u2630", "matrix": [5, 13]},
{"label": "ctrl", "width": 92, "matrix": [5, 14]},
{"label": "\u2190", "matrix": [5, 15]},
Expand Down
1 change: 1 addition & 0 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
install_data('matrix_layouts/razerblade16.json',
'matrix_layouts/razerdefault22.json',
'matrix_layouts/razerblade25.json',
'matrix_layouts/discoverysave.example.22.json',
install_dir : join_paths(get_option('datadir'), 'razergenie/matrix_layouts'))

# Appstream XML
Expand Down
58 changes: 38 additions & 20 deletions data/translations/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,73 +4,91 @@
<context>
<name>CustomEditor</name>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="29"/>
<location filename="../../src/customeditor/customeditor.cpp" line="33"/>
<source>RazerGenie - Custom Editor</source>
<translation>RazerGenie - Custom Editor</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="75"/>
<location filename="../../src/customeditor/customeditor.cpp" line="85"/>
<location filename="../../src/customeditor/customeditor.cpp" line="79"/>
<location filename="../../src/customeditor/customeditor.cpp" line="90"/>
<source>Unknown matrix dimensions</source>
<translation>Unbekannte Matrix Maße</translation>
<translation></translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="75"/>
<location filename="../../src/customeditor/customeditor.cpp" line="85"/>
<location filename="../../src/customeditor/customeditor.cpp" line="79"/>
<location filename="../../src/customeditor/customeditor.cpp" line="90"/>
<source>Please open an issue in the RazerGenie repository. Device name: %1 - matrix dimens: %2 %3</source>
<translation>Bitte öffne ein Issue in der RazerGenie Repository. Gerätname: %1 - Matix Maße: %2 %3</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="91"/>
<location filename="../../src/customeditor/customeditor.cpp" line="97"/>
<source>Device type not implemented!</source>
<translation>Gerät Typ nicht implementiert!</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="91"/>
<location filename="../../src/customeditor/customeditor.cpp" line="97"/>
<source>Please open an issue in the RazerGenie repository. Device type: %1</source>
<translation>Bitte öffne ein Issue in der RazerGenie Repository. Gerätname: %1</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="121"/>
<location filename="../../src/customeditor/customeditor.cpp" line="126"/>
<source>Set</source>
<translation>Setzen</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="122"/>
<location filename="../../src/customeditor/customeditor.cpp" line="127"/>
<source>Clear</source>
<translation>Löschen</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="123"/>
<location filename="../../src/customeditor/customeditor.cpp" line="128"/>
<source>Clear All</source>
<translation>Alle löschen</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="149"/>
<location filename="../../src/customeditor/customeditor.cpp" line="129"/>
<source>Load Keyboad Layout</source>
<translation>Tastaturlayout laden</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="130"/>
<source>Save Keyboard Layout</source>
<translation>Tastaturlayout speichern</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="160"/>
<source>You are using a keyboard with a layout which is not known to the daemon. Please help us by visiting &lt;a href=&apos;https://github.com/openrazer/openrazer/wiki/Keyboard-layouts&apos;&gt;https://github.com/openrazer/openrazer/wiki/Keyboard-layouts&lt;/a&gt;. Using a fallback layout for now.</source>
<translation>Du benutzt eine Tastatur mit einem Layout, welches nicht vom Daemon erkannt wurde. Bitte helfe uns indem du &lt;a href=&apos;https://github.com/openrazer/openrazer/wiki/Keyboard-layouts&apos;&gt;https://github.com/openrazer/openrazer/wiki/Keyboard-layouts&lt;/a&gt; besuchst. Ein Rückfalllayout wird einstweilen benutzt.</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="151"/>
<location filename="../../src/customeditor/customeditor.cpp" line="162"/>
<source>Your keyboard layout (%1) is not yet supported by RazerGenie for this keyboard. Please open an issue in the RazerGenie repository.</source>
<translation>Dein Tastaturlayout (%1) ist noch nicht von RazerGenie für diese Tastatur unterstützt. Bitte öffne ein Issue in der RazerGenie Repository.</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="165"/>
<location filename="../../src/customeditor/customeditor.cpp" line="179"/>
<source>Neither one of these layouts was found in the layout file: %1. Exiting.</source>
<translation>Keines der folgenden Layouts wird in der Layout Datei gefunden: %1. Der Editor wird nicht geöffnet.</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="271"/>
<location filename="../../src/customeditor/customeditor.cpp" line="356"/>
<source>Error loading %1.json!</source>
<translation>Fehler beim laden von%1.json!</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="271"/>
<source>The file %1.json, used for the custom editor failed to load: %2
The editor won&apos;t open now.</source>
<translation>Die Datei %1.json, welche für den Custom Editor benützt wird, wurde nicht geladen: %2
Der Editor wird nicht geöffnet.</translation>
<location filename="../../src/customeditor/customeditor.cpp" line="357"/>
<source>Select Keyboard Layout file</source>
<translation>Wählen Sie Layoutdatei</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="488"/>
<source>Open Keyboard layout</source>
<translation>Öffnen Sie das Tastaturlayout</translation>
</message>
<message>
<location filename="../../src/customeditor/customeditor.cpp" line="506"/>
<source>Save Keyboard layout</source>
<translation>Tastaturlayout speichern</translation>
</message>
</context>
<context>
Expand Down
Loading