DEV Community 👩‍💻👨‍💻

Discussion on: Secret input in python, Get input secretly and in a personalized way!

matin profile image
Matin Author

Hello. Since pynput does not have a converter for the num pad, you have to convert the key number to 0-9 yourself, which is solved by subtracting 96 from the keyboard code.
Thanks for your comment and report :) , the SecretInput class code was updated and the issue was solved.