flat assembler
Message board for the users of flat assembler.
Index
> Windows > Fn keypress handling |
Author |
|
revolution 22 Dec 2011, 14:58
I thought the Fn key went straight to the SMM code or is held by the KBD controller while waiting. If that is so then there is most probably nothing you can do in any CPU code (asm or other) to capture it.
|
|||
22 Dec 2011, 14:58 |
|
keyoke 22 Dec 2011, 15:07
damn ok, what about EFI I've never had much to do with EFI, but is there nothing that can be developed and loaded somehow pre-boot? sorry a bit vague need to read up on these technologies.
|
|||
22 Dec 2011, 15:07 |
|
revolution 22 Dec 2011, 15:13
Some Fn keystroke sequences never get to the non-system code. For example: my brightness keys (Fn+Up and Fn+Down) will work no matter what OS is running, even a crashed OS won't stop me from changing the brightness. The keystrokes go directly to the SMM code. To get access you would need to know how your chipset works internally and then set-up all the various control registers for SMM control.
|
|||
22 Dec 2011, 15:13 |
|
AsmGuru62 22 Dec 2011, 17:36
@keyoke: I do not understand your question: Fn keys are all coming into your window procedure with focus. Just use WM_KEYDOWN message. Or, are you asking about a different thing?
|
|||
22 Dec 2011, 17:36 |
|
revolution 22 Dec 2011, 23:04
AsmGuru62: Laptops have a "Fn" key for accessing extra functions.
|
|||
22 Dec 2011, 23:04 |
|
AsmGuru62 23 Dec 2011, 15:26
I see... there is a key Fn which ALTERS the meaning for F1-F12.
I thought that Fn meant Functional keys, like F1-F12. |
|||
23 Dec 2011, 15:26 |
|
revolution 23 Dec 2011, 16:45
The Fn key alters the meaning of many other keys in addition to the F1-F12 keys.
|
|||
23 Dec 2011, 16:45 |
|
JohnFound 23 Dec 2011, 17:09
One observation - Windows probably can detect these keys. For example when I press Fn+F2 (WiFi on/off) Windows shows the information picture that displays "WiFi enabled" message.
Last edited by JohnFound on 23 Dec 2011, 17:16; edited 1 time in total |
|||
23 Dec 2011, 17:09 |
|
revolution 23 Dec 2011, 17:12
JohnFound wrote: One observation - Windows probably can detect these keys. For example when I press Fn+FF2 (WiFi on/off) Windows shows the information picture that displays "WiFi enabled" message. |
|||
23 Dec 2011, 17:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.