zzangeug / uawks

Automatically exported from code.google.com/p/uawks
0 stars 0 forks source link

Using right alt (AltGr) causes stuck left control with european layouts #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make sure you have a european keyboard layout (so that right alt is
actually AltGr)
2. Press AltGr (right alt on a US keyboard) and release it.
3. Now you can't type anything until left control is pressed first, to
unstuck it. (Note right control does not work - on a second keyboard - it
has to be left control.)

What is the expected output? What do you see instead?
Expect to be able to type after releasing AltGr.

What version of the product are you using? On what operating system?
2008.08.16 on Vista

Please provide any additional information below.
Other people have issues with AltGr too:
http://www.autohotkey.com/forum/topic2052-15.html .

"When a script sends {LCtrl down} while AltGr is physically down, for some
reason the OS or keyboard driver does not generate a physical release of
the LCtrl key when the user releases AltGr. This causes the system to see
LCtrl as physically stuck down."

As a workaround I prevent AHK from touching the LCtrl key. This can be
achieved by commenting out these lines in "System Keys.ahk":
$*LCtrl::PreferenceKeyDown("LCtrl", "RemapLeftControlToWindows", "Control
Up}{LWin")
$*LCtrl Up::PreferenceKeyUp("LCtrl", "RemapLeftControlToWindows", "LWin")

Original issue reported on code.google.com by ben.chal...@gmail.com on 2 Sep 2008 at 9:45

GoogleCodeExporter commented 9 years ago
same problem here. I've tried to merge the sound code and the altGr one but 
didn't solved it.

could anyone with a bit more expierence have a try? 

Original comment by DavidBue...@googlemail.com on 17 Jan 2012 at 8:51

GoogleCodeExporter commented 9 years ago
still hoping/begging...

Original comment by det...@yahoo.de on 29 Jan 2012 at 3:47

GoogleCodeExporter commented 9 years ago
I would even pay for this project, if this would be fixed AND you could switch 
let ctrl and fn.

Original comment by Tim.Joer...@googlemail.com on 23 Feb 2012 at 3:34

GoogleCodeExporter commented 9 years ago
Still nobody??? Give me a donate button and I will pay for it!

Original comment by det...@yahoo.de on 10 Mar 2012 at 7:17

GoogleCodeExporter commented 9 years ago
Is someone still working on this one? I would love to get a functioning version 
for the european layout =( In the meantime I got so desperate that I wrote a 
small workaround with autohotkey. It cannot compensate for UAWKS but it helps 
to cope with the time until we get an updated version.
What it does:
-media keys work without pressing other button
-ctrl+media key will result in the accordant f key
-swaps "<>" / "^°"
-delete button replaces right command key (couldn't get it to work with 
backspace)
-alt+arrowkeys are now end, home, pageup and down respectively
-ctrl+backshift is now insert key

it was made and runs on my win7 computer with german keyboard layout.
I hope it is ok to post this here as it is not a UAWKS mod. If it isn't please 
tell me and I will try to take it down.
hope this helps some people =)

PS: I also included the source file, so if you want to change anything for the 
better, please do (I would be happy if you would still give some credit to me^^)
PPS: If you change the source file, you need autohotkey to compile the .exe 
file.

Original comment by zumeinlo...@gmail.com on 20 May 2012 at 7:30

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you, it's a little step in the right direction!

Original comment by det...@yahoo.de on 23 May 2012 at 12:13

GoogleCodeExporter commented 9 years ago
You are welcome.

Original comment by zumeinlo...@gmail.com on 23 May 2012 at 8:12

GoogleCodeExporter commented 9 years ago
This worked for me to fix AltGr issue on Apple Wireless Keyboard:

<^Alt:: 
        if (!RemapRightOptionToFn) {
        Send, {Blind}{Control down}
        Send, {Blind}{alt down}
        }
    return

<^Alt Up::
        if (!RemapRightOptionToFn) {
        Send, {Blind}{Control Up}
        Send, {Blind}{alt up}
        }
    return

Original comment by faths...@gmail.com on 13 Aug 2013 at 11:55

GoogleCodeExporter commented 9 years ago
Can someone tell me how to implement the suggestion in #58 ?

Original comment by jacobjor...@gmail.com on 9 Oct 2013 at 3:21

GoogleCodeExporter commented 9 years ago
#37 works for me! THX :)

Original comment by mhaghdo...@gmail.com on 5 Jun 2015 at 11:37

GoogleCodeExporter commented 9 years ago
Since the author does not have time for this anymore, I recommend switching to
http://uxsoft.cz/projects/apple-wireless-keyboard/

Original comment by micg...@gmail.com on 8 Jun 2015 at 1:36