keyboard

Adaptive Keyboard applications

Folks, Can you see any potentially breathtaking applications for these unique keyboards ? (youtube videos at the bottom) http://www.acm.org/uist/uist2010/Student_Contest.html The main crux is where can a constantly modifying input device generate higher productivity as against a normal input device? Can the keyboard's input device be ...

android: Adding a Custom action button in the softkeybord

Hi all i need to know to how add a new custom action button exactly at the lefthand corner of my soft keyboard...so once i tap on the ok(my custom button name), it should force the softkeyboard to hide. if possible please provide me with some reference.. Thanks in advance.. ...

How to know if a phone running a XNA application has a keyboard?

Hello, For the purpose of a game which must respect MS' TRC, I need to know if a phone has a physical keyboard to handle it. How can I know it? Here is an integrated function which permit to know it? Thanks, KiTe ...

Creating a windowless, zoomable text region that proxies to a real Winforms textbox in C#

Important: we really need the stated functionality, so please don't start suggesting alternatives. We're trying to display and input text on a custom WinForms control that includes text and non-text regions - in other words, a modern canvas. We need to be able to display the text and caret on the custom control at various zoom levels a...

Hotstrings / global string replacement while typing in vb.net

Hi, I'm trying to add a feature in a winforms vb.net application i'm writing that would listen to global keyboard input for specefic user entered strings and replace them with another string (all done while the user is typing). In other words, i'm trying to achieve something similar to the autohotkey command: ::tyvm::Thank you very muc...

android: get notifed when keyboard shows up (2.2)

Hi, i am writing my own texteditor. On 2.1 i got notified when the keyboard showed up via performPrivateCommand(); , I just flashed my galaxy to 2.2 and the method isn't called any longer. Btw. on the emulator, the keyboard even never shows up. So anyone know I could get notified? In addition I would like to know how much space the im...

How to determine if KeyCode is printable character

I am handling the key down event on one of my controls. If the key pressed is an actual input (alphabetic, numeric, or symbol of some kind) I want to append it to a string I have. If it is a control character (enter, escape, etc..) I don't want to do anything. Is there a quick and easy way to determine if the key code is a printable ch...

How to intercept keyboard shortcuts in GNOME

I want to write an application which will intercept some keyboards sequences (like those in Emacs – "C-c C-c") and run some function. How can I do this in GNOME? On wich level I should do that (kernel, X11, window manager)? ...

How to get keyboard state in Linux?

I want to check if the user pressed down the SHIFT key, when program starts. (That means, press down the SHIFT key before the program is started) It's a simple console program, nothing related to X. This maybe similar to Win32 GetKeyboardState() function. I want to know whether I can do this and how, but not any pros and cons with acc...

Don't dismiss keyboard when presenting popup menu on a custom view

I created my own UIView subclass to present text information to the user. User is able to double tap this view to popup a 'Copy' menu. The problem is that UITextView within the same view controller resigns its first responder status thus dismissing keyboard when popup menu is presented. How do I avoid this? I want my application to behav...

Java awt.Robot: send key with position for eg. right shift or right ctrl

Hello, I want to use the java.awt.Robot class to implement a virtual keyboard. I am wondering if there is a way to send the keycode WITH the key location (left or right) using the keyPress(int) method. If you add a KeyListener to an awt Element, a KeyEvent triggered by ctrl or shift has an information if it was the left or right button....

/dev/input keyboard format

I've been playing around with capturing the input from my keyboard device: /dev/input/by-path/platform-i8042-serio-0-event-kbd for me, and I was wondering if there was any specification for what it returns, using od -tx1 /dev/input/by-path/platform-i8042-serio-0-event-kbd to listen. I'm curious mostly due to the behavior of cert...

How to use the Insert Key (like in traditional windows) for a WPF 4 App?

Ok, I know that the new versions of windows do not use the insert key by default and you have to program for it. I want to be able to type in my text box and override the content that is in it just like in old windows when you could activate the insert key. This is just for my WPF 4, VB.net Application. Updated Information: That what I...

iPhone App - Hide picker show keyboard and hide keyboard show picker

in the iPhone app, i have both the text field and picker in the same window. I want the picker popup to disappear when user clicks on textfield and keyboard appears. Similarly keyboard should disappear and picker popup should come up when user clicks on picker. Any sample code? ...

How to get the key pressed and put into array in JavaScript?

How do I get the key that was pressed and, instead of returning the key code, put that key into an array? For example, the user will press 'a'. Then, the code will put 'a' - not the keycode for the character - into an array. Thanks in advance! ...

Disconnect MS keyboard volume keys from master volume control

The MS natural ergonomic keyboard has buttons on it for volume control. I would like to use these keys as hotkeys to control the volume on my media player instead Problem is, it controls the master volume only and there is nothing in my keyboard software or in my system utilities that can disable it. I have done some searching over the...

How to map Soft Keyboard button to button on screen in Android?

Is there any way out for mapping the Done button to the button on the screen in Android. What I want is that I have one login screen user enters username and presses the next button on the soft keyboard which brings the focus on password field. AFter entering password when the user presses done button then the action which is performed o...

Java Interface for Multimedia Keys

Anyone has experiences about interfacing with multimedia [or Fn Function] keys in Java? There seems to be an incomplete discussion regarding multimedia buttons in Java here. There is also a library, JIntelliType, which can be used to register global hotkeys in Windows, but only works for registering globally, not media keys. ...

How to detect a held key in a flash game?

What is the correct way to detect held keys in a flash game? For example, I want to know that the right arrow is held to move the player. Naive code: function handleKeyDown(event:KeyboardEvent) { held[event.keyCode] = true; } function handleKeyUp(event:KeyboardEvent) { held[event.keyCode] = false; } stage.addEventListener(Key...

Simulating a keyboard's output (making a computer pose as another computer's keyboard)

Hi I want to be able to connect a computer A's USB port to computer B's USB port so as to make computer A act as computer B's keyboard. Any idea how I would go about doing that? I'm not looking for a ready-made solution (though if one already exists and is open-sources I would not object), but for a starting point or a good resource....