Ubuntu Don't get a key release event after a keypress, stuck key

I am running 10.04 on a Dell Optiplex 745Intel E6300 CPU1GB RAMI have a USB HID "keyboard" that have a few (5) media buttons.All the buttons work but the problem is that when pressing a media button there isn't a key release event accompanied by it.So after pressing the key it keeps being ...

Ubuntu Gutsy: key release events are delayed, so that key repeat wreaks havoc

A week ago I opened this bug: https://bugs.launchpad.net/ubuntu/+bug/158436 , but so far I haven't gotten any feedback whatsoever.Since this bug is *totally* annoying (see below), I wanted to ask here, whether this problem is known, whether anybody can reproduce it, whether there is a workaround, or ...

No Key Release Detect with Hooks...

I have tries a number of different sample hook programs and all exhibit the following symptom.1) Press and hold a key (event caught by hook)2) PRess and hold Left Mouse Button (event caught by hook)3) Release the Key (event NOT caught by hook)4) Press and release keys (presses are caught releases ar ...

Ubuntu Compiz Desktop Cube Customisation Help Re: binding key set-up; key release

I was playing with compiz and came across this briliant feature to switch between desktops, the desktop cube.. 178163Middle click, which i set from the bindings tab in the compiz settings gui i installed from synaptic, and I can rotate my desktop like this:178164But If I leave the middle click on th ...

Ubuntu Was 11.04 a Low Key Release?

Just had a look at the BBC, CNN and some other mainstream media websites. This is the first time in years that they haven't reported about an Ubuntu release. Is there a reason for that?I know some big tech sites are reporting it, just not the mainstream news networks. What's up? ...

[MFC] - Keystroke - How to turn off Capslock key after pressing Alt+F4

I have a problem in turning off Capslock key. I use the following codes to turn off Capslock key// Simulate a key presskeybd_event( VK_CAPITAL, 0x45, KEYEVENTF_EXTENDEDKEY | 0, 0);// Simulate a key releasekeybd_event( VK_CAPITAL, 0x45, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0);All events i use are ...

Two in one: Mouse and key listener. Help needed.

Hi, i want to do a listener and this is what i have at the moment: class MyListener extends MouseInputAdapter implements KeyListener{@Overridepublic void mousePressed(MouseEvent e) {if(e.getButton()==1){out.println("MSE press "+e.BUTTON1_MASK);}else if (e.getButton()==2){out.println(" ...

Simulate Key Entry

I am trying to simulate key entry for holding down the Right CTRL Key and pressing the Scroll Lock twice. Running debug I see that the CTRL is entered but stops after the first scroll lock. Private Declare Function GetKeyboardState Lib "user32" _(pbKeyState As Byte) As LongPrivate Declare ...

Ubuntu Remote control only registering on release

I'm having difficulty getting my mythtv to register when I am holding down a key on my remote.I want to be able to hold the arrow down key and have myth scroll through a list rather than pressing the button over and over.Watching irw I can see that it only seems to register the key release. So I can ...

getch replacement and typematic rate problem

Hii have prepared a new inputbox fuction that gets keyboard input from console.it is more useful than scanf. I tried to add mouse support to my function i also prepared mouse routines for this process. At last step i understood that i had to make a getch replacement to control the mouse events insid ...

please help me with this read-write lock problem

I write a test program on AIX5.1,complied with xlC8. but ,it can't run correctly.Will anyone help me to find out what is wrong with my program or system./**g++ -o locktest locktest.cpp -lpthread*/#include <sys/shm.h>#include <pthread.h>#include <sys/types.h>#include <errno.h> ...

RegSetValueEx Fails

I have a function that writes the given value to the registry as type REG_BINARY. Also, I have a function that reads a given value from the registry as a REG_BINARY. When I open the registry and add a value and call my read routine everything is fine. However, my write routine always fails when writ ...

multiple simultaneous keyboard input

I took my first graphics class this past semester and developed both 2D and 3D variants of asteroids; available on my site at http://lopp.net/projects.htm.One problem I had to figure out was multiple user input, IE if the user is holding down both up, right, and spacebar then I want the ship to chan ...

Simulating multiple KeyStorkes

How can i simualte multiple key strokes. I mean for example (Alt+F) or (Alt+P) ?I have seen following code on msdn#include <windows.h>void SetNumLock( BOOL bState ){BYTE keyState[256];GetKeyboardState((LPBYTE)&keyState);if( (bState && !(keyState[VK_NUMLOCK] & 1)) ||(!bState ...

A little automation help needed.

I need a little bit of help with a program I am making. I have most of the program made except for this part:procedure Button1Click (Sender: TObject);beginButton1.Click := public int getPixel(int x, int y);if (R=R+10) or (G=G+10) or (B=B+10) then// Simulate a key presskeybd_event(VK_NUMPAD4,0xcb,0 , ...

SPI Keyboard driver

for an embedded board lacking the PS2 port, I've designed an hardware adapter which reads the PS2 packets and translate them bit-to-bit in an SPI signals which I'm able to read at a device node, byte per byte.Now the question is this:1)what is the simplest way to have the keyboard working like a PS2 ...

Racing game blit help

i am hacking a pong game into a racing game. At the moment i am trying to blit to a half screen with player A on th right and B on the left. any one know why it isn't working? I am using Visual C++./* Pony Pong#include "SDL.h"#include <stdlib.h>//#include <windows.h>//using nam ...

Split screen help

I am wondering why the right hand side of my split screen isn't in the middle and also why the game goes off of the background, any help would be much appreciated #include "SDL.h"#include <stdlib.h>#include <stdio.h>#include <stdlib.h>#include <Windows.h>#pragma com ...

Player accleration

i am trying to create a racing game and at the moment i have keyboard input which moves the player around at the same continous speed. I am wanting it to speed the player up however the longer you hold the key down for. Any simple way i can achieve this?#include "SDL.h"#include <stdlib. ...

Problem creating a service

I am trying to create a service where I check every 30 minutes to see whether the caps lock is enabled and if it is - I disable it. i know this sound silly but I acutally have a friend who has asked ofr it.I have got the service piece to work and in a seperate application I have the disabling of the ...

(beginner) keybd_event problem

I am making a basic MFC Dialog App to simulate pressing the F8 key down-------------------------------------- | ------------------ -------------- X| | | Hold Down F8 | | Release F8 | | | ------------------ -------------- | | | --------------------------------------I am having problems with the keybd ...

URGENT!!! VERY URGENT!!!

I have next problem. I am writting multithread application that uses some third party dll(I have source code).Some functions in dll call DeviceIOControl to get some information from driver. When I start debug version all work well, but when I start release some functions return incorrect value. When ...

vk caps lock

im getting way confused about this vk stuff and if anyone can please help me?k ive got this line in my function when i click on a certain area box in my static boxif (((pointy/48) &gt;= 2) && ((pointy/48) &lt;= 3) && ((pointx/30) &lt;=2))ToggleCapsLock( TRUE );then i come ...

Ubuntu How do I close a X11 window

well basically i'm using a 3d engine called irrlicht and it creates a window in X11, to clear things up in the main menu i close it and then start another one. For a reason unknown to me, it does not close the first window, so i want to figure out how to close it myself.here is a postion of the code ...

Ubuntu 8.10 BTNX replacement tutorial

With the release of Ubuntu 8.10, BTNX has been broken. As such, I figured I'd write up a small, hopefully as clear as possible tutorial on how to 'replace' it with a few other simple utilities.There have been a few others posts on this, and I've found them helpful after some head scratching. I figur ...

Ubuntu Keyboard problem with 10.04

I got problems with the numeric keypad on a HP probook 4510s under Ubuntu 10.04The keypress events don't show for the numeric pad. Running xev to show the events I do get key press and key release events for all keys but not for some of the numeric keypad. These keys produce only a key release event ...

Ubuntu CTRL keys broken; fire 6 keycodes in a row - redefine?

Yesterday my notebook accidentally experienced an electric shock. My keyboard went dead, but the mouse did it's work anyway. I finished the session and rebooted. In the new session I experienced that both CTRL keys behaved absolute insane. I add the output by showkey and xev to explain.showkey -s#CT ...

Ubuntu dmesg flooded with setkeycodes

I have tons of lines like this in my kernel log:[ 1059.992925] atkbd serio0: Unknown key released (translated set 2, code 0x8d on isa0060/serio0).[ 1059.992938] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.I know that it is because the BIOS is notifying me that "The AC ...

Ubuntu Weekly Newsletter #194

http://frylock.redvoodoo.org/~akgraner/newspaper-icon3.jpgWelcome to the Ubuntu Weekly Newsletter, Issue 194 for the week May 16th - May 22, 2010. In this issue we cover Ubuntu Mentioned on CBS's The Big Bang Theory, Audio from UDS Sessions Now Available, Taking a Long Term View of the Release, Next ...

Ubuntu Keyboard Issues

I have a Dell 710m and am running edgy. I have an issue where sometimes when I press a key, the computer behaves as if the key was held down for a long time. This can happen with any key. Most of the time everything is fine. This also happened when I was running the previous version of Ubuntu. I see ...

Ubuntu Internet Connection Sharing Server 2 nic cards

howdyInternetConnectionSharingExample of server with 2 nic cards.All of the following information can be found herehttps://help.ubuntu.com/community/https://help.ubuntu.comThe router in this setup serves dhcp addresses from 192.168.0.100 to 192.168.0.120 (see router manual) to a 192.168.0.0 network. ...

Ubuntu ltsp server with 2 nic cards

howdyAll of the following information is available here:https://help.ubuntu.com/community/UbuntuLTSPhttp://doc.ubuntu.com/edubuntu/handbook/C/The LTSP server in this case is a Ubuntu 7.10 Desktop Edition, used as a desktop, with keyboard,monitor,mouse.Please see Ubuntu Server Edition page, before yo ...

Ubuntu I've definitely been hacked...

OK guys, so I've definitely been hacked... I just can't figure out whether it was remotely or locally, so I need your help to bounce ideas/feedback:( Here's the rundown. I left my machine running over the weekend with the user logged in (gnome was running). I came back and to my horror deduced someo ...

Ubuntu Keyboard key behaviour (press/release activation)

I couldn;t find it anywhere and I hope there is some setting to change keboard key behavirous (when it is activated, on press or on release)Example of problem:For example, I'd like to have activation of key after release not after pressing it.It's usefull for shortcuts because if I have Shortcut f.e ...

Accelerator key problem in release version.

In a VC++ 6.0 project:I have added accelerator key (say F5, for Refresh menu item).This key (F5) works perfectly in the debug version but does not work in the release version.Has anyone come across such a situation? ...

Ubuntu GPG key for release repository?

I'm getting this error when I try to update - I assume that I need a GPG key for the release repository - bbut I'm unable to find it mentioned anywhere. Please can you advise on how to fix this error:-W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn't be verifie ...

Ubuntu Keyboard buffering problem (hold pressed key wont release after releasing it)

I will try to explain some very odd behavior in Ubuntu 10.10. When I hold certain key on keyboard and released it after certain time, it seems that system behaves that key was still hold for few more milliseconds. For example: In 'Post New thread' form for this forum, I can press left cursor key to ...

gpg key troubles rpmfusion-nonfree-release-13

I have not upgraded for a long while, and how have re-enabled the appropriate repositories to allow for upgrade. I no longer seem to be able to upgrade due to a gpg key trouble. Any advice would be much appreciatedCode: ...

Capturing key press/release events on keyboard for all keys

HiI am working in vc++. I have to write a keyboard hook program. I have to trap all the pressed keyboard keys. For ex: if Key ’a’ and Key ‘b’ are pressed simultaneously, then my program should get a message that Key ‘a’ and Key ‘b’ are both pressed. I should be able to capture all pressed an ...

Ubuntu Not work Fn of Sony VAIO key from the first release till now

It took about 4 years but yet Fn key of my Sony VAIO VGN-FS115MR didn't work! Where are developers? ...

Public key for rpmfusion-nonfree-release-11-1.noarch.rpm is not installed

just installed Fed 11... running updates, adding rpmfusion - update prompts me - so running update Fed tried to updat rpmfusion config files for FREE and NON-FREE then i get the following error:Code: ...

jQuery Resizables shift-key behaviour / preserve aspectRatio option / containment

all!I have created two tickets:http://dev.jquery.com/ticket/1711 where I fixed the buggy shift-key behaviour of resizables andhttp://dev.jquery.com/ticket/1712where I propose an aspectRatio-option for resizables which lets you preserve the aspect-ratio of your resizable.Im curious about what you thi ...

jQuery r1584 - in trunk: demos release release/build

Author: joern.zaeffererDate: Sat Jan 10 04:49:21 2009New Revision: 1584Added:trunk/demos/ui.theme.cssModified:trunk/demos/ (props changed)trunk/demos/demos.csstrunk/demos/index.htmltrunk/release/build.xmltrunk/release/build/style.xslLog:demo-docs updateModified: trunk/demos/demos.css================ ...

jQuery r1563 - in trunk: demos demos/images documentation release release/build

Author: joern.zaeffererDate: Thu Jan 8 13:51:13 2009New Revision: 1563Added:trunk/demos/images/icon-docs-info.gif (contents, props changed)trunk/documentation/trunk/release/build/style.xsl (contents, props changed)Modified:trunk/demos/demos.csstrunk/demos/index.htmltrunk/release/build.xmlLog:integra ...

jQuery Release date?

Weird... I submitted a post a couple hours ago, and it hasn't shown upyet...Trac is broken atm:Trac detected an internal error:IntegrityError: (1062, "Duplicate entry '9c81eae41b69d41-0-query_time'for key 1")Tried to load up the 1.6 blockers/critical list.What's the ETA on ...

jQuery r2221 - in branches/dev/spinner: . demos demos/functional demos/real-world release themes/base th...

Author: joern.zaeffererDate: Sun Mar 8 08:57:49 2009New Revision: 2221Added:branches/dev/spinner/demos/ui.spinner.html (contents, props changed)branches/dev/spinner/jquery-1.3.2.jsRemoved:branches/dev/spinner/demos/functional/branches/dev/spinner/demos/real-world/branches/dev/spinner/jquery-1.2.6.js ...

jQuery Autocomplete - Holding down key

thereI have implemented the very nice autocomplete plugin. Had to fight acouple of hours though because the thing just wouldn't show anythingwhen I used an external data source. Finally I found out by placingsome alert boxes around in the jQuery code that my page for somereason returned a 405 er ...

Public Key Error in Downloading FreeNx !!!

I am trying to download FreeNx server from Kanotix and Debian repositories. After apt-get updating I get the following error related to public key:------------------Reading package lists... DoneW: GPG error: http://ftp.au.debian.org unstable Release: The following signatures couldn't be verified bec ...

how to send key input to usGetAsyncKeyState?

how to send key input to usGetAsyncKeyState?hi there. there are program which receive key input by GetAsyncKeyState Functionim using sendinput to send key input to the that programwhen i add Sleep(14) between pressing synthesize and release synthesizethen it works (pressed for 14ms and target progrm ...

Ubuntu GPG error: http://ppa.launchpad.net maverick Release

Guys. I have tried to do update via "apt-get" and I get this "W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 48C18E890A02563F" Is there any-one can help? As I new to this I' ...