keyboard

WinForms, Handling all keys = OnKeyPress + OnKeyDown, but how?

I've got one Form, custom drawing, no controls. When I need to get the input from the user I go to OnKeyDown event and then map event's KeyData to a string** - so that I can recognize that user has pressed "ctrl X", etc, so everything is almost ok... the problem is with different keyboard settings and language specific letters - so for...

Problem while capturing ALT key event in flex

Hi all, I need to enable alt-<key> selection semantics for some Buttons in my application. If I write KeyDownEventListener for the Button, its not getting triggered when I press ALT key in the keyboard. Is there any way to enable alt key semantics for the buttons? Thanks in advance ...

Custom Android Keyboard Input Filtering

I have an EditText that is to collect input for a basic calculator. I want to bring up the numeric keyboard, and thus I set android:inputType to numberDecimal|numberSigned. Problem is, the EditText filters out all characters that aren't numeric, such as "(", ")", "/", "*". I have tried overriding this behaviour by setting a custom Input...

iPhone textfields/keyboard - how to disable second textfield until first one has been completed

Hi, I have a login screen with two textfields (username and password). When the user clicks on either textfield, the keyboard appears and everything is fine. However, if the user clicks on the other textfield before clicking Done (on the keyboard) for the first textfield, the text for the username isn't saved. The only way to save the o...

What is the best source for typo statistics?

I am looking for a reliable source that would provide some statistics on what keys are the most frequently mistyped. For example: is "a" and "s" more commonly mistyped compared with "m" and "n"? if yes what are the underlying data i.e. "a" is mistyped instead of "s" when the previous letter is "o" in 25% of cases but contrary "s" is mi...

Multilingual virtual keyboard in java

Hi all, I am planning to create a multi lingual keyboard using Java. can u give some ideas or suggestions for doing that? Is there any open source code or interface which i can use in my code? ...

How many pressed keys Flash can detect? using as3

I'm developing a little game. I use the following code to detect the keys pressed by the player: private function onKeyDown(event:KeyboardEvent):void { //moviment keys if (event.keyCode == 37 || event.keyCode == 65) { this.leftKeyPressed = true; } if (event.keyCode == 39 || event.keyCode == 68...

Is this a UIKit bug?

I am not sure if this bug really comes from my app or maybe really is a UIKit bug. Maybe someone here can clarify this. There is a tableview. Each cell offers a disclosure-button to a "settings"-like screen that is a modal view. The modal view can be closed via a "Close"-button. The modal view contains a UITextView. Now here comes the...

Check if a key is down?

Is there a way to detect if a key is currently down in JavaScript? I know about the "keydown" event, but that's not what I need. Some time AFTER the key is pressed, I want to be able to detect if it is still pressed down. P. S. The biggest issue seems to be that after some period of time the key begins to repeat, firing off keydown and...

One handed coding -- tablet, special keyboard, one-handed typing?

I recently broke my finger and can now only type with my right hand. This has seriously impacted my typing speed. Since I write software for a living, this is a serious problem. I have been doing some research, but haven't found a great solution yet. Here's what I've come up with: Wacom tablet + hand writing recognition software. Is i...

UITableView won't scroll after editing view frame and origin

I'm trying to implement a UITextView in a table cell at the bottom of a table view. I've tried the suggestions here http://stackoverflow.com/questions/594181/uitableview-and-keyboard-scrolling-problem, and other solutions as well, but they're a bit different because I have to artificially add extra height to the current view in order to...

defaulting iPhone numeric keypad

Hi can anybody tell me how to show a default numeric keypad on iPhone rather than a character keypad. ...

Getting user input from Win32 C++. WPARAM casted as int?

I'm working on a pre-existing codebase and I'm looking to have the user type any 1-2 digits followed by the enter key at any time during the code being run and pass that number to a function. Currently, user input is handled like so: LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { int wmId, wmEvent...

Display keyboard without animation

Looked intoUIKeyboardAnimationDurationUserInfoKey but I just can't find anywhere how to set it to a custom value. ...

Set custom keyboard for android application

Hi, i know that there is the possibility to set a special keyboard with these attributes. But i need my own keyboard as default. How can i do that? How can my app change the settings? As an example, let's say: i want the example SoftKeyboard as default for my app. Is that even possible? Thanks for your efforts :) ...

Ctrl key press condition in WPF MouseLeftButtonDown event-handler

How I can add additional condition of certain keyboard key, say, Ctrl-key state to WPF MouseLeftButtonDown event-handler? private void Grid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { ... } ...

How can I show a UIDatePicker instead of a keyboard when a user selects a UITextField?

I have a nice clean UI within a table view which has a few text fields for the user to fill out. One of the fields is for the user's birthday. I'd like to have it so that when the user selects the birthday field, a view containing a UIDatePicker would come up as, just like the different keyboards do when selecting a text field. Can thi...

How to prevent a Beep sound if global keyboard shortcut is pressed in the other application?

Mac OS X 10.6 — Cocoa I'm using global event monitor for displaying status item menu using custom keyboard shortcut: globalEventMonitor = [NSEvent addGlobalMonitorForEventsMatchingMask:NSKeyDownMask handler:^(NSEvent *event) { if ([event keyCode] == kVK_F12) { [self handleGlobalShortcut]; // How to prevent syste...

Selecting radio button option based on keyboard input

I have a page full of radio buttons that I'd like to be able to tab through and then select options based on keyboard input. I'm hoping to get the keyboard input to work on radiobuttons in a similar way to how it works on dropdowns (typing the letter 'G' will automatically select the first option that starts with a 'G') Is there a jque...

eclipse keyboard

hi, i have encountered a really weirdest bug in eclipse, i would love if someone will help with it. after a while of coding eclipse simply starts to "mix up" with the letters that are being typed. meaning i press 's' and it displays a different letter 'o' and it happens for other keys as well d becomes an e...and so on. the weird thin...