Is the button mapped to the right shift key? In win7, holding it down for a few seconds brings up the 'filter keys' dialog, which waits for a Yes or No button to be clicked. This may be happening in the background, so isn't visable on screen. Plug in a keyboard, and get the buttons in a game to stop working, then alt+tab through the active apps to see if the filter keys dialog is there.