Skip to content

Commit

Permalink
add french AZERTY layout for Adafruit HID lib
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-glb committed Aug 26, 2021
1 parent 9e86023 commit fc69bc7
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lib/adafruit_hid_fr/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# French azerty mapping for Adafruit HID

See here:
- https://github.com/adafruit/Adafruit_CircuitPython_HID/pull/54

Then:
- https://github.com/usini/CircuitPython_Exemples/tree/main/clavier_fr_tweet/lib/adafruit_hid


Code:

# Clavier et layout français
import usb_hid
from adafruit_hid.keyboard import Keyboard
from adafruit_hid.keycode import Keycode
from adafruit_hid_fr.keyboard_layout_fr import KeyboardLayoutFR
Binary file added lib/adafruit_hid_fr/__init__.mpy
Binary file not shown.
Binary file added lib/adafruit_hid_fr/consumer_control.mpy
Binary file not shown.
Binary file added lib/adafruit_hid_fr/consumer_control_code.mpy
Binary file not shown.
Binary file added lib/adafruit_hid_fr/keyboard.mpy
Binary file not shown.
Binary file added lib/adafruit_hid_fr/keyboard_layout_fr.mpy
Binary file not shown.
Binary file added lib/adafruit_hid_fr/keycode.mpy
Binary file not shown.

0 comments on commit fc69bc7

Please sign in to comment.