Skip to content

Commit e60f562

Browse files
committed
minor comment
1 parent ce8421a commit e60f562

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

libraries/keyboard_layout_win_fr.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@
2525
`adafruit_hid.keyboard_layout_fr.KeyboardLayoutFR`
2626
=======================================================
2727
28-
* Author(s): Dan Halbert
28+
* Author(s): Dan Halbert, Neradoc
2929
"""
3030

31-
#from .keycode import Keycode
3231
from adafruit_hid.keycode import Keycode
3332

3433

@@ -185,7 +184,7 @@ class KeyboardLayoutFR:
185184
+ALTGR+b'\x23' # |
186185
+ALTGR+b'\x2e' # }
187186
+ALTGR+b'\x19' # ~ TODO
188-
b'\x00\x00' # DEL
187+
b'\x00\x4c' # TODO DEL
189188
)
190189

191190
def __init__(self, keyboard):
@@ -194,7 +193,6 @@ def __init__(self, keyboard):
194193
:param keyboard: a Keyboard object. Write characters to this keyboard when requested.
195194
196195
Example::
197-
198196
kbd = Keyboard()
199197
layout = KeyboardLayoutFR(kbd)
200198
"""
@@ -209,7 +207,6 @@ def write(self, string):
209207
(such as some control characters).
210208
211209
Example::
212-
213210
# Write abc followed by Enter to the keyboard
214211
layout.write('abc\\n')
215212
"""
@@ -232,7 +229,6 @@ def keycodes(self, char):
232229
:raises ValueError: if ``char`` is not ASCII or there is no keycode for it.
233230
234231
Examples::
235-
236232
# Returns (Keycode.TAB,)
237233
keycodes('\t')
238234
# Returns (Keycode.A,)
@@ -253,7 +249,6 @@ def keycodes(self, char):
253249

254250
def _char_to_keycode(self, char):
255251
"""Return the HID keycode for the given ASCII character, with the SHIFT_FLAG possibly set.
256-
257252
If the character requires pressing the Shift key, the SHIFT_FLAG bit is set.
258253
You must clear this bit before passing the keycode in a USB report.
259254
"""

0 commit comments

Comments
 (0)