keyboard

How to send a message from iPhone to Mac/PC

Hey guys, I'm looking to start a new application up - the concept's really simple I guess. You press a button labelled '1' on the iPhone and it sends a message to the PC or Mac that makes the mac/PC respond exactly as if the number '1' had been pressed on the computer's own keyboard. Now I think I'm going to have to do some serious re...

Cocoa - keyboard reference numbers for hotkeys; any docs detailing these?

I'm currently coding an app that has hotkey functionality, I've done some reading and was surprised to see it is all done via an old Carbon API. However, perhaps the biggest dilemma is I am unable to calculate the "Keyboard Reference Number"s it requires. The only app I have seen that makes this possible (ASyncKey) won't work anymore as...

Android: how to add custom soft keyboard when form field is selected in WebView

I am using WebView to present UI. Is there any way that I can trigger custom soft keyboard when input text form field is selected? ...

Activating the iphone keyboard

I cant believe that I haven't been able to find any documentation on this yet but I was wondering how to command the keyboard to activate and receive input from it. All of the examples I could find where for manipulating the keyboard that would pop up because of a text field being edited. Thanks ...

Read-only input in Android Webkit not working

I have a text input field in my web page that I am using to collect a date (via the jQuery Tools .dateinput). The user does not need to be able to type into the field. A dialog box appears when the field is clicked on. This is a problem on my Motorola Droid, because I don't want the soft-keyboard to appear when the field is clicked. I h...

How to force the Android Mobile keyboard to numbers?

Specifically, how do I get it to pop up as the numbers entry screen but still be able to switch to letters? What I'd really like, ideally, is to have it act the same as if we had the xml property <EditText ... android:inputType="textShortMessage"/> but come up on the number entry screen (the one you get by clicking "?123") on...

Iphone UIsearcbar - Problem keyboard hides the searchbar

Hi, I have a Uisearchbar in the bottom of view. When i try to do a search the keyboard pops up. Because the searchbar is in the bottom the keyboard hides the searchbar. Can anyone please help me on how to avoid this problem in code Thanks in Advance ...

iPad "dismiss keyboard" button (lower right), how do I detect when this occurs? What function tells me it was pressed?

I have an ipad app that when you are in landscape view, the view will move up when the keyboard is brought in. When you press done on the keyboard, textFieldShouldReturn and textFieldShouldEndEditing are called in which case, I move the view down in shouldEndEditing. If the user presses the dismiss keyboard button, the keyboard does poo...

Handle Keyboard Done pressed event on Iphone

Hello, I am moving my view when a text field is pressed in order to get proper view when keyboard appears. Now, when DONE key is presses I would like to return view to its initial state but, how to handle an action when done key is pressed?? Thanks ...

resignFirstResponder not hiding keyboard on textFieldShouldReturn

Hi everyone, I have a view with a UITextField which should hide the keyboard when return is pressed. My function is this: - (BOOL)textFieldShouldReturn:(UITextField *)textField { if ( textField == userPassword ) { [textField resignFirstResponder]; } return YES; } Normally the keyboard should be hidden but it stays on the screen...

How to put a small custom toolbar above the Keyboard that moves up and down with it?

How to put a small custom toolbar above the Keyboard that moves up and down with it? ...

What is the best keyboard for Visual Studio Developers? What are you using?

Possible Duplicate: Keyboard for programmers I CW'd this question cuz it might get closed otherwise. With the vast number of great keyboard shortcuts in Visual Studio, I'm wondering what modal keyboard you use when developing. I currently have a Microsoft Entertainment 8000 and I love the positioning of all of the keys, howe...

Random keyboard key assignment corruption in Windows XP

Manually Migrated to Super User: Random keyboard key assignment corruption in Windows XP This isn't a programming question but I'll try to get away with it. WinXP SP3 machine. Every so often (sometimes several times a day) my keyboard (or Windows, or something) decides that it is going to translate the keys I am typing. It...

How to convert a string into a series of keystrokes?

I'm using CGPostKeyboardEvent((CGCharCode)0, (CGKeyCode)55, true); to simulate key presses, but say I had a string that I wanted to convert to key presses. How would I go about dividing an NSString up into single characters, and then converting those into key presses? Thanks! Edit: OK I think I found a solution, but I am unable to get...

Touch Screen KeyBoard

I have been working on a touch screen application. I need to know if there exists a ready touch screen keyboard that I can use as a Controller for my application. I tried using the windows ready keyboard but it is too small for a touch screen. Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.System) + Path.DirectorySep...

My delphi application is incompatible with native keyboards. What should I do?

My delphi application is incompatible with native keyboards. What should I do? To explain more, first look at these pictures: Here's an image of what an Italian keyboard looks like: http://en.wikipedia.org/wiki/Keyboard_layout#Italian You can find the normal one (United States keyboard) in the same page. If we press the Shift+2 (or an...

Is there a native .NET method or equivalent to user32.dll's GetKeyboardState?

ANSWER: There isn't a natively managed equivalent for this method. However, a good example managed code API can be found over at pinvoke.net. Hi all I have an application that accepts a flag for 'trace mode'. Trace mode turns on a form containing a text box. The text box displays output via a custom TraceListener object. If there is a ...

Programmatically move Cursor to a TextBlock

Hello, in my application I'm opening a Window as a dialog. Inside this window, there's a TextBox called "myText". When the dialog is shown, I want the cursor to be automatically inside the "myText" TextBox, so the user can immediately enter something without having to click in the TextBox. I however have problems realising this, can som...

No keyboard input from GLUT while mouse is moving (In OS X)

So I just built an OpenGL application on a Mac for the first time. I'm using GLUT to get keyboard input. The trouble is, I've discovered that if I'm moving the mouse at the same time I push a button on the keyboard, my keyboard function doesn't get called! If I push a button when the mouse isn't moving, it gets called just fine. The same...

sendmessage with shift, control, alt key combinations

I'm trying to send Key combinations like Shift F8, etc to a specific window. I am able to send F8 by itself by posing a WM_KEYDOWN, then a WM_KEYUP and specifing (int)System.Windows.Forms.Keys.F8 as the wParam, but can't figure out how to do it with the shift key. I've tried ORing it with System.Windows.Forms.Keys.SHIFT as well as Syst...