Open gumpcraca opened 10 years ago
Also, after fixing that error in the source and rebuilding, I'm getting another error:
Traceback (most recent call last):
File "pclip.py", line 14, in
Also suggest, to simplify things, create a class var for "<>?:"{}|~!@#$%^&*()_+" called something like unsupported_shift_chars, then reference it throughout the class rather than referencing a static string constantly
Another issue: you will never type a return character on mac since in mac it would be \n or \r\n depending on version. In character_translate_table, you need to add a value for "\n" : 0x24.
I've made all the changes necessary in my local copy. My changes thus far (and this seems to work well on my mac running Mavericks. All my changes are in pykeyboard/mac.py
Would https://github.com/abarnert/pykeycode be useful?
it appears as though midway through the character_translate_table dict we have an error: character_translate_table = { ... '\t': 0x30, 'return' = 0x24, ... as you can see, we were using : for the dict delimiter then we use = (which is obviously not supported in python)