raghuram534 / autokey

Automatically exported from code.google.com/p/autokey
GNU General Public License v3.0
0 stars 0 forks source link

Shift not working as modifier #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Not sure if intended, but shift on it's own doesn't work as a hotkey modifier 
i.e. 

<ctrl>+j -> keyboard.send_key("<down>")

works but

<shift>+j -> keyboard.send_key("<down>")

does nothing.

Also, is there anyway to specify r_shift as a modifier on it's own, possibly 
through mod3 or something? My main use for ahk is to set up vi like keybindings 
and r_shift is perfectly placed to act as a modifier for those?

Thanks!

Original issue reported on code.google.com by tpowe...@gmail.com on 28 Jul 2010 at 7:18

GoogleCodeExporter commented 8 years ago
This is currently the expected behaviour - work is planned to improve/fix it - 
see issue 53

Original comment by thae...@gmail.com on 28 Jul 2010 at 7:20

GoogleCodeExporter commented 8 years ago
The issue where Shift can't be used on its own as a modifier is now fixed. 
However, distinguishing between R and L shift is not implemented yet and I'm 
not sure I will be doing it at this stage. The reason is that X does not 
distinguish between right and left shift for modifier masks, which causes 
problems for key grabbing. It might make it into a future release if I think of 
some kind of solution.

Original comment by cdekter on 30 Jul 2010 at 2:01

GoogleCodeExporter commented 8 years ago
OK thanks, trying to find a workaround at the mo, would alt_gr be possible to 
use as a modifier? It's referenced alot in your sources but can't get it to 
work?

Original comment by tpowe...@gmail.com on 30 Jul 2010 at 11:29

GoogleCodeExporter commented 8 years ago
PS: bloody great bloody work! :¬)

Original comment by tpowe...@gmail.com on 30 Jul 2010 at 11:54

GoogleCodeExporter commented 8 years ago
It would be possible, but AltGr is a bit complex because only some keymaps have 
it. I'll keep that one in reserve for now as a possible future feature.

Original comment by cdekter on 30 Jul 2010 at 1:42