lp:pystromo

Created by Raumkraut and last modified
Get this branch:
bzr branch lp:pystromo
Only Raumkraut can upload to this branch. If you are Raumkraut please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Raumkraut
Project:
Pystromo
Status:
Development

Recent revisions

63. By Raumkraut

Reverted change made in rev 61. Using __file__ to get the current script's path doesn't work for symlinks.

62. By Raumkraut

Monitor, when checking for conf file modifications, now correctly uses DEFAULT_CONF if no files were specified at the command line.

61. By Raumkraut

Monitor now uses a different var to get its path, when locating the remapper script. This removes the need to import sys.

60. By Raumkraut

The devices.read function now takes a timeout numeric (or None) parameter, rather than a blocking boolean.
Remapper can now take a -R (--reload) option, which will cause the program (when idle) to check the ctime of all the used mapping-files, and trigger a reload when one changes.
The monitor script now takes a -r (--reload) option which does the same as above for its config files. Also added is a -R (--reload-remapper) option, which tells it to start its child remapper processes with the -R option.

59. By Raumkraut

The remapper will now respond to SIGHUP signals by reloading it's configuration (mapping) files.

58. By Raumkraut

Closing an InputDevice will now remove the node from the module's _allInputNodes dictionary.

57. By Raumkraut

Fixed bug in remapper where, when receiving multiple SIGINTs (such as when Ctrl+C-ing a monitor process), the signal handler would attempt to .close() all devices multiple times, resulting in an ugly traceback rather than a clean exit.

56. By Raumkraut

SIGHUPping will now correctly restart the remapper process if it's already running.

55. By Raumkraut

Renamed the main scripts, to make process names more obvious as to what they are ("monitor" and "remapper" were pretty ambiguous).
Default location for config files is now $HOME/.config/pystromo/. This is in line with freedesktop standards.
Updated README with those changes in mind.

54. By Raumkraut

Monitoring script now will reload the config file when sent a SIGHUP.

Branch metadata

Branch format:
Branch format 5
Repository format:
Bazaar-NG Knit Repository Format 1
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.