Hi everyone, thanks for answering.
I tried on a text editor and it's works. KSP doesn't get key sequences, like I said, when I try to map a key, it detects the alt key, then the numpad key, and once again the alt key. I'll try with scan codes, maybe it will work.
And could I or someone move this topic to the Fan Work section?