keyboard

Making a .NET Windows application show-up on keystroke

My application resides mostly on the system tray on minimize. I'd like the user to be able to hit a keystroke (like ALT+SHIFT etc.) and it shows up on the screen (sort of like Launchy, if you've used it; or the Google search bar). Anyone knows how to do it? ...

UITableView and keyboard scrolling problem

Hi all, after a lot of trial and error, I'm giving up and asking the question. I've seen a lot of people with similar problems but can't get all the answers to work right. I have a UITableView which is composed of custom cells. The cells are made of 5 text fields next to each other (sort of like a grid). When I try to scroll and edit ...

Is it possible to work in Eclipse with keyboard only?

Hi there, as most of us surely do every now and then, I try to improve my workflow. As Eclipse is my main IDE, I wondered if it may be possible to use it without mouse. I browsed the available shortcuts and tried to use them instead of my mouse. I found interesting features like Ctrl+3 which opens something like the Apple spotlight. I ...

Where to buy a US layout keyboard in London?

I have just started a new job in the UK but find the UK layout quite irritating since I've used the US keyboard layout all my life ... any ideas where I can get a good selection of US layout keyboards in London? ...

SendKeys.Send and turning off key modifiers

I want to make ^N work the same as Down arrow in a tree control. I thought I'd just have to add the following to the KeyDown handler: SendKeys.Send("{Down}"); but this gets treated as a Control-Down arrow since the control key is currently pressed. The msdn page describes how to turn on the control modifier but not how to turn it off...

can I rearrange the keys on a das keyboard from QWERTY to Dvorak?

I hate to ask this here, but many people on stackoverflow have talked about the Das. I want to get the version with the printed keys - and since they don't sell a printed key version already set up for Dvorak, I hoped to rearrange the keys myself. OK, I know that I can, but... my dell sk-8115 keyboard did not manage the conversion f...

OS and implementation independent access to the keyboard?

I made an FPS game with MSVC++ which is running very well on Windows. But now I am trying to make it portable (at least I want to create a linux and a Windows version), so I decided to change the IDE to Code::Blocks and the framework to wxWidgets. But it seems the virtual key codes and scan codes are different on different systems. Earl...

WPF Listbox and keyboard navigation

I have a data-bound ListBox with an ItemTemplate which i want to enable keyboard navigation on. If i didn't use an item template and just used the DisplayMemberPath then the list would be navigable with the keybaord. Pressing 'G' for example, would set the selected item to the first listitem beginning with G. Using an item template ob...

Emacs on Putty suddenly stopped accepting ctrl-space?

Weirdly, ctrl-space to start a mark works on the command line in putty and on X on the machine, just not in putty. What configuration did I break? ...

Encoding Keyboard Command Onto Bash Script

Dear all, I have the following way to submit a job with cluster using qsub: Submitting jobs from standard input To submit a PBS job by typing job specifications at the command line, the user types qsub [options] <return> then types any directives, then any tasks, followed by (in UNIX) C...

Navigating with arrow keys

What are some generally accepted practices for navigating between irregularly placed and sized elements in a canvas (such as controls on a form) using the arrow keys? For example, if the currently focused element is a tall element (A) whose height encompasses three shorter elements to the right of it (B, C and D): ####### ####### # ...

Key Events

Is there a way to handle the multiple key-press event on a C# windows form, like "Ctrl+E" ? Here's my code: private void frmDataEntry_KeyDown(object sender, KeyEventArgs e) { if (Control.ModifierKeys == Keys.Control && e.KeyCode == Keys.E) { //Code } } This condition is always false .. why? I ...

Get the VK int from an arbitrary char in java

How do you get the VK code from a char that is a letter? It seems like you should be able to do something like javax.swing.KeyStroke.getKeyStroke('c').getKeyCode(), but that doesn't work (the result is zero). Everyone knows how to get the key code if you already have a KeyEvent, but what if you just want to turn chars into VK ints? I'...

Listview navigation behaviour in an xbap versus a standalone app

Hello, I have an wpf application which contains a listview. When the application runs as a standalone I can navigate through the list with the arrow up and the arrow down keys on the keyboard. When the application is deployed as an XBAP and runs in a browser window I can do this too but when I for example reach the top element and press...

What is the best way to learn Touch Typing?

Duplicate How do I improve my Typing Skills?.** I tried the test on http://speedtest.10-fast-fingers.com/. I reach only: You type 337 characters per minute You have 58 correct words and you have 1 wrong words How can I improve my typing speed? What free resources do you know of? Should I learn the Dvorak Keyboard? ...

how to use the key board as command to zoom in opengl?

can anyone tell me how? i've never done this before so i'm not sure as what library to use and how to call the command that a key pressed as a instruction rather than input.. i'm writing a OpenGL program in Visio C++ ...

Moving keyboard focus away from listbox

Hi! I'm developing a program in WPF (VB) that relies on keyboard navigation only. In my program, I have a listbox that displays up to 20000 items. What I want is that when the listbox has keyboard focus, and I move to the bottom item that is visible (using ArrowDown), I want the focus to move to the next item outside the listbox. I'm...

Detect in python which keys are pressed

I need to know which key is being pressed right now. I'm not looking to capture some specific keys to trigger an event or anything like that, I want to know which keys are pressed now and display a list of them. I also need to capture special keys like F1 ... F12, shift, alt, home, windows, etc. Basically all keys on the keyboard. Ho...

How can I show the numeric virtual keyboard on the Blackberry Storm?

I'm having some difficulty showing the virtual keyboard I want for the Blackberry Storm. I have an option to toggle the keyboard's visibility on a certain screen. Whenever the user types a number, it's handled by the screen, rather than any particular field (there are no textfields on this screen). This much works fine. I can show an...

Simulating a tab keypress using JavaScript

I'd like to have the browser act as if the user had pressed the Tab key when they click on something. In the click handler I've tried the following approaches: var event = document.createEvent('KeyboardEvent'); event.initKeyEvent("keypress", true, true, null, false, false, false, false, 9, 0); this.input.focus()[0].dispatchEvent(event)...