Skip to content

Commit

Permalink
Merge pull request #350 from tadeubas/docs-update
Browse files Browse the repository at this point in the history
Docs: fixed m5stickv settings images
  • Loading branch information
odudex authored Apr 3, 2024
2 parents 5ee2f7d + 7a7e05b commit 87054c1
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 9 deletions.
Binary file modified docs/img/maixpy_m5stickv/locale-options-125.en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/maixpy_m5stickv/persist-options-125.en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/maixpy_m5stickv/printer-options-125.en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/maixpy_m5stickv/settings-options-appearance-125.en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/maixpy_m5stickv/theme-1-125.en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/maixpy_m5stickv/theme-2-125.en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/maixpy_m5stickv/theme-3-125.en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/maixpy_m5stickv/theme-4-125.en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/img/maixpy_m5stickv/theme-5-125.en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion simulator/kruxsim/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ def execute(self):
self.command_params = params
if cmd == "press":
self.command_fn = self.press_key
elif cmd == "press_amigo_only" and BOARD_CONFIG["type"] != "m5stickv":
elif cmd == "press_amigo_only" and BOARD_CONFIG["type"] == "amigo":
self.command_fn = self.press_key
elif cmd == "press_m5stickv_only" and BOARD_CONFIG["type"] == "m5stickv":
self.command_fn = self.press_key
elif cmd == "touch":
self.command_fn = self.touch
Expand Down
17 changes: 10 additions & 7 deletions simulator/sequences/all-settings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ press_amigo_only BUTTON_A

# Move to printer
press_amigo_only BUTTON_B
press BUTTON_A
press_amigo_only BUTTON_A

screenshot printer-options.png

# Return to hardware
press BUTTON_C
press BUTTON_A
press_amigo_only BUTTON_C
press_amigo_only BUTTON_A

# Move to touchscreen
press_amigo_only BUTTON_B
Expand All @@ -73,11 +73,12 @@ press_amigo_only BUTTON_A
screenshot touchscreen.png

# Return to hardware
x2 press BUTTON_C
press BUTTON_A
x2 press_amigo_only BUTTON_C
press_amigo_only BUTTON_A

# Return to settings
press BUTTON_B
press_amigo_only BUTTON_B
press_m5stickv_only BUTTON_C
press BUTTON_A

# Navigate to Language
Expand All @@ -101,9 +102,11 @@ press BUTTON_A
# Navigate to Appearance
press BUTTON_B
press BUTTON_A

screenshot settings-options-appearance.png

press BUTTON_A

screenshot settings-options-appearance-screensaver.png

x2 press BUTTON_C
Expand Down Expand Up @@ -132,7 +135,7 @@ screenshot theme-5.png
# Return
press BUTTON_A
press BUTTON_B
press BUTTON_A
press_amigo_only BUTTON_A
press BUTTON_B
press BUTTON_A

Expand Down
2 changes: 1 addition & 1 deletion simulator/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def run_krux():

if(args.device == devices.PC):
from kruxsim.mocks.board import BOARD_CONFIG
BOARD_CONFIG["type"] = "amigo_type"
BOARD_CONFIG["type"] = "amigo_like"

t.start()

Expand Down

0 comments on commit 87054c1

Please sign in to comment.