gcormier / megadesk

Open-source IKEA Bekant controller board
GNU General Public License v3.0
717 stars 53 forks source link

Lock butons #140

Open gcormier opened 1 year ago

gcormier commented 1 year ago

Add functionality to lock buttons. Include serial command to toggle it as well.

Originally posted by @landonr in https://github.com/gcormier/megadesk/discussions/136#discussioncomment-6387247

philwmcdonald commented 4 months ago

A reminder that removing the grey physical key disables the keys. Clearly that's not under software control.

Disabling the button interrupt will of course do this, but then requires serial to re-enable. Presumably the setting should be non-volatile so that power-cycle gets the buttons working normally again - without requiring serial?