jtgans / g13gui

A user-space driver and GUI configurator for the Logitech G13
MIT License
18 stars 1 forks source link

Simple key-value datastore for applet settings persistence #25

Closed jtgans closed 1 year ago

jtgans commented 3 years ago

Writing applets should be cheap and easy -- we have a full widget set, registration flow, and even a helper function to run them and keep their design down to a single page of code. What they're missing now is persistence of settings. It would be nice if we had a simple key-value datastore, similar to the GUI's Preferences object that simply pushed its entire set of data to disk every time a value changed.

Maybe something standardized, like python's built-in @property decorator to help with this?