When you hold a key on the keyboard under Windows XP, the keyboard seems to send Key Down, Key Up repeatedly. However I am developing for a device where holding a key generates a "proper" key repeat, that is, lots of Key Down and then one Key Up when you release the button.
I want to get the same behaviour under Windows to get our emulator to work as on he device. Is there anyway to acheive this? Do I need to get another keyboard driver? Thanks!
Problem in an internal API as stated in the comment
Related
Windows guy all my life, I am checking out a mac mini. So far so good.
I was able to map HOME/END keys as I wanted under XCode.
There is one thing I am not able to figure out. TO the right of the keyboard, there is this "del/[period]" key. I use it to do a forward delete. I am not able to map that. If I could toggle the numlock, I can possibly use the del key for forward delete.
Yes I did search the net for a few days and could not find an answer.
I would be grateful if someone can point me to a possible solution to this.
Yes I already know that there is a separate "DELETE" key in the middle, but I am more used to the "del/[period]" key in the numlock region.
Thanks for your time.
That depends upon the terminal emulator (and for X) the keyboard configuration. There is no one solution which will fit all cases.
For the default terminal in OSX (Terminal.app), you can add/modify definitions of special keys in its Preferences (Keyboard) dialog. A "forward delete" is one of the known special keys.
I am connecting to MAC machine remote from windows laptop to develop an app. I am planning to add constraints in xcode and the documentation says, I need to do contrl-dragging as specified here.
I couldn't find any help online on how to do this. Could someone please help?
Your question is confusing because Control-dragging is done the same way on a Windows PC as it is done on a Mac.
Windows laptops should have a Control key (possibly label Ctrl). Press and hold down that key. While you're holding the Control key down, press and hold down the left mouse button. Move the mouse. You are now Control-dragging. When the mouse cursor reaches the desired destination, release the mouse button and the Control key.
If that doesn't work or help you understand, you're going to have to be clearer about the nature of your confusion or the problem.
Well, you simply cannot do it, at least that way. Apple is aware of that problem that happens when you use Macincloud. The most you can do is this: https://support.macincloud.com/support/solutions/articles/8000007774-alternative-method-to-ctrl-drag-control-drag-
I'd like to be able to send key presses from one computer to the other. I have a voice application on one system which I use for my headset, and the other system is my main system. The voice application uses a Push-to-talk (PTT) system, which I'd rather keep.
So what I'd like to do is press a key on my main system and have it sent across the network to my secondary system. At this stage all I know is how to get the key across the network, the specifics of actually detecting the key press on my main system and emulating the press on the secondary system is my problem.
The key I'd like to capture (when held down) and send to my secondary system is the right control key. I think the best way is to add a keyboard hook.
How can I do this in such a way that I can hit right control in any application on my main system and have this application pick that up and send it? When my secondary system receives the key, how do I send it to the entire system (rather than trying to find a specific application)? I'm fine with using low-level Win32 calls in unmanaged C++, I'd just like to know how to get this to work.
Thanks in advance.
It seems like you're already halfway there to your own custom solution, but as an alternate you might want to check out Synergy an open source keyboard and mouse extender.
I found the answer: I wrote a small keyboard hook to pick up the PTT press, and then send it via the network to the secondary system. The secondary system takes this keypress and uses the SendInput function to inject the key into the system input queue. I just tested it with Teamspeak and it works brilliantly.
Problem: I am using Windows as a guest operating system in a Virtual Machine and a funky keyboard setup. I need a way to be able to troubleshoot cases when keyboard hotkey combinations are not functioning properly.
Question: Does anyone know of a program that quickly and easily displays on the screen what keypress windows thinks it got whenever I press a key or key combination on the installed keyboard?
Keyboard Jedi looks like it will do what you're after.
Quake3 has disabled the alt and windows keys.
Is there any way to reenable them even while quake3 is running? I need those keys even while I have the game open.
They way I think it works is that the game registers a hotkey using RegisterHotKey and then sets the handled property to true every time the key is pressed.
So if you use UnRegisterHotkey on these keys on the quake3-window I guess the keys will start working again. The problem is that you have no idea what hotkey-id the disabled keys have.
Is there any way to enumerate the hotkeys that a window has registered to get all the hotkey-ids?
It's quite likely that Quake3 doesn't bother with RegisterHotKey at all, but instead uses DirectInput. In that case, it quite likely holds the keyboard in exclusive mode, which explains why the Windows key doesn't work - it's the OS which disables it. Quoting MSDN : "In exclusive mode, the Windows logo key is always disabled."