How can I press the fn+f keys with Pynput?

1.5k Views Asked by At

I need to be able to press the Function key along with one of the f-keys with pynput, but it doesn't seem to recognize the function key as a keypress, nor does it recognize anything as a keypress when I hit both the function and one of the f-keys.

I'm trying to make a program that will change my keyboard backlight, and to do that I need to be able to have the program press fn+f3 and fn+f4, but I can't seem to make that work. Can anyone tell me how I can do this?

0

There are 0 best solutions below