View Full Version : Simply question: how do I bind function keys on keyboard?
Treason
01-26-06, 02:18 AM
I've never pressed F1, F3-F12 in a desktop environment. I want to bind names, addresses, phone numbers, etc to each function key or some ALT-CTRL-[function] combination. How would I go about this in Windows XP PRO?
Example in c#
// Boolean flag used to determine when a character other than a number is entered.
private bool nonNumberEntered = false;
// Handle the KeyDown event to determine the type of character entered into the control.
private void textBox1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
{
// Initialize the flag to false.
nonNumberEntered = false;
// Determine whether the keystroke is a number from the top of the keyboard.
if (e.KeyCode == Keys.F5)
{
// Your code goes here
}
}
Viventis
01-29-06, 09:48 AM
You need to find a keyboard that allows this in the keyboard software. My Logitech G5 will allow me to bind almost any function to 18x3 special function keys whether in Windows or a game. (you get all the keys in each game or program. It recognizes when you enter a program where you have bound one or more of the keys)
TierMann
01-29-06, 06:21 PM
Or you can find third-party software to do it for you. I have a G15 so I can bind them using the Logitech software. You can also use the nView Desktop Manager if you have nvidia graphics drivers installed to asign hotkeys. I use nView to set ctrl+F1 as "Move window to next display" for my dual monitor setup. You can set key combos to launch applications and a bunch of other functions as well.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.