Hello ! I want to make a piano program that uses the windows midi. Programming midi used to take a lot of time to become usable with qb64, but it finally works and I understand. Now, however, I get stuck wanting a keyboard wizard in the program. Everyone can calibrate their own keyboard for the piano. But here I get into total chaos. Try it. Shift, ctrl, stick. Still, what should I measure? I also tried it with Qb 1.5, unfortunately the same problem. What do I need to read to find out what button is pressed? No shift, ctrl, I just want a simple assignment. I can't assign it to _keydown because it's chaotic.