- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am designing HID Keyboard USB out data. On my keyboard, I want to add Brightness increment and Brightness Decrement keys. In my system brightness is controlled by Fn+f1 and Fn+f2, I am trying to implement this but my issue is there is no specific value for the Fn key. How can I implement the Brightness button on my keyboard? Thank you in Advance.
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @shilpasonone04,
I found these threads that could help you with your query -
https://stackoverflow.com/questions/24423724/finding-the-scan-code-of-fn-key
https://forum.arduino.cc/t/keyboardmodifier-for-function-key/656273/8
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @shilpasonone04,
I found these threads that could help you with your query -
https://stackoverflow.com/questions/24423724/finding-the-scan-code-of-fn-key
https://forum.arduino.cc/t/keyboardmodifier-for-function-key/656273/8
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fn is not a "real" key. The action is peeled off before it gets to the OS.
You'll want to use HID Consumer controls for Display Brightness Increment/Decrement, Usage Page 0xc, Usages 0x6f, 0x70. You'll need to make a separate HID report for that with a report ID.