keyboard

Mapping keystrokes to actual value? - Javascript

Hi folks, any cool libraries that you know about around? =) ...

Is there a way to wait for and get a key press from a (remote) terminal session?

Hi folks, I've been playing around with some ANSI stuff (like colors etc.) in java and php (from scratch) and I'm trying to find a way to basically wait for a key press. I'd like to have something like the following pseudo code at the end of my main event loop: If (KeyPressed) Begin var event = new KeyboardEvent(); event.Ke...

Show iphone soft keyboard even thought a hardware keyboard is connected

My iPad app uses an external "device" that acts as a hardware keyboard. But, at some point in the settings, I need to input text and I can't use the "device" ("device" is not a keyboard). So, is there any way to force pop the soft keyboard even thought I have a hardware keyboard connected? ...

UITextField turn places with UILabel in the UITableView during scrolling

I have a strange problem with UITableView and UITextField inside the cell (as subview). In the window view (UITableView, grouped, scrollable) there are two sections. First section has got 5 rows: 1.1 - cell with UITextField 1.2 - cell with UILabel 1.3 - cell 1.4 - cell with UITextField 1.5 - cell with UISwitchButton and the second ...

Capturing keyboard input on a List View control, C++

How do I capture key presses when a list view control has focus? My window creation code looks like // Window creation HWND hwnd = CreateWindowEx(WS_EX_TOPMOST | WS_EX_APPWINDOW, g_szClassName, "Test", WS_VISIBLE | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SYSMENU, CW_USEDEFAULT, CW_USEDEFAULT, 209, 351, 0, 0, hInstance, 0);...

UIKeyboardFrameBeginUserInfoKey & UIKeyboardFrameEndUserInfoKey

In the Managing the Keyboard documentation: UIKeyboardFrameBeginUserInfoKey The key for an NSValue object containing a CGRect that identifies the start frame of the keyboard in screen coordinates. These coordinates do not take into account any rotation factors applied to the window’s contents as a result of interface or...

@ shows solution navigator instead of typing an @

I can't seem to find a question on this, but it might be because I'm unable to find a good way to search for it... I recently updated my installation of Visual Studio 2010 Pro Power Tools, and now every time I type @ in a code window, I get a search window of some sort opened instead of the @ symbol in my code. I can't find the key sett...

Keyboard question: Typematrix 2030

After using "normal" OEM keyboards for more than 20 years me and my wrists are looking for a good way to continue to program for at least 20 more years. So I wonder if anyone at stackoverflow have tested the Typematrix 2030 keyboard ? http://www.amazon.com/Typematrix-Reach-2030US-Keyboard-Qwerty/dp/B000B57K7K ...

Set global hotkey with Python 2.6

I wanna setup a global hotkey in python 2.6 that listens to the keyboard shortcut ctrl + D or ctrl + alt + D on windows, please help me ...

How to inhibit communication with PS/2 keyboard with assembly?

The host has ultimate control over the bus and may inhibit communication at any time by pulling the Clock line low. How to pull the Clock line low in assembly and release in windows? ...

ResignFirstResponder doesn't dismiss the keyboard (iPhone)

Hi all, I've searched through this site that I couldn't find a solution to the problem I'm facing now. Hope someone can help. I've created a UIAlertView to prompt user to enter their name in an iPhone app. UIAlertView *enterNameAlert = [[UIAlertView alloc] initWithTitle:@"Enter your name" ...

iPhone/iPad app using keyboard shortcuts?

With the availability of keyboards for iPads and iPhones, it makes sense to add keyboard shortcuts to apps now. Is it possible to do this in an app? What are the relevant APIs? ...

How to support RTL keyboard navigation correctly in a HTML textarea

I have a piece of HTML code which contains a textarea. I am doing a GVT testing by inputting a mxed characters such as abcأبجABC in this text area. The display of the string is correct in the RTL mode. H...

what we can use insted of UIKeyboardBoundsUserInfoKey in iphone os 4.0

Hi all i am using this code in my application. CGRect keyboardBounds = [(NSValue *)[[notification userInfo] objectForKey:UIKeyboardBoundsUserInfoKey] CGRectValue]; but UIKeyboardBoundsUserInfoKey is deprecated in iOS 4.0 i am using UIKeyboardFrameEndUserInfoKey and UIKeyboardFrameBeginUserInfoKey in iOS 4.0 but these are giving diffe...

Prevent soft keyboard from being dismissed

There are many questions related to how to programatically show/hide the soft keyboard. However, as we all know the android back button will cause the keyboard to be dismissed. Is there a way to prevent the user from dismissing the keyboard with a back button press? I tried to capture the back button, but when the keyboard is displayed...

Can't get keyboard focus/tab order to hyperlink when tabbing fwd

I have a bug to fix a hyperlink in a WPF app that can't be tabbed to. The control is skipped when you go forward, but if you tab backward (shift-tab) the link will get focus! The window is set up with several panels: a top panel (usercontrol) where the link is, a main panel beneath with form content, and a toolbar on the right. Tabbing ...

How to Force Keyboard with Numbers in Mobile Website in Android?

Hi All, I have a mobile website and it has some HTML input objects in it such as: <input type="text" name="txtAccessoryCost" size="6" /> I have embedded the site into a WebView for a possible Android 2.1 consumption, so that it will also be an Android application. Is it possible to get the keyboard with numbers instead of the defaul...

How to act upon hitting "Enter" when on "Cancel" button in JFileChooser?

I have a JFileChooser in a JFrame. I've added an ActionListener to the JFileChooser so that the "Cancel" button works when clicked. I can also tab to the "Cancel" button, but when I then hit the "Enter" key, nothing happens (i.e., the ActionListener isn't called with the event command JFileChooser.CANCEL_SELECTION). What must I do wit...

How can I listen for keyboard input? such as arrow keys?

Hi, what is the easiest way to listen for key presses from the user? Specifically I am writing an image viewer program that uses a JFileChooser to select images and on the left side, a JList that shows the contents of the director. I would like to make the arrow kets (left/right) move to the next/previous file. Thank you in advance. ...

Hide keyboard in UIWebView

Is there a way to make a UIWebView dismiss all associated input controls, such as keyboards/pickers? ...