summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move adding keys to to_return to endWilliam Holland2015-05-301-10/+6
| | | | This removes a few lines of code
* Move repeated regex to functionWilliam Holland2015-05-301-24/+21
|
* Put all [ codes in the tableWilliam Holland2015-05-301-29/+30
| | | | this means none are hidden by the regex
* Make O codes use regexWilliam Holland2015-05-301-17/+20
| | | | This means all the codes can be put in the table and none are hidden
* Clean parse_key by using popWilliam Holland2015-05-301-30/+28
| | | | Rather than lots of list indexing
* Fix multiple keypresses sometimes not workingWilliam Holland2015-05-301-11/+26
|
* Remove obsolete methods from Key and add __hash__William Holland2015-05-301-55/+6
|
* Make parsing use new class and tablesWilliam Holland2015-05-301-7/+69
|
* Add smaller tables to replace _tableWilliam Holland2015-05-301-0/+37
| | | | | This will allow for a lookup of a string of many keys being pressed at once
* Add KeyCombination objectWilliam Holland2015-05-301-0/+58
| | | | | This will allow for more complex keypresses, such as multiple alphabetic keys at once
* Add more special character namesWilliam Holland2015-05-301-0/+7
|
* Add queue_keypresses function to handle everythingWilliam Holland2015-05-291-0/+15
|
* Hide the innards of key.pyWilliam Holland2015-05-292-14/+14
|
* Update READMEWilliam Holland2015-05-291-1/+5
| | | | to reflect the addition of set_to_read_key and reset_tty
* Add reset_tty to reset set_to_read_keyWilliam Holland2015-05-291-0/+8
|
* Add set_to_read_key functionWilliam Holland2015-05-291-8/+11
| | | | | This is so that unnessary code does not need to be run each time getkey is called and to encourage the caller to reset the tty
* Remove .pyc filesWilliam Holland2015-05-282-0/+0
|
* Add READMEWilliam Holland2015-05-281-0/+41
|
* Fix not equal operator not working on KeyWilliam Holland2015-05-281-1/+1
|
* Remove Queue import which I decided not to useWilliam Holland2015-05-281-1/+1
|
* Add setup.py install scriptWilliam Holland2015-05-281-0/+9
|
* Move into module folder and add __init__William Holland2015-05-285-12/+30
|
* Add Key object and related functionsWilliam Holland2015-05-281-0/+108
|
* Add key submoduleWilliam Holland2015-05-272-0/+1
|
* Add main moduleWilliam Holland2015-05-271-0/+0
|
* Add MIT licenseWilliam Holland2015-05-271-0/+21