Author Topic: function key and keyboards  (Read 3175 times)

0 Members and 1 Guest are viewing this topic.

Offline exia

  • Thread Starter
  • Posts: 109
function key and keyboards
« on: Mon, 18 January 2010, 09:09:09 »
is there any way to mimic the function key found on most laptop keyboards? I want to be able to control my laptop's brightness with my mechanical keyboard. a bonus if the method works, so far nothing has.

is the a way to do the above with an on screen keyboard?

Offline itlnstln

  • Posts: 7048
function key and keyboards
« Reply #1 on: Mon, 18 January 2010, 09:17:40 »
That's a good question.  That might be something that is specific to the keyboard.  That is, the "Fn" key doesn't actually send a code to the PC but only activates something locally in the keyboard's firmware.  Somebody with a Das S, HHKB, laptop keyboard could probably check to see of there is a scancode associated with the Fn key.


Offline itlnstln

  • Posts: 7048
function key and keyboards
« Reply #2 on: Mon, 18 January 2010, 09:24:42 »
Just to clarify that last post...  If the keyboard (particularly a laptop 'board) actually sends a scancode with the Fn key, then it should be possible to map that key with something like Autohotkey.


Offline Rajagra

  • Posts: 1930
function key and keyboards
« Reply #3 on: Mon, 18 January 2010, 09:42:53 »
My USB IBM Ultranav keyboard doesn't seem to send any scan code for the Fn key, nor for the brightness up/down combos. Clearly it must send something - or it wouldn't work to control brightness on a Thinkpad. But what it sends must be of a lower level than normal scan codes, or maybe something needs to be enabled by the PC when it is plugged in? Or maybe a signal is only sent when a certain scan code set is used.

In any case, KeyTweak and Aqua's Keytest see nothing at all.

I don't think there is anything you can do to mimic the Fn key etc directly. But there is a possibility you can mimic the individual actions you need in AutoHotkey. Try searching their forum.

Offline msalivar

  • Posts: 4
function key and keyboards
« Reply #4 on: Mon, 18 January 2010, 19:19:43 »
The brightness and some other function key combinations send ACPI events, like a lid close on a laptop, or power buttons.

Offline spolia optima

  • Posts: 580
  • Location: On the shores of the cosmic ocean...
function key and keyboards
« Reply #5 on: Mon, 18 January 2010, 20:31:57 »
My Dell netbook automatically changes R-alt (or one of the modifiers, i forgot) to the FN key when an external KB is detected.

I think.
keyboards!