keyboard

Android Orientation problem

I am using Eclipse and developed an app that has 3 tabs using Android 1.5. The program works just fine. 1st problem--whenever the app is run, it change orientations, but does not show the scroll bars, thus allowing to scroll down(or up). Is this suppose to be happening? And how is it corrected? 2nd problem--if you are on say tab2, th...

How to simulate CAPS LOCK press in Xlib

Hello, How to simulate CAPS LOCK on and off using Xlib ? Regards, Levon ...

Access Mouse & Keyboard Battery Status via API

Hi I want to write a little App for Mac and i need the battery percentage of mouse and keyboard connected via Bluetooth. Anyone can tell me if there are some API to do this? ...

Cant send a single key function to remote desktop :\

After a really deep drill down the web, this is my code which unfortunately doesnt send the keys as upper case :/ MapVirtualKey Implementation: const uint MAPVK_VK_TO_VSC = 0x00; const uint MAPVK_VSC_TO_VK = 0x01; const uint MAPVK_VK_TO_CHAR = 0x02; const uint MAPVK_VSC_TO_VK_EX = 0x03; const uint MAPVK_VK_TO_VSC_EX...

problems with KeyboardEvent and special characters requiring shift key

Hi it seems Flex trapKeys(e:KeyboardEvent) has problems when user is pressing some special marks ; / ? = + ( ) & * with non-us (european) keyboards. Pressing these require shift key. I am using String.fromCharCode Any ideas why e.g. pressing semicolor combination faulty outputs "<" var key:String=String.fromCharCode(e.charCod...

javascript keypress function

hi, i thought i had solved this but my basic example seems to not be working. not sure why but i am sure it is a small issue. any help is appreciated. <html> <head> </head> <body> <textarea rows="20" cols="61" id="entry" name="entry" class="body_text" wrap="physical"> </textarea> </body> </html> <script> function keypress(e){ var key_s...

Keyboard won't dismiss when popover closes on iOS 3.2

- (BOOL)popoverControllerShouldDismissPopover:(UIPopoverController *)popoverController { [self dismissFirstResponder]; return YES; } -(void)dismissFirstResponder { [nameField resignFirstResponder]; [descriptionField resignFirstResponder]; [helpField resignFirstResponder]; } I have tried loads of different things,...

Panel not getting focus

Hello there, I am continuing to program some kind of keyboard navigation in my simple graphic program (using C#). And I ran into trouble once again. My problem is that I want to process the keyboard input to move a layer around. Moving the layer with the mouse already works quite well, yet the control doesn't get the focus (neither K...

Java - Can we detect if a key is pressed without using a Listener?

Hi There, I need to be able to detect if a certain key (e.g. CTRL) is pressed during a specific operation of mine. I don't have access to a key listener, nor to a mouse event. What I'm hoping is that there will be some class that has a method like "boolean isKeyPressed(keycode)". Is anyone aware of a method like this in java? For ...

Is there an open source sequential custom ipad keyboard around?

I'm looking for an open source sequential (abcdef) keyboard for the ipad. ...

keyboard press without Hardware press

how can I press "Enter" on c# and WPF without pressing enter on hardware keyboard ? ...

Responding to custom key presses on the iPad?

How do I add a character to a UITextField from ASCII or Unicode character set when a custom key is pressed? Disclaimer: I've seen tons of questions here on Stack Overflow, but I haven't gotten all the information I need to make a hebrew keyboard. ...

Inject a keystroke in java

Hi there! I'm looking for a way to inject a keystroke into the OS keyboard input buffer, like when you click a button the program inserts one (or more) keyboard strokes. I wanted to do this in java because I want to run this in (win,linux and osx). I guess that I'll have to make use of the JNI, do anyone have some ideas? Thanks all sta...

UITextField keyboard doesn't appear

I have a very simple screen with an UITextField with the default configuration, nothing special. When I touch the UITextField, the keyboard doesn't pops up. I haven't any custom control, behavior or anything else, just that, but it doesnt'work. I've done this in previous apps iPhone/iPad apps already on the AppStore but i can't figure o...

How to know the current IME in Android?

I want to know what IME is using currently in android. I tried InputMethodManager.getEnabledInputMethodList(), but I can only get the list of IMEs. I can't figure out how to determine which one is currently selected of the list. How can I get which input method had selected currently? ...

Where do I start if I want to program something that can change the configuration of Keyboard/Mouse in Windows?

Configuration as in the options you see in the Keyboard/Mouse settings under Windows. I have some .NET programming experience. ...

Problem with Custom Keyboard in iPhone when you update grade to OS4.0

I use this code until upgrade to OS4.0 and then my custom keyboard not show it again. have any suggestion !? Thanks (void)keyboardWillShow:(NSNotification *)notification { for (UIWindow *keyboardWindow in [[UIApplication sharedApplication] windows]) { // Now iterating over each subview of the available windows for (UIView *keyboard i...

Finding the class name of the On-Screen Keyboard?

I am attempting to use this code sample to control the Windows XP On-Screen Keyboard (OSK.exe) from a C# (.NET 3.5) Winforms application: [DllImport("User32.dll")]public static extern Int32 SetForegroundWindow(int hWnd); [DllImport("user32.dll")]public static extern int FindWindow(string lpClassName, string lpWindowName); private void...

Virtual keyboard Popup not working on a derived textbox in wpf

Hi. I have a derived class called NumericTextBox that is derived from TextBox.This has all the validationsf for the data to be numeric. Now, i have a popup attached to this textbox in my window. the popup is a virtual keyboard. this lets the user input from both Keyboard and Mouse. but whenever i click a button on the popup, the PreivewT...

Windows Forms custom control: focus and cursor keys without UIPermissionWindow.AllWindows

I want to write a custom control (a text editor) for Windows Forms, which should include the following functionality: Gets the keyboard focus, when you click on it with the mouse Sees all keyboard input (including cursor keys), when it has the focus, Can run in a semi-trusted environment, with UIPermissionWindow.SafeTopLevelWindows (i...