keyboard

Capturing the delete/backspace keys in SproutCore

I have a SproutCore Pane - a PalettePane, specifically - which includes a form tied to an object elsewhere on the screen. The Pane is causing trouble with the object deletion interaction. The way I want it to work is: If a text input field is in focus, the backspace/delete keys should apply to those fields (i.e. editing the text) If no...

Disabling iPhone keyboard for textarea in web application

So I have multiple textareas on my page that are editable depending on a users status. The problem is that even when a user clicks on a textarea that they are not allowed to edit, the keyboard comes up on mobile safari. The user can't actually edit the textarea, but it's really annoying/looks bad. I was thinking of maybe making it dis...

Changing the keystrokes of a USB keyboard.

Every time a key is pressed on a regular keyboard, a numeric 'key code' is sent to the computer, eg. 32 or 51 which represent specific keys. Unrelated to my default keyboard which I am using to type this post, I want to be able to plug in a keyboard via USB and have its key codes all shifted up by some constant C. Thus, when pressing t...

I'm making an Android IME. How do I add a "Settings" list item in the "Language & Keyboard" settings screen?

... like "Swype settings" in this picture. Been searching for hours on how to do this. Going to go insane. Help appreciated. ...

Is there any way to know when Shift+Enter was pressed in iPad keyboard?

I would like to customize my input a little and I wonder if that is possible? For example I would like to add a Bullet to my textView when Enter is pressed and do the usual thing when Shift+Enter is pressed. ...

Intercepting Ctrl + F4 keystrokes in a Flex application running in IE

Hello, Some of my Flash application components require to intercept Ctrl + F4 keyboard events. Unfortunately, the KeyboardEvent is not caught when running the app under IE since it is conflicting with the IE native shortcut (closing the active tab). Is there a way (ideally relying on Flash principles) to intercept such keystrokes ? Th...

How to overlay on top of the Keyboard in xcode

How do you overlay something, ie a UIImageView over the keyboard which pops up when editing a UITextFIeld? ...

how to hide keyboard on view disappear or button click iphone

Hi, I have a table view on a view and table view contains custom cells and cell contains text box. and i want to hide the keyboard when user click on save button or user navigate from the view. i already have hide the keyboard on done button.. plz can any one suggest. ...

SurfaceView KeyEvents

I'm making great progress porting my Color Computer Emulator to Android. It works on a Droid 2 with a hardware keyboard but I'm unable to get the virtual keyboard to send KeyEvents to my SurfaceView subclass. I've included the setFocusable(true), setFocusableInTouchMode(true), requestFocus() and requestFocusFromTouch() in the View per su...

How to improve the transfer-code-from-mind-to-file effort?

QUESTION OBSOLETE: This question has been re-asked, in a much more condensed form, on programmers.stackexchange. Please vote to have this question closed. Programmers' trade is essentially to write code. Yes, there is a lot more involved than that, but when you really boil down to it, at the end of the day, programmers will have produce...

Can android Emulate a HID device?

I was attempting to design an app that would allow me to have android emulate a hardware device. I.E. a generic keyboard, a generic mouse. I could essentially plug in my android (HTC) to a computer, and program it to use a software keyboard as the computers hardware keyboard. I don't have any direction on how to accomplish this. I on...

Virtual Keyboard only shows after two taps

Hello all, I have an app that has only one Webview and some buttons. On the webview I show a website that contains one textbox. Sometimes, when I tap the textbox the virtual keyboard does not show, and I have to tap again. This only happens on OS 2.1 Has anyone else faced this? Anyone have any idea of what may be causing it? I tryie...

web apps Ipad : how to prevent keyboard from popping on textbox focus/click

I am trying to create a custom keyboard on an Ipad application. But each time the input get the focus, the native Ipad keyboard pops up... How can I prevent this, in javascript. Thanks for your answers. Kevin ...

Execute function on specific key stroke in VB

I'm developing a web application that displays items from a work queue to a user. When an item is selected I have the app lock that item out so no other user can select it. By hitting the back button in the app it unlocks the item. I want to be able to unlock the item if the user hits the backspace key. I know what code I need to unloc...

WPF treeview: how to implement keyboard navigation like in Explorer?

I am using the WPF treeview for the first time and am astonished of all the basic things it does not do. One of those is keyboard navigation, implemented in any self-respecting treeview, e.g. in Windows Explorer or Regedit. This is how it should work: If the treeview has the focus and I type (letters/numbers) the selection should move ...

drop/rewrite/generate keyboard events under Linux

I would like to hook into, intercept, and generate keyboard (make/break) events under Linux before they get delivered to any application. More precisely, I want to detect patterns in the key event stream and be able to discard/insert events into the stream depending on the detected patterns. I've seen some related questions on SO, but: ...

Programatically make keyboard go away

I made a text field but I didn't use Interface Builder, I did it programatically in XCode. So now I need a programmatic way to make it resign first responder so that the keyboard will go away when the user presses enter. ...

Sending keyboard input to a program from command-line

How do you send keyboard input to a program? That is, under a Linux GUI, is there a good manual (programmable) way, or tool, of simulating keyboard input on a running program on Linux, so that I can send from the command-line, e.g., "Control-T" to a Firefox process and "echo 'hello'\n" to a Gnome-Terminal process without actually focusi...

Inner-workings of Keyboard Event Handling under Linux

When I press a keyboard's key on some GTK application under Linux, what happens exactly? How does a key get received (from which device), interpreted, passed to the program, and then handled? ...

Android EditText, soft keyboard show/hide event?

Is it possible to catch the event that Soft Keyboard was shown or hidden for EditText? ...