keyboard

Daemon in C# to listen for keypress

I'm looking to create a small C# application that will either run as a daemon or sit in the taskbar, and wait for a specific keypress. When the expected keypress is encountered, I'll perform some actions. This is going to be used primarily for quick-posting of data to a web-service I'm writing. I've looked around the net for a while, ...

Alternative for C-key in emacs?

Only a full week on emacs in windows now, I can feel the CTRLkey combinations are beginning to hurt. Nobody suffers RSI because of emacs :-) ? Is there any way to choose another key for a while (the M-key is replaceable by the ESC key I have noticed) I would like to use, say the tab key, for a change. Any way to do that? ...

Call my application through keyword

my problem is very simple, but implementation can be hard! I want that my application (Windows Application:: Visual C# .net) is launched whenever the user clicks some keys combinations (on his keyboard). For example it types "Ctrl+W+W" and my application open, that's all, I want the simplest implementation, less code, memory... Thanks...

Keyboard code mapping in Adobe Flash/Flex for the browser

N.B. Keep in mind the difference between key code and character code. For example, the number 1 (one) and the character ! (bang) both have the same key code but different character codes. Likewise, the number 7 from the row of numbers and the number 7 from the numpad have different key codes but the same character codes. I'm programm...

Load iPhone keyboard before displaying view

Hi, I would like to have the keyboard already displaying when I show my view. I have two view controllers, of which the keyboard is part of the second. However, when I call [textField becomeFirstResponder] during the second view controller's viewDidLoad method, the keyboard slides up on top of the first view. Is there any way I can ha...

SendInput() Keyboard letters C/C++

I am trying to use SendInput() to send a sentence to another application (Notepad) and then send it hitting the Enter Key. Any code snippets? Or help ...

Is there a way to get SendInput to work with an application using GDK?

I have an application that can successfully inject keyboard input using the SendInput API with the UNICODE flag set. This causes WM_KEYUP and WM_KEYDOWN messages to be generated with the VK code of E7 (VK_PACKET), which gets appropriately translated into the correct WM_CHAR message. This works in all the applications I have tried except ...

Do any laser keyboards allow you to move around keys to your liking?

The lack of uniformity of the pgup print screen arrows etc is getting on my nerves. I am wondering if any of the laser keyboards would make me a more efficient keyboarder by allowing me to adjust those keys and make fewer mistakes in programs, emails, and administrative tasks. ...

Iphone Keyboard Transparency

First I'm so newb to iPhone dev and I'm sorry if this is easy. Is it possible to change the amount of transparency on the iPhone keyboard (or even the color if that's possible). I know you can acquire a reference to the keyboard view (link provided) http://www.iphonedevsdk.com/forum/iphone-sdk-tutorials/7350-adding-subviews-custimize-k...

Alt+Space on a OSX causing defective code in HTML (Coda)

Hello, Is it a known problem that unregular spaces used in code can cause a CSS or an HTML to be defective ? When typing a bit fast, I sometimes type ALT+SPACE instead of SPACE (before the curly braces most of the time). Is it possible to make all alternative spaces symbols (that are invisible to the eyes, but not to the code) be the ...

Can I send a <shift> keypress to Windows from Emacs?

There is a function 'w32-toggle-lock-key to, effectively, simulate a press of capslock, numlock, or scroll-lock key. Is there a similar function to simulate a shift key by itself (not shift+something else)? The reason I need this is because I have shift bound to switch languages in Windows. ...

global keyboard hook in windows mobile 5 or above (smartphone platform), how?

so, i guess i must do it in c++, anyone know about this problem? i already searching everywhere and i found some articles about keyboard hook on windows ce, windows mobile is windows ce, isn't it? another questions: which free compiler, ide for windows mobile i could use? ...

Creating video tutorials on Linux for my application want to display keystrokes in heads up display?

I am running Ubuntu 9.04 and have done about a half hour worth of searching. I am creating a visual tutorial for a developed application and would like a good looking way to show keys pressed to the user. While not specifically programming related this is of interest to programmers. ...

Generic Question: Thoughts on soft keyboard UI for mobile devices

Yo, so I was curious about your thoughts about your preferences on soft keyboards for mobile devices. Are there any particularly innovative ones that you like? By the way, my ulterior motive for asking this question was to look up one particular instance that I heard about, oh 10-ish months ago. Basically, you type with your finger con...

How can you read keystrokes when the python program isn't in the foreground?

I'm trying to analyze my keystrokes over the next month and would like to throw together a simple program to do so. I don't want to exactly log the commands but simply generate general statistics on my key presses. I am the most comfortable coding this in python, but am open to other suggestions. Is this possible, and if so what python...

What is your software development work environment like?

Not really looking for description of bosses, but the actual physical surrounding, e.g. desks, chairs, whiteboards, reference libraries, group coffee, etc. Just interested in how many programmers actually work in idealistic conditions and what serious software developers have in their work environment in order to improve their productiv...

How can I process the new content in a text box after the onkeydown event?

I have a text input : <input type="text" onkeydown="processText(this)" /> I have a processing function : function processText(sender) { console.log(sender.value); /// processing.... } But then I check my value, its content hasn't been updated yet. How can I do that? ...

Flex ~ Quit FullScreen mode only when the Esc key is pressed .. is tht possible?

hi i use FullScreen mode for my flex application. what i need is ... when in fullscreen mode i wanna allow the user to quit fullscreen only when the Esc key is pressed. apart from Esc key .. if the user hits ny other key the application shud not quit FullScreen. looking for the solution! Thanks in advance :) Sris ...

Receive input from mute/play/stop/etc. on front of Dell Inspiron laptop

I have a Dell Inspiron E1505 and as you can see in this image it has some buttons on the front for mute, play/pause, stop, volume control, etc. The mute and volume buttons actually affect the volume settings for the computer itself, but the others can also be used to control some other applications, such as Windows Media Player and even ...

Prevent default behavior in text input while pressing arrow up

I’m working with basic HTML <input type="text"/> text field with a numeric value. I’m adding JavaScript event keyup to see when user presses arrow up key (e.which == 38) – then I increment the numeric value. The code works well, but there’s one thing that bugs me. Both Safari/Mac and Firefox/Mac move cursor at the very beginning when I...