Skip to content

Comments

Implement soft and hard reboot functionality#29

Open
0wwafa wants to merge 1 commit intoandrewfraley:mainfrom
0wwafa:main
Open

Implement soft and hard reboot functionality#29
0wwafa wants to merge 1 commit intoandrewfraley:mainfrom
0wwafa:main

Conversation

@0wwafa
Copy link

@0wwafa 0wwafa commented Jan 15, 2026

Added functionality for soft and hard reboots with configuration options for short and long presses.

Magic Mapper V2.0 (work in progress)
Added soft and hard reboot.
Added short and longpress in configuration

Example:
"guide": [
{
"comment": "A short press on this button will trigger a soft reboot.",
"function": "soft_reboot"
},
{
"comment": "A long press will trigger a hard reboot (cleaning snapshots first).",
"function": "hard_reboot",
"longpress": true
}
]

Added functionality for soft and hard reboots with configuration options for short and long presses.
@andrewfraley
Copy link
Owner

@0wwafa this will need some work to merge.

  • Remove the comments at the top of magic_mapper.py
  • Document the new functions in the README.md, ensuring to explain what snapshot-boot-manager does
  • Document how to use long press and configure it for other functions

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants