So I have this problem for some time now when somehow the Alt Gr key doesn’t work anymore in jMonkey.
That means that I couldn’t type { properly but had to press Ctrl and Alt at the same time plus the number 7 … really awkward.
Today I noticed that even after closing jME, the key still doesn’t work :S .
Everytime I press the key it reacts like I pressed the Alt key alone.
I am brand new to jME3, so by all means take my advice with a grain of salt (!), but I find it really hard to believe that a Java app would/could permanently disabled a keyboard key after the app terminates.
Are you:
(1) 100% sure that the app has terminated and is not still somehow running as a server/daemon?; and
(2) 100% sure that it’s not just a coincidental hardware failure? Can you swap out the keyboard for a new one, run your app and reproduce the problem on another keyboard?
(1) It was completely terminated
(2) Yes because I just restarted my computer and it works again now
The thing is that happened before and it doubt that it won’t come anymore in the future.
I just don’t want to restart my PC everytime and I think it happened to other people as well but they haven’t found a solution either so I made this thread.
Can you reproduce on another keyboard, or reinstall the device driver for your current keyboard?
Ultimately, in a perfect world, you’ll be able to reproduce by:
Starting with a brand “new” keyboard (either an entirely new keyboard, or a fresh driver for it); at the very least your Alt Gr key should be working when you start the test.
Run your jME3 app in debug mode.
Step through the code, checking the Alt Gr key each time you step.
As soon as Alt Gr stops working, you should have arrived at the location of the code that is “killing” the key.
Post your results! Perhaps it is a bug afterall, but again, I seriously doubt it.
I think you think that I use the Alt Gr key in my app but that’s not the case.
It is the main SDK in which the problem occurs.
I can assure you that it has nothing todo with my keyboard because it works again after a restart.
And I can’t really reproduce the bug … After the restart I did everything I did before the problem happened today but the problem didn’t came.
I think it comes random but I’m not sure.
I’m kinda new to jME so I don’t know if these problems happened before jME3 but I think this version is kinda buggy because I also get this strange exception loop when I close an app in fullscreen mode http://hub.jmonkeyengine.org/forum/topic/never-ending-exceptions/
@AdjustingForInflation said:
- You don't use the Alt Gr key in your app, but at some point during the app's execution, you noticed it stops working.
I don't actually know that ... I first notice it when I want to change the code and have to type this { symbol ... so I can't confirm or deny that statement.
Acer & Aspire M3920
Acer & SK-9621 … drivers: Microsoft version: 6.1.7601.17514
Windows has destroyed my Alt Gr key many times, it has some weird hotkey combination to change the language/locale setting that switches to US keyboard, a hot-key that is almost something I use in netbeans so it is easy to accidentally hit it.
Google around for it, you should find both what it is and how to disable it.
One of the many reasons I don’t use windows
@jmaasing said:
_Windows_ has destroyed my Alt Gr key many times, it has some weird hotkey combination to change the language/locale setting that switches to US keyboard, a hot-key that is almost something I use in netbeans so it is easy to accidentally hit it.
Google around for it, you should find both what it is and how to disable it.
One of the many reasons I don't use windows :-)
Oh my fucking god these stupid motherfuckers … For everyone: It is Alt + Shift … the start of the format shortcut in netbeans -.-’
Here’s how to change it:
For XP see: Control Panel > Regional and Language Options > Languages > Text services and input languages > Details > Key Settings > Change Key Sequence
For Vista/Windows 7 see: Control Panel > Regional and Language Options > Keyboards and Languages > Change keyboards > Advanced key settings > Change key sequence
Awesome to hear that you solved your issue… I also wanted to mention that the name of this thread reminded me of Dweezil Zappa’s “My Guitar Want’s To Kill Your Mother”.
@t0neg0d said:
Awesome to hear that you solved your issue... I also wanted to mention that the name of this thread reminded me of Dweezil Zappa's "My Guitar Want's To Kill Your Mother".
Carry on.
a) Me too.
b) Dweezil was remaking daddy’s original. (I use ‘remake’ versus ‘covering’… they were different enough I think.)