FN Key?

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

FN Key?

Post by richmond62 » Sun Feb 13, 2022 7:04 pm

Can anyone tell me why my ASUS laptop (on which I run Xubuntu GNU_Linux)
has an FN key on the left of the Windows key?

LiveCode, on Linux, picks up no keyDown or rawKeyDown signal from either key.
-
fnUck.png
Special, blurry, bad photo.
fnUck.png (53.54 KiB) Viewed 2333 times
-
I thought (bad idea, thinking) that FN keys were a Macintosh thing.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: FN Key?

Post by richmond62 » Sun Feb 13, 2022 7:23 pm

Erm . . . Whackypedia . . . for what its worth:

"is a modifier key on many keyboards, especially on laptops, used in a compact layout to combine keys which are usually kept separate. It is typically found on laptops due to their keyboard size restrictions. It is also found on many full-sized "multimedia" keyboards as the F-Lock key. It is mainly for the purpose of changing display or audio settings quickly, such as brightness, contrast, or volume, and is held down in conjunction with the appropriate key to change the settings."

Not, frankly, that that is much cop as suspect that this will not trap it:
-
SShot 2022-02-13 at 20.22.07.png

bwmilby
Posts: 438
Joined: Wed Jun 07, 2017 5:37 am
Location: Henrico, VA
Contact:

Re: FN Key?

Post by bwmilby » Mon Feb 14, 2022 6:10 am

When you hold the Fn key and press a (valid?) key, then the action is trapped before any key message would make it to the OS. It is handled by the BIOS I think. Most of my work PC laptops have had these keys. As your clip stated, it is frequently used to adjust volume and screen brightness. I’ve also seen it used to turn Wi-Fi on/off.

The function keys are a different thing. F1-Fn keys are actual keys with a key code. On a Mac, that Fn key worked in the opposite way and make the special keys on some of the Mac keyboards return a function key code (F1…) instead of performing the normal action depicted by the label. In both cases, that actual Fn key isn’t a key that can be detected directly as it isn’t something that the OS “sees” as a key. I’m not sure if it had any effect on other keys at all.

On many laptops, the Fn key action is printed on or above the keys, some times in a different color.
Brian Milby

Script Tracker https://github.com/bwmilby/scriptTracker

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: FN Key?

Post by richmond62 » Mon Feb 14, 2022 8:22 am

I installed LiveCode for Windows on my Xubuntu laptop last night and ran it under WINE, and it
picked up a rawKeyDown signal from the Windows key.

The Linux-native version of LiveCode did NOT pick up a rawKeyDown signal from the Windows key.

Post Reply

Return to “Off-Topic”