diff --git a/lib/adafruit_hid_fr/README.md b/lib/adafruit_hid_fr/README.md new file mode 100644 index 0000000..aa55352 --- /dev/null +++ b/lib/adafruit_hid_fr/README.md @@ -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 diff --git a/lib/adafruit_hid_fr/__init__.mpy b/lib/adafruit_hid_fr/__init__.mpy new file mode 100755 index 0000000..2e34384 Binary files /dev/null and b/lib/adafruit_hid_fr/__init__.mpy differ diff --git a/lib/adafruit_hid_fr/consumer_control.mpy b/lib/adafruit_hid_fr/consumer_control.mpy new file mode 100755 index 0000000..3077b7d Binary files /dev/null and b/lib/adafruit_hid_fr/consumer_control.mpy differ diff --git a/lib/adafruit_hid_fr/consumer_control_code.mpy b/lib/adafruit_hid_fr/consumer_control_code.mpy new file mode 100755 index 0000000..c2d4b4a Binary files /dev/null and b/lib/adafruit_hid_fr/consumer_control_code.mpy differ diff --git a/lib/adafruit_hid_fr/keyboard.mpy b/lib/adafruit_hid_fr/keyboard.mpy new file mode 100755 index 0000000..431ba59 Binary files /dev/null and b/lib/adafruit_hid_fr/keyboard.mpy differ diff --git a/lib/adafruit_hid_fr/keyboard_layout_fr.mpy b/lib/adafruit_hid_fr/keyboard_layout_fr.mpy new file mode 100755 index 0000000..411322e Binary files /dev/null and b/lib/adafruit_hid_fr/keyboard_layout_fr.mpy differ diff --git a/lib/adafruit_hid_fr/keycode.mpy b/lib/adafruit_hid_fr/keycode.mpy new file mode 100755 index 0000000..f8d84d7 Binary files /dev/null and b/lib/adafruit_hid_fr/keycode.mpy differ