will wade
will wade
I wonder if this is a Quartz/CG problem.. IMHO pyUserInput needs a total rethink around OS X.. re: https://github.com/SavinaRoja/PyUserInput/issues/45#issuecomment-45683670
got you - this relates to the comments in #44 too. I note that press_keys in windows also uses this: ``` char_vk = win32api.VkKeyScan(character) ``` which basically just needs putting...
I think I'm repeating @tomatobrown here - I get "Tt" So shift+A_key is working :) I have a feeling that @tomatobrown is on to something though..
Ok @tomatobrown try using my fork https://github.com/willwade/pyUserInput - I have a sneaky feeling this should work.. (just replace mac.py with my one if you don't want to grab the whole...
a full UK layout is this incase anyone was wondering.. (!) ``` char_index = "asdfhgzxcv§bqweryt123465=97-80]ou[iplj'k;\,/nm." shifted_index = 'ASDFHGZXCV±BQERYT!@£$^%+(&_*)OU{IPLJ"K:|
its a tricky one for sure. I'm trying to find a solution for the mac which you can read about [here](https://github.com/abarnert/pykeycode/issues/3) - not sure if I'm/we're going to get anywhere...
I think @abarnert may have come up with a potential solution. We have (I have a fork on my machine) a keycode library that now (successfully!) looks up any keycode...
I now have a working fork at https://github.com/willwade/PyUserInput Things changed which I wouldn't mind having a bit of musing over before I do a PR.. ``` def lookup_character_value(self, keycode, modifier=0):...
Would https://github.com/abarnert/pykeycode be useful?
Ahh cool. Apologies for hassling :)