Thanks a lot for answers ! so quick, as usual 
The module has been made by a french AGSer, long time ago, perhaps pre-3.6. The thing is that it's a full module to write text like in Word or things similar, with possibility to select, copy/paste etc...
As I understand, the new function on_text_input is ONLY for letters, so for this kind of module it can't be only this function that handles text writing as we need also symbols and numbers.
So perhaps I will try to create my own function to "emulate" the keyboard, with all the symbols and MAJ/ALT combinations.
I think he did it to make a difference for letters when MAJ is on, that he didn't want for other keys. But I will change his code to manage missing characters.
So the thing is that if my keyboard has got keys without keycode (I wrote a "display(%d, keycode)" line in my on_key_press function, and some keys don't display anything, so keycode isn't existing for those), I can't detect them at all for my game ?

The module has been made by a french AGSer, long time ago, perhaps pre-3.6. The thing is that it's a full module to write text like in Word or things similar, with possibility to select, copy/paste etc...
As I understand, the new function on_text_input is ONLY for letters, so for this kind of module it can't be only this function that handles text writing as we need also symbols and numbers.
So perhaps I will try to create my own function to "emulate" the keyboard, with all the symbols and MAJ/ALT combinations.
Quote from: Crimson Wizard on Mon 01/04/2024 13:35:18I could not understand the purpose of the script under "// Appui sur un caractère à afficher".This part of the code is to manage keycodes that are not letters. So if keycode value is not under 32 (because under 32 it's Ctrl+Key keycodes), not between 65 and 91 (it's letters) and not over 255 (certainly because it's not keycodes that mean a character, letter or symbol, like "enter", "space" and things like that).
I think he did it to make a difference for letters when MAJ is on, that he didn't want for other keys. But I will change his code to manage missing characters.
So the thing is that if my keyboard has got keys without keycode (I wrote a "display(%d, keycode)" line in my on_key_press function, and some keys don't display anything, so keycode isn't existing for those), I can't detect them at all for my game ?