Let the speculation begin!
I think it's the MACROPAD
Adabox19 Speculation
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- SolderMask
- Posts: 19
- Joined: Tue Jul 20, 2021 1:50 pm
Re: Adabox19 Speculation
Good day! <I'm new and not sure if it would be best to start a new thread for noobs like me?>
I'm running into some snags trying to customize a Macro using Windows (the code examples are all for Mac).
I'm running CircuitPython 7.0.0-alpha.4 and Mu 1.1.0.beta.5
I'm trying to modify a Macro to run the shortcuts for YouTube to get my feet wet.
These all work so far (SO COOL), save for the last line. It does not perform like the left arrow on my actual keyboard...
# 1st row ----------
(0x004000, '<-10', 'j'), # Go back 10 seconds
(0x200000, 'Pause', 'k'), # Pause / Play
(0x004000, '10->', 'l'), # Go forward 10 seconds
# 2nd row ----------
(0x101008, 'FullSCRN', 'f'), # Toggle FullScreen
(0x000500, '<-5', 'LEFT_ARROW'), # Go back 5 seconds
I'm trying to follow instructions given at https://learn.adafruit.com/macropad-hot ... igurations
Not sure where else to turn. Any help would be great.
I'm running into some snags trying to customize a Macro using Windows (the code examples are all for Mac).
I'm running CircuitPython 7.0.0-alpha.4 and Mu 1.1.0.beta.5
I'm trying to modify a Macro to run the shortcuts for YouTube to get my feet wet.
These all work so far (SO COOL), save for the last line. It does not perform like the left arrow on my actual keyboard...
# 1st row ----------
(0x004000, '<-10', 'j'), # Go back 10 seconds
(0x200000, 'Pause', 'k'), # Pause / Play
(0x004000, '10->', 'l'), # Go forward 10 seconds
# 2nd row ----------
(0x101008, 'FullSCRN', 'f'), # Toggle FullScreen
(0x000500, '<-5', 'LEFT_ARROW'), # Go back 5 seconds
I'm trying to follow instructions given at https://learn.adafruit.com/macropad-hot ... igurations
Not sure where else to turn. Any help would be great.
- SolderMask
- Posts: 19
- Joined: Tue Jul 20, 2021 1:50 pm
Re: Adabox19 Speculation
I figured out almost all of it (hung up on the ESC key). Knowing what syntax is needed for each keyboard key you are trying to emulate is not easy. I hope someone smarter that I can whip together how to work each type of key:
a - z = 'a'
Arrow Keys = [Keycode.LEFT_ARROW]
and so on. Maybe it is out there somewhere already?
If this helps someone, here is what I have for a Macropad Macro file (just copy and paste). Or, I attached the file as well-
a - z = 'a'
Arrow Keys = [Keycode.LEFT_ARROW]
and so on. Maybe it is out there somewhere already?
If this helps someone, here is what I have for a Macropad Macro file (just copy and paste). Or, I attached the file as well-
Code: Select all
# MACROPAD Hotkeys example: Windows YouTube Shortcuts
from adafruit_hid.keycode import Keycode # REQUIRED if using Keycode.* values
app = { # REQUIRED dict, must be named 'app'
'name' : 'YouTube Shortcuts', # Application name
'macros' : [ # List of button macros...
# COLOR RGB LABEL KEY SEQUENCE
# 1st row ----------
(0x004000, '<-10', 'j'), # Go back 10 seconds
(0x200000, 'Pause', 'k'), # Pause / Play
(0x004000, '10->', 'l'), # Go forward 10 seconds
# 2nd row ----------
(0x000500, '<-5', [Keycode.LEFT_ARROW]), # Go back 5 seconds
(0x101008, 'FullSCRN', 'f'), # Toggle FullScreen
(0x000500, '5->', [Keycode.RIGHT_ARROW]), # Go forward 5 seconds
# 3rd row ----------
(0x202000, '+Vol', [Keycode.UP_ARROW]), # Increase Volume
(0x000000, 'Mute', 'M'), # Mute
(0x050500, '-Vol', [Keycode.DOWN_ARROW]),# Decrease Volume
# 4th row ----------
(0x070705, 'Start', '0'), # Go to Start
(0x101208, '50%', '5'), # 50%
(0x202014, '90%', '9'), # 90%
# Encoder button ---
(0x000000, '', [Keycode.ESCAPE]), # End of Video (can't figure out how to make this work)
]
}
- Attachments
-
- win-youtube-working.py
- (1.25 KiB) Downloaded 13 times
- dpn982
- Posts: 10
- Joined: Mon Feb 10, 2014 2:29 pm
Re: Adabox19 Speculation
The link looks to be up: https://www.adafruit.com/adabox019/
- SolderMask
- Posts: 19
- Joined: Tue Jul 20, 2021 1:50 pm
Re: Adabox19 Speculation
Thanks! I went there- tried hitting Visit learn.adafruit.com/adabox019 for AdaBox tutorials. but got a 404 error.dpn982 wrote:The link looks to be up: https://www.adafruit.com/adabox019/
I just learned today that https://learn.adafruit.com... pages have a 'Feedback? Corrections?' link on the left side of every page (no feedback loop yet, but it's a place to submit things). I see no link like that on this page to report the 404, so feel free to let someone know if you have connections I don't ;)
- lubarb
- Posts: 8
- Joined: Wed Apr 04, 2018 8:54 pm
Re: Adabox19 Speculation
It's a bit surprising to me that the adabox019 link is up already - they usually avoid posting box details (spoilers) until a good number of boxes have a chance to arrive. Everything should be up by the time the "unboxing" video is posted on July 28.SolderMask wrote:Thanks! I went there- tried hitting Visit learn.adafruit.com/adabox019 for AdaBox tutorials. but got a 404 error.dpn982 wrote:The link looks to be up: https://www.adafruit.com/adabox019/
I just learned today that https://learn.adafruit.com... pages have a 'Feedback? Corrections?' link on the left side of every page (no feedback loop yet, but it's a place to submit things). I see no link like that on this page to report the 404, so feel free to let someone know if you have connections I don't ;)
- SolderMask
- Posts: 19
- Joined: Tue Jul 20, 2021 1:50 pm
Re: Adabox19 Speculation
I changed line 26 to be:
(0x000000, '', 'ESCAPE'), # Toggles the Subtitles On/Off
I tried this and it worked(!) and found it to be more useful than jumping to the end. I'm not sure what it is sending exactly, as it performs differently than my keyboard does. (When I push ESC on my keyboard, nothing happens. YT must have changed their hotkeys.
(0x000000, '', 'ESCAPE'), # Toggles the Subtitles On/Off
I tried this and it worked(!) and found it to be more useful than jumping to the end. I'm not sure what it is sending exactly, as it performs differently than my keyboard does. (When I push ESC on my keyboard, nothing happens. YT must have changed their hotkeys.
- SolderMask
- Posts: 19
- Joined: Tue Jul 20, 2021 1:50 pm
Re: Adabox19 Speculation
A different method of adding a lift-kit and keeping it from sliding as much- 2x 25mm (3x0.5mm thread) standoffs, 4x rubber feet that the original 3mm screws fit into.
The little things that bring me joy.
The little things that bring me joy.
- SolderMask
- Posts: 19
- Joined: Tue Jul 20, 2021 1:50 pm
Re: Adabox19 Speculation
SolderMask wrote:...I'm not sure what it is sending exactly,...
I'm not that bright- to test this, all I need to do was hit it while the cursor was showing somewhere (search line, text document, etc).
Looks like the 'c' was the only letter that toggles the Closed Caption so this works instead...
# Encoder button ---
(0x000000, '', 'c'), # Toggles the Subtitles On/Off
Please be positive and constructive with your questions and comments.