keyboard

Android keyboard. Key's background.

How can I set backgrounds for each key on the android keyboard. KeyboardView android:keyBackground provides one background for all keys. But I want to set different backgrounds for every key. ...

KeyPreview (KeyUp) handler passing KeyUp to forms created in the method

Issue Weird problem. We've got two forms: the main application window and a settings form. The main form has its KeyPreview set to true, and a method attached to its KeyUp event. This is so that the settings window can be opened with a key shortcut (ctrl-m): private void MyShortcuts(object sender, KeyEventArgs e) { if (e.Control &&...

keyboard for landscape UITextField showing up portrait

Hi, I have some landscape UITextFields that appear to trigger a portrait keyboard. Some details: 1) I have a view controller that only allows UIInterfaceOrientationLandscapeRight in the shouldAutorotateToInterfaceOrientation call. This controller's view is set as such: mViewController.view = mRootRotatedView; [ [ [ UIApplication shar...

Command-line C & keyboard shortcut (in Mac OS)

How can I execute a command when user press a key in a command-line C application? Is it possible when window isn't focused ...

Android: Custom Keyboard built in an application

Hello, I've been looking to create a custom keyboard for my application. At first, i started to look at the SoftKeyboard for the SDK examples, but reading the Android Developer Group led me to this post : This is really not how the input method framework is supposed to work. An IME should be a generic input facility, not fo...

How to show the “Previous/Next/Done” bar with a UITextView

i've seen a "Previous/Next/Done" bar above the keyboard when entering text in a webview on an iPhone. i want to use this built in bar in an app that i'm making in conjunction with a UITextView. i have seen a very similar looking bar above the keyboard in several apps. my guess is this is either some hand made bar that just looks like the...

Where can I find a list of Mac virtual key codes?

I'm using CGEventCreateKeyboardEvent and need to know what value to use for the CGKeyCode. Specifically, I am after the key code for the Command key (either of them will do). The docs give examples: 'z' is 6, shift is 56. There must be a list somewhere? ...

Change input locale (keyboard -- left shift+ alt + 1) key sequence PROGRAMMATICALLY

Dear Sirs, On XP, if you go to control panel -> regional and language Options -> Languages Tab -> Details -> If you have more than one keyboard in use, then, click Key Settings. Those are the settings I would like to change. I would like to set it up so that the DVORAK keyboard is Left Alt + Shift + 1. I can use C++, C# or wha...

How to Convert string (culture != "en-US") to int C# 2005

C# 2005, I have set the culture like below in Program.cs: CultureInfo myCulture = new CultureInfo("bn-IN");// like "en-US", "ja-JP" etc... Thread.CurrentThread.CurrentCulture = myCulture; Thread.CurrentThread.CurrentUICulture = myCulture; Application.CurrentCulture = myCulture; Then after opening the application I choose my keyboard, ...

On Screen (touchscreen) Web Keyboard

Hi, I have a webapp that needs to have the option to be used in a kiosk-style, touchscreen-only environment. Am wondering whether there are any good browser-based keyboards we could use. Probably something javascript or jquery based. Basically we would like to replicate the experience of typing on a mobile browser, but in a normal br...

Numeric Soft Keyboard on Android

Hi, I am developing an android application where we are using WebView to display Web page being served from Web Server. Everything is working fine except with the problem that when i am using the soft keyboard and switched to numeric key entry and move from first field to next field, the keyboard layout automatically changed to alphanum...

Soft Keyboard - Numeric Only

Hi guys, my question is kinda related to this question: http://stackoverflow.com/questions/3216169/numeric-soft-keyboard-on-android BUT, the question above isnt answered, so here i am. Theres a EditText that when it gets touched or has focus, i want the Software Keyboard to show up by default as NUMERIC! Of course, you can switch back ...

How to start a virtual keyboard without loosing focus in WinXP?

Hello, I need to start a virtual keyboard (namely click-n-type) from my application to allow user input in the active field. When the user focuses on an edit box in my application's window, the virtual keyboard pops out to allow input. However, I can't get this to work in one click. When I use the "start click-n-type.exe" the keyboard s...

Detect decimal (dot) key from numeric keypad

I need to detect whether the user has pressed the dot key in the numeric keypad. I've written this first draft that works for me: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html> <head><title></title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/...

VS2010 Locking up my keyboard (or at least parts of it)

I am having a problem with VS2010 randomly disabling certain keys like my arrow and backspace keys when editing files in stored in VSS. It seemed to have just started happening the other day, but simply restarting VS would fix the problem and it may come back a day or two later. Now I restart and it lasts maybe 10 minutes or until I op...

Recognize the 2 key from the keyboard or from the numpad

Hi, I would like to add keyboard short-cuts to my web application. But for one of them, I need to be able to distinguish between the digits entered with the numpad from the one entered above the qwerty chars (my use case is for French keyboards, so it's azerty, but I don't think it's a problem). I'll combine it with a detection of the ...

How to get a combination of keys in c#

How can I capture Ctrl + Alt + K + P keys on a C# form? thanks ...

iPhone Text View within a Flip View

Hi guys, I have a Flip View and on this "flipped" view I have a UItextView, (NOT a textField). I need to be able to display a rightBarButtonItem when the editing of the textView begins and then to click this rightBarButtonItem to resign the keyboard. There are lots of similar problems such as this but none of them are on a flip view. ...

configure the left and right mac 'command' keys differently?

I'm wandering if I can set the right mac 'command' to act like the ctrl key, but keep the default functionality of the left 'command' key. Thanks. ...

Make alt key work when using NX client on OSX to Ubuntu 10.04 host?

I am using NX Client on Mac OS X 10.6 to access my Ubuntu 10.04 machine. I would like to use the Option/Alt key to Alt-Tab in the window manager and as the Meta key in Emacs. Some searching on the internet suggests that I set my OSX ~/.Xmodmap file to: keycode 66 = Alt_L clear Mod1 add Mod1 = Alt_L Alt_R Or: clear Mod1 clear Mod2 k...