Skip to content

Commit

Permalink
Merge pull request #3 from spacether/azerty_key_code_update
Browse files Browse the repository at this point in the history
Updates top left azerty key to be ²
  • Loading branch information
spacether authored Dec 22, 2020
2 parents 587cf0d + c7c7cb7 commit 67ffc64
Show file tree
Hide file tree
Showing 22 changed files with 25 additions and 19 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.0.1
- Fix: Key name for top left azerty key changed from 2 to ²
In tkinter and pygame I do not know its key code value because I have a qwerty keyboard
Any my virtual azerty mapping layout lacks this ² key

# 2.0.0
- Breaking: KeyboardLayout layout_name input type changed from str to LayoutName enum
- Fixed typo in readme code sample
Expand Down
2 changes: 1 addition & 1 deletion docs/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: bcac0a9de7c8fb8335ea30ea2ec837e6
config: ae0a29b255876ab4f73b64b7189f671f
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified docs/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/.doctrees/index.doctree
Binary file not shown.
Binary file modified docs/.doctrees/keyboardlayout.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &#8212; keyboardlayout 2.0.0 documentation</title>
<title>Overview: module code &#8212; keyboardlayout 2.0.1 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/alabaster.css" type="text/css" />
<script id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/_modules/keyboardlayout/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>keyboardlayout.common &#8212; keyboardlayout 2.0.0 documentation</title>
<title>keyboardlayout.common &#8212; keyboardlayout 2.0.1 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/_modules/keyboardlayout/layouts.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>keyboardlayout.layouts &#8212; keyboardlayout 2.0.0 documentation</title>
<title>keyboardlayout.layouts &#8212; keyboardlayout 2.0.1 documentation</title>
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/alabaster.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/_modules/keyboardlayout/pygame/keyboardlayout.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>keyboardlayout.pygame.keyboardlayout &#8212; keyboardlayout 2.0.0 documentation</title>
<title>keyboardlayout.pygame.keyboardlayout &#8212; keyboardlayout 2.0.1 documentation</title>
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/alabaster.css" type="text/css" />
<script id="documentation_options" data-url_root="../../../" src="../../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/_modules/keyboardlayout/tkinter/keyboardlayout.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>keyboardlayout.tkinter.keyboardlayout &#8212; keyboardlayout 2.0.0 documentation</title>
<title>keyboardlayout.tkinter.keyboardlayout &#8212; keyboardlayout 2.0.1 documentation</title>
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/alabaster.css" type="text/css" />
<script id="documentation_options" data-url_root="../../../" src="../../../_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '2.0.0',
VERSION: '2.0.1',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
2 changes: 1 addition & 1 deletion docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &#8212; keyboardlayout 2.0.0 documentation</title>
<title>Index &#8212; keyboardlayout 2.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Welcome to the documentation for keyboardlayout 2.0.0! &#8212; keyboardlayout 2.0.0 documentation</title>
<title>Welcome to the documentation for keyboardlayout 2.0.1! &#8212; keyboardlayout 2.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
Expand All @@ -32,7 +32,7 @@
<div class="body" role="main">

<div class="section" id="welcome-to-the-documentation-for-keyboardlayout-version">
<h1>Welcome to the documentation for keyboardlayout 2.0.0!<a class="headerlink" href="#welcome-to-the-documentation-for-keyboardlayout-version" title="Permalink to this headline"></a></h1>
<h1>Welcome to the documentation for keyboardlayout 2.0.1!<a class="headerlink" href="#welcome-to-the-documentation-for-keyboardlayout-version" title="Permalink to this headline"></a></h1>
<div class="toctree-wrapper compound">
<p class="caption"><span class="caption-text">Contents:</span></p>
<ul>
Expand Down
6 changes: 3 additions & 3 deletions docs/keyboardlayout.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>keyboardlayout package &#8212; keyboardlayout 2.0.0 documentation</title>
<title>keyboardlayout package &#8212; keyboardlayout 2.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
Expand All @@ -14,7 +14,7 @@
<script src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="prev" title="Welcome to the documentation for keyboardlayout 2.0.0!" href="index.html" />
<link rel="prev" title="Welcome to the documentation for keyboardlayout 2.0.1!" href="index.html" />

<link rel="stylesheet" href="_static/custom.css" type="text/css" />

Expand Down Expand Up @@ -365,7 +365,7 @@ <h3>Navigation</h3>
<h3>Related Topics</h3>
<ul>
<li><a href="index.html">Documentation overview</a><ul>
<li>Previous: <a href="index.html" title="previous chapter">Welcome to the documentation for keyboardlayout 2.0.0!</a></li>
<li>Previous: <a href="index.html" title="previous chapter">Welcome to the documentation for keyboardlayout 2.0.1!</a></li>
</ul></li>
</ul>
</div>
Expand Down
Binary file modified docs/objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Python Module Index &#8212; keyboardlayout 2.0.0 documentation</title>
<title>Python Module Index &#8212; keyboardlayout 2.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Search &#8212; keyboardlayout 2.0.0 documentation</title>
<title>Search &#8212; keyboardlayout 2.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />

Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions keyboardlayout/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ class Key(Enum):
UP_ARROW = 'up arrow'
DOWN_ARROW = 'down arrow'
# azerty
TWO_SUPERIOR = '²'
U_GRAVE = 'ù'
E_ACUTE = 'é'
E_GRAVE = 'è'
Expand Down
4 changes: 2 additions & 2 deletions keyboardlayout/layouts/azerty_laptop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ rows:
- 0
- 0
keys:
- name: '<'
- name: '²'
txt_info:
bc: '2'
bc: '²'
- name: '&'
txt_info:
tc: '1'
Expand Down
2 changes: 1 addition & 1 deletion keyboardlayout/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.0.0'
__version__ = '2.0.1'
Binary file modified samples/images/azerty_laptop.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 67ffc64

Please # to comment.