Escape is almost as important as the enter key, used universally for "cancel". In vim, it's arguably more important than the space bar, making its location highly suboptimal.
What key remappings -- either globally (for the whole operating system) or just within vim -- or other solutions do folks have for this problem?
I'll include thi...
I have a WPF application that I minimize to the system tray through this.Hide() and System.Windows.Forms.NotifyIcon. When it's minimized, I want to have a keyboard hook maximize the application. How do I register a keyboard hook like Windows-Button & T, for example.
Thanks.
...
What is the correct way to separate between F1 and i.e. CTRL+F1 respective SHIFT-CTRL+F1 within an KeyListener registered behind i.e. a JButton?
public void keyPressed(KeyEvent event) {
int key = event.getKeyCode();
logger.debug("KeyBoard pressed char(" + event.getKeyChar() + ") code (" + key + ")");
}
.. always gives me 112 ...
Hi,
I wanna do a macro program for a game. But there is a problem with sending keys to only game application (game window). I am using keybd_event API for sending keys to game window. But I only want to send keys to the game window, not to explorer or any opened window while my macro program is running. When I changed windows its still ...
I've just started messing around with JLine to parse character input in console mode. It seems to work well, but I'm wondering:
Is there a nonblocking way in JLine to find out if characters are available? (i.e. like kbhit() in Windows.)
I suppose I could always wrap keyboard input in its own thread which then offers the keyboard charac...
Any recommendations for a high-quality compact (no number pad) keyboard, preferably $50 or less?
Criteria:
$50 or less
Preferably with laptop-style keys (scissor switches instead of rubber
membranes ala cheap desktop
keyboards)
Quiet (I'm a Model-M kind of guy, but this isn't a good environment
for a noisy keyboard)
Don't care too muc...
I want to handle F1-F12 keys using JavaScript and jQuery.
I am not sure what pitfalls there are to avoid, and I am not currently able to test implementations in any other browsers than Internet Explorer 8, Google Chrome and Mozilla FireFox 3.
Any suggestions to a full cross-browser solution? Something like a well-tested jQuery library ...
What is the difference between a keyboard accelerator and a shortcut key?
...
I got this idea a long time ago when i saw an app do this for a game.
i want to catch certain keystrokes. Something like /s myCommand. I had ppl msg me and mess me up through msn so my first command would be something like killmsn. I looked up the resource on msdn and got this far. This doesnt work, why doesnt it? is it BC of sleep? how...
so i am trying to create a util keystroke app so i can do things like kill or launch something. I am thinking i should hold cmd in any app, then type in a 4 digi cmd key so i can launch or kill anything quickly while programming, debugging watching a vid, etc.
I figured out how to get the keyboard callback but for whatever reason once i...
To those who were experienced (> 70 WPM, say) typists before the switch to Dvorak -- were you faster after switching?
There are a couple good SO threads on Dvorak, but they are more on how to learn or reduction in typing pain than speed before/after. I know it will take me 1-2 months to feel comfortable, but I want to know if I shoul...
Is there any way to get a system-wide (global) keyboard shortcut to
perform an action in a Java application?
Any AWT/Swing bindings?
...
Hi,
Anyone know if I can assign a keyboard shortcut such as "CTRL-F4" (for closing the current tab in IE/Firefix etc) to the Microsoft Keyboard favourite keys 1-5.
I have Microsoft Keyboard software installed and I can only browse to applications I want to run and cant seem to see anywhere else where I can assign shortcuts.
Thanks
...
Ok, you are a professional developer and you spend a lot of time on your keyboard.
What kind of keyboard are you using ??
I am currently using a Microsoft Natural Keyboard (a 4000 model). I love it, really : it took me less than a week to be proficient with it (even while playing WoW and CoD5 !).
Well, I do not appreciate the plastic ...
I just downloaded 2.2.1 and i've seen that my input view does not adjust itself when an input field (NSTextField) is selected. Earlier the view was adjusting itself w.r.t keyboard.
I was using 2.1. How can i achieve the same effect?
...
Is there a way to use "alt/option" key as a meta key but still be able to use the key to make some characters which need it?
For example in my local keyboard layout:
@ is alt-2
\ is alt-shift-7
| is alt-7
etc. So if I set alt as meta key, I can't make those characters. On the other hand using "press esc, release esc, press a key" to...
I'm using a Delphi TActionList, with Shortcut Keys for some actions.
I want to prevent certain actions from being triggered multiple times by keyboard auto-repeat, but I do not want to affect auto-repeat operation globally. What's the best way of doing this?
Clarification: I still need to handle multiple fast keypresses - it's only the...
I've defined some global keyboard handling using jQuery's keypress event.
Is there a way to suppress these events for input/textarea fields so as not to interfere with typing?
I've used some hacks with conditions based on element selectors, but those had a big performance impact as they were fired on every single keypress.
(Some of tho...
I'm creating a UserControl consisting of a TextBox and a ListView. I want keyboard focus to remain with the TextBox as long as the control has keyboard focus (selection changes in the ListView shouldn't remove keyboard focus from the TextBox).
I've tried catching GotKeyboardFocus in the ListView and passing keyboard focus back to the Te...
Sometimes when I work on Thinkpads/MSI laptops, the Ctrl and Fn key are swapped (Fn being the leftmost key), and it drives me nuts - I keep hitting Fn instead of Ctrl.
I was wondering if it's at all possible to intercept the Fn key. I'd like to write a hook that swaps the Ctrl/Fn keys, but it seems that Fn is not being processed by the ...