DEV Community

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

Collapse
 
matin profile image
Matin

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.