keyboard

Programmable Keypad For Programmers

Not a repeat of the "Keyboard For Programmers" question, though that one is certainly worth reading. http://stackoverflow.com/questions/687/keyboard-for-programmers I know there are a few keyboards out there with programmable function keys, but let's say you've already found the keyboard of your dreams and it has no such feature. Ideal...

Switch input language on remote application

Is it possible to switch input language for another application? Having application's process ID, thread ID, window handle etc. ...

iphone Japanese Keyboard

Hi, Is there a way to check if the iphone keyboard is currently in Japanese vs English input mode? I would just check the Unicode characters but the numpad on the Japanese keyboard sends regular ASCII characters I think... ...

Qt - Keyboard layout

Hello, are there any ways to get current keyboard layout in Qt? Platform: Linux. Programming language: C++. Thanks. ...

detecting two simultaneous keys in pyglet (python)

Hi there... I wanted to know how to detect when two keys are simultaneously pressed using pyglet. I currently have def on_text_motion(self, motion): (dx,dy) = ARROW_KEY_TO_VERSOR[motion] self.window.move_dx_dy((dx,dy)) But this only gets arrow keys one at a time... I'd like to distinguish between the combination UP+LEFT an...

AIX/XP Curses get key/modifier key in a cross platform fashion.

Hello All. I am working on a simple console app to get my feet wet with curses again. I am having a bit of a problem porting my app from xp to AIX. Here is a sample chunk of code. int main(void) { WINDOW *_window = initscr(); int _rows; int _cols; cbreak(); /* Accept all keys */ keypad(_window, true); ...

Keyboard Application - Best way to have multiple buttons add letter to textinput? Use event handlers?

I'm working on an application and I am building a "Keyboard" component for it. There are 30 keys on the keyboard and it doesnt seem to make practical sense to create an event handler for each button. When the button is clicked, its label should be sent out to a function which adds it to a textinput field. Should I just create a "click...

Changing the location of a UIButton when it is clicked

Hello again, I'm putting together an app that uses a keyboard (like the native iPhone one) that has symbols on the keys. My question is how to I change the location of a button when it is clicked (as the UIControlStateHighlighted images is bigger than the regular state). Thanks for any help/pointers. ...

C# SerialPort - emulate pos keyboard

We are trying to emulate a POS keyboard in order to integrate an application with an existing Point of Sale application. We ran across this software: Virtual Serial Port Kit It basically creates a virtual serial port pair so that data send to COM1 can come out of COM4 and vice versa. This allows our application to send data through CO...

Capturing key events in Silverlight

Background: I have an application where I want to be able to capture keyboard events. On the main screen, the user clicks a Start button. During the game, the Start button goes away and a Reset button is shown (Visibility changes on the two controls). These are the only two standard controls involve as all else is non-focusable user c...

When you are making an iPhone app using Xcode, how to you get a keyboard to work?

I have a editable text box and when I click on it I get a keyboard. But, it won't let me close out of the keyboard. When I go into the properties of the editable text object ( the Text View object ) and make the return button "Done" it still won't let me exit out. ...

How do I programatically change the "underline keyboard shortcuts" Control Panel setting?

In the "Control Panel > Ease of Access Centre > Make the keyboard easier to use" is an option to "Underline keyboard shortcuts and access keys." Is there a way of programatically switching this on and off? I'm using Visual Basic Scripts, but can use .NET. ...

How can I make the keyboard disappear?

Is there a way to make a keyboard disappear without resignFirstResponder? I have a UITextField, and I'd like it to be able to accept new text and still have the insertion point (flashing cursor) visible without the keyboard being on screen. When I perform a [textField resignFirstResponder] I can still insert text, by appending to the t...

Flex: Simulate key press

I'm creating a virtual keyboard for a touchscreen Flex app and i'm trying to simulate a key press by dispatching a KeyboardEvent. I've written a handler function to listen for the event and act accordingly. So far so good... but it's starting to get complicated as i have to manage the focused textInputs (easy), the cursor position in tho...

Determining which keyboard is sending keystrokes

I have 2 keyboards hooked up to my machine (one on PS/2, the other on USB). How would I determine which keyboard is sending the keystrokes in C#? ...

Editing the bios to allow for faster keyboard reading

We have a linux app that depends on the speed with which the user can press certain keys. This is a human performance test. I'm curious to know if anyone has any experience in modifying the bios to allow it to scan the key matrix faster? With Linux I can modify the keyboard driver to query the bios faster but unless the bios is modifi...

Iphone Invisible Keyboard

Hi, I'm working on an app right now that was working fine until I started implementing some threading for background loading of images. Now theres no crashes but the keyboard does not display. That is to say its invisible (I can still type, I just cant see the actual keyboard). The only thing I've done was implement threading so I'm won...

Keyboard and mouse interaction on Linux

I use Linux because it is a superior development environment to Windows. However I recently came across a Windows library called AHK that gives me great control to interact with applications. Is there an equivalent in the Linux world? ...

Catching keypress in ASP.NET textbox

Is there an easy wayt o capture a keypress (in my case: F5) in a ASP.NET textbox, and executing a server method as a response? I've created a simple SQL frontend, and out of habit (from SQL Server Mgmt Studio), I keep pressing F5 when I'm done typing my query, but that always refreshes the browser, instead of executing my SQL query :-)...

Applying a modifier key from one keyboard to a keypress on another in OS X

I want to use a foot pedal to press the key, but OS X won't associate a modifier keys across two different devices. I've found some applications that create virtual keyboards, such as synergy+, so I know it must be possible to capture events from 2 devices and merge them as if they were coming from one device. Any ideas on how I can mak...