From: Kevin W. <kw...@co...> - 2015-03-03 10:44:14
|
On 3/3/15 12:08 AM, Trevor Williams wrote: > I am using 8.5.15 (though I have seen this same issue with 8.5.17). When I enter a modifier key such as Shift, Control, Alt or Command, and attempt to get the keys value using the bind %K value, instead of receiving a value like “Shift_L” and the like, I instead get the value “??”. > > Running your script, here is one example output I see for Shift A: Unmodified <KeyRelease> with <%K> equal to <A> and <%A> equal to <A> Unmodified <KeyRelease> with <%K> equal to <??> and <%A> equal to <{}> This doesn't seem entirely consistent with what you are reporting: note that the A is captured there. Regardless, this is an area I am unfamiliar with, including the use case for getting the key pressed with a modifier. If you want to investigate submitting a patch, the relevant code seems to be in tkMacOSXKeyboard.c. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |