pieter-degroote/UltimateKEYS

Use Right shift as dead key ?

clementnuss opened this issue ยท 5 comments

Thank you for this AHK script, it works really well (way better than Windows Intl Keyboard) ๐Ÿ‘๐Ÿ‘

I have one request though, is it possible to also use the right shift as a deadkey modifier (in addition to AltGr) ?

I am never using this key and it is easier to type than AltGr.

You can modify a line like :

>!5::Send {u+20ac} ; (โ‚ฌ) euro sign on Right Alt modifier

to :
>+5::Send {u+20ac} ; (โ‚ฌ) euro sign on Right Shift modifier

Or you can modify the top line in this example :

>!6::  ; Right Alt modifier
  Input, key, L1, {bs}{del}{esc}{home}{end}
  Send % dkCircumflex.item[key]
return

to :

>+6::  ; Right Shift modifier
  Input, key, L1, {bs}{del}{esc}{home}{end}
  Send % dkCircumflex.item[key]
return

Please note that in both examples, the symbol ">!" changes to ">+".

See also the documentation at : https://www.autohotkey.com/docs/Hotkeys.htm

Thank you, this would indeed solve this issue.
One last question: I have looked at the AHK documentation, but have not found a solution to be able to use either the right shift >+ or AltGr >!, with a OR modifier, e.g.:
>!5: OR >+5:Send {u+20ac} ; (โ‚ฌ) euro sign on Right Alt modifier!
Do you know if this is possible ?

Simply put these 2 lines together as :

>!5::Send {u+20ac}   ; (โ‚ฌ) euro sign (Right Alt modifier)
>+5::Send {u+20ac}   ; (โ‚ฌ) euro sign (Right Shift modifier)

and those 2 sections as :

>!6::  ; Right Alt modifier
  Input, key, L1, {bs}{del}{esc}{home}{end}
  Send % dkCircumflex.item[key]
return
>+6::  ; Right Shift modifier
  Input, key, L1, {bs}{del}{esc}{home}{end}
  Send % dkCircumflex.item[key]
return

That's what I thought.
Thank you for your time and for this great project ๐Ÿ‘