Questions tagged [keyboard]

A text input device. Use this tag to ask programming questions related to typing, keyboard hiding and more.

What topics don't belong here?

If your question is about:

  • Making a (physical) keyboard: See electronics.SX. (Of course, if you want to implement/imitate a keyboard in software — e.g. an on-screen keyboard — then go right ahead and ask.)

  • Configuring your keyboard: See superuser.com, unix.SX, or another site that covers using computer systems — Stack Overflow is about programming them.

  • Interfacing with a device resembling a piano: This is not the tag you're looking for. Move along.

12648 questions
5
votes
3 answers

Android emulator not shown soft keyboard?

I have one edittext on my application and i want soft keyboard on emulator. But problems is its not showing keyboard. I have tried so many things but its not use full to me :- first InputMethodManager imm = (InputMethodManager)…
duggu
  • 37,851
  • 12
  • 116
  • 113
5
votes
4 answers

Programmatically switch keyboard from uppercase to lowercase

I would like to turn my user's keyboard from uppercase to lowercase to force typing in lower-case. How can I do this?
Albert Renshaw
  • 17,282
  • 18
  • 107
  • 195
5
votes
3 answers

How do I read events from a HID device under Ubuntu Jaunty?

I have a Linux USB HID device (a Hama MCE), and I can read its events manually by reading cat /dev/input/event7 and cat /dev/input/event8. Whenever I press a key on the device, a few bytes become available for reading with one of the cat commands…
pts
  • 80,836
  • 20
  • 110
  • 183
5
votes
1 answer

Add image to Messaging app in Android

I am trying to create a custom keyboard and use "SoftKeyboard" sample in android SDK for it. I did few modifications with that sample and created my custom keyboard. I can use this custome keyboard with default Messaging app of my Android…
harsh
  • 2,399
  • 9
  • 29
  • 47
5
votes
3 answers

Is it possible to swallow a key in Raw Input?

I am using the Raw Input API because I need to be able to respond to keys from different USB HID devices differently, even if it is the same key. My window receives the WM_INPUT messages correctly. I can retrieve the RAWKEYBOARD structure to obtain…
Timwi
  • 65,159
  • 33
  • 165
  • 230
5
votes
2 answers

Which is the Virtual Key in Mac for the Eject Key

I would like to remap the Mac Eject Key into Insert, in particular for emulating Ctrl+Insert, Alt+Insert, Shift+Insert and other common key combinations in Windows applications. Which is the Virtual Key code for the Eject Key? I found some virtual…
Pep
  • 1,957
  • 2
  • 24
  • 40
5
votes
2 answers

Why Doesn't Key Down Event Mask Work, but Mask All Does?

I have a basic keystroke converter app in development. The conversion works with the following: CFRunLoopSourceRef runLoopSource = NULL; CFMachPortRef eventTap = CGEventTapCreate(kCGHIDEventTap, kCGHeadInsertEventTap, kCGEventTapOptionDefault,…
DenVog
  • 4,226
  • 3
  • 43
  • 72
5
votes
3 answers

Open and close Windows 8 touch keyboard tabtip under desktop

I need to close the tabtip keyboard from a program under Windows 8 (desktop winform .NET). I found to open it when need, run TabTip.exe to display the Windows 8 Touch keyboard, but i can't close it when i need! I tried to kill the process with…
jcq
  • 167
  • 2
  • 13
5
votes
1 answer

Android IME which accept unicode

While writing an Input method editor for android, what will i have to do to make it map accept some unicode character as input other than changing android:keyLabel (for example to make me map Malayalam character as input :0D00 - 0DFF)
Akhilan
  • 69
  • 3
5
votes
5 answers

XNA show xbox onscreen keyboard in PC

I need to show, and input some text in xbox-like onscreen keyboard. Sadly, when I call Guide.BeginShowKeyboardInput, there is only some funny textbox shown, and i must fill it via keyboard. I know, that on PC iv very normal to use keyboard, but in…
Thaven
  • 1,857
  • 3
  • 19
  • 35
5
votes
3 answers

Change keyboard layout with python?

I'm working on a college system (windows XP) and want to set the keyboard to Dvorak when I log on. I currently have a python script that changes the desktop image. Can I use python to change the layout as well? Or are there other ways?
Someone
5
votes
2 answers

Input from Hardware Keyboard Loses Focus

I have a fragment within a TabHost that has multiple text fields in it. The virtual keyboard works just fine to enter text into using inputType set, but the hardware keyboard (on Droid, Droid 2, etc) does not work. From my testing as soon as you…
mattdonders
  • 1,328
  • 1
  • 19
  • 42
5
votes
1 answer

Pipe all keyboard commands automatically to an embedded mplayer instance when a modifier key is pressed in pyqt4

This is a follow up question to this answer: https://stackoverflow.com/a/11939294/406686: Consider the following code, which embeds mplayer in a QWidget. The problem is that it doesn't react to any mplayer keyboard shortcuts such as right arrow for…
student
  • 1,636
  • 3
  • 29
  • 53
5
votes
1 answer

Why is the iPad keyboard height, when in landscape mode, 1024px?

I ran into this issue earlier in the week and again just now. I'm in the process of setting my keyboard offset for when the keyboard appears on the screen when the user is in landscape mode of an iPad. iPads have a dimension of 1024 x 768. -…
propstm
  • 3,461
  • 5
  • 28
  • 41
5
votes
1 answer

custom keyboard keytext shadow remove

i have used the custom keyboard app from the sdk and modified it as per my requirments but i couldn't modify two things remove drop shadow from the key text of every key on the key board. as i did not find any property in xml layout which i could…
muditagarwal88
  • 548
  • 5
  • 13