okkosh / FN-key-lock

A Script/Program to simulate hardware F key lock on F1-F12 keys with custom controls and visible lock notifications.
74 stars 5 forks source link

Please add other key functions #3

Open mohseniri opened 3 years ago

mohseniri commented 3 years ago

First of all, tnx for your great software. please add other functions like increase/decrease of LCD light and also increase/decrease of the keyboard backlight.

okkosh commented 3 years ago

@mohseniri Thanks for commenting!

Yes, I can add the functionality to change the brightness of a screen but, I don't think it is possible to change the Keyboard backlight as it's a hardware dependent functionality.

In any case -- I will look into it :)

mohseniri commented 3 years ago

Tnx a lot. If you add another editbox in front of each fn key that allows user to define hex code manually, then we can extract our predefined code depend on our laptop model. 🙏

okkosh commented 3 years ago

Yeah, I can do that. Thanks!

okkosh commented 3 years ago

@mohseniri You can define the custom hex inside the provided editbox just start your custom hex with sc (Scan code) e.g. if you would like to use a custom scan code of 231 -> write it as sc231 in-front of that key and you are good to go.

Let me know if it works. Thanks!

mohseniri commented 3 years ago

you were right. I try to find hex code produced by these keys. I write a keylogger using c#, but I only capture predefined keys. Unfortunately, these extra function didn't seem to be sent programmatically.

DonJohrian commented 3 years ago

Hi... Let me just say this script is amazing so far. I don't understand though... How to add custom functions? I'm trying to add the Windows Task View, but I'm failing catastrophically. As I understand it, the key combination should be written as LWinTab or #Tab, although it doesn't seem to work at all. If I just type in LWin or RWin it's no problem, the command is understood and I can successfully remap my F3 key that way. I guess I'm missing something. How to add a custom shortcut?

Gulduur commented 3 years ago

First of all, tnx for your great software. please add other functions like increase/decrease of LCD light and also increase/decrease of the keyboard backlight.

Just wanted to second the interest in controlling the brightness. After so many years looking I finally found something that allows me to lock Fn n my laptop, thanks a lot!

okkosh commented 3 years ago

The feature is implemented in v1.0 beta . Please test and let me know if it works as expected on your machines :)

Gulduur commented 3 years ago

Fantastic, it is working as expected here. Thank you so much!

Shasoosh commented 3 years ago

@okkosh Did you get a chance to look into backlight brightness? I'm using the Logitech MX keyboard and I'd love to see it added.