dans le lien de Azmurael on trouve
Lines 5-15. This comment contains information about necessary LCD connections
Lines 46-52. KeyboardReportParser declaration. Compare with keyboard example. Here, we only need OnKeyDown() and OnKeyPressed() methods.
Lines 54-60. OnKeyDown() callback definition. When a keyboard key is pressed, it receives scan code of this key plus modifiers (Ctrl, Alt, Shift). Since our LCD takes ASCII codes the callback performs scan code to ASCII conversion and then calls OnKeyPressed()
Line 63. OnKeyPressed() definition
Lines 68-73.Clears the display before outputting first symbol of new barcode, i.e., if pause between symbols is larger than 200ms. Note delay in line 71 – my display is old and slow and unless I wait a little, it won’t print the first symbol of the sequence. Newer displays should work fine without it
Lines 81-82. The output. A symbol is sent to serial terminal and LCD
certe c'est en anglais mais cela se comprend bien et puis y'a toujours google translate 