Skip to content

Instantly share code, notes, and snippets.

@schmich
Last active September 24, 2024 08:54
Show Gist options
  • Save schmich/47819eac9cafed14d3bfe2195ea222be to your computer and use it in GitHub Desktop.
Save schmich/47819eac9cafed14d3bfe2195ea222be to your computer and use it in GitHub Desktop.
Programming media keys on the Ducky One 2 Skyline

Programming Media Keys on the Ducky One 2 Skyline

To use media keys on the Ducky One 2 Skyline, you must record a macro to bind the media function to a hotkey combination, i.e. Fn plus some key.

Example

Important: In the instructions below, "Press X+Y+Z" means press and hold key X, press and hold key Y, press and hold key Z in that order, and then release all three.

As an example, to bind Fn+PgUp to the play/pause media function:

  • Press Fn+2 to activate profile #2. Profile #1 (factory default) is not programmable. Indicator lights will flash twice.
  • Press and hold Fn+Ctrl for 3 seconds to start recording a macro. Indicator lights will flash slowly.
  • Press Fn+PgUp to define the Fn+PgUp hotkey combo. Indicator lights will flash quickly.
  • Press Fn+Win+D to bind the key combo to the play/pause function. Indicator lights will continue to flash quickly.
  • Press Fn+Ctrl to complete recording. Indicator lights will stop flashing.
  • The media key is now bound. Press Fn+PgUp to play/pause.

Resetting

To reset the current profile and clear all bindings, press and hold Win+Space for 3 seconds. The indicator lights will flash for a short while.

Media Key Legend

The following functions can be bound to hotkeys using the method above.

  • Fn+Win+A: Mute
  • Fn+Win+B: Volume Up
  • Fn+Win+C: Volume Down
  • Fn+Win+D: Play/Pause
  • Fn+Win+E: Stop
  • Fn+Win+F: Next Track
  • Fn+Win+G: Previous Track
  • Fn+Win+H: Calculator
  • Fn+Win+I: My Computer
  • Fn+Win+J: Browser
  • Fn+Win+K: Mail
  • Fn+Win+L: Multimedia
  • Fn+Win+M: Search
  • Fn+Win+N: Navigate Backwards
  • Fn+Win+O: Navigate Forwards
  • Fn+Win+P: Mouse Left Click
  • Fn+Win+Q: Mouse Right Click
  • Fn+Win+R: Mouse Middle Click
  • Fn+Win+S: Mouse Cursor Up
  • Fn+Win+T: Mouse Cursor Down
  • Fn+Win+U: Mouse Cursor Left
  • Fn+Win+V: Mouse Cursor Right
  • Fn+Win+W: Mouse Scroll Up
  • Fn+Win+X: Mouse Scroll Down
@G2G2G2G
Copy link

G2G2G2G commented Nov 17, 2020

@mariusrueve dude you have the entire internet and you choose to ask here?

@mariusrueve
Copy link

What does "Multimedia" mean?

Multimedia will open your default music player.

@stefangreim
Copy link

Is there a way to mute/unmute my microphone? At least in Windows, but if possible in linux too. My notebook has a special key for this but I cannot figure out how this works...

@jmar910
Copy link

jmar910 commented Nov 30, 2020

@HeyBanditoz @tleb and anyone else having weird problems with media keys mapping incorrectly or just stopping working...

The problem:
It seems that media keys can get "stuck" as activated when you set up the macros, and my theory is that activated media keys will block all the other media keys from working, or they will sometimes take precedence over other media keys.

What seemed to work for me:
When you set up the macros, make sure you press the media hotkeys in the correct order, and release them in the correct order. IE if you are setting up muting... make sure you press fn THEN windows THEN a .... and when you release, make sure you release the a key first THEN the windows key, THEN the fn key.

I believe this is what is causing the weird mapping issues, but if anyone else reads this, let me know if this works / doesn't work. I burned about an hour trying to figure out WTF was up and this seemed to work for me.

@tleb
Copy link

tleb commented Nov 30, 2020

@jmar910 That seems like a possible explanation. I'll make sure to follow it next time I modify macros and I'll try to reproduce but it's not something I do often. Thanks for the report

@javc1974
Copy link

javc1974 commented Dec 3, 2020

Few days ago I bought a Ducky One 2 RGL TKL keyboard. While I was trying to programming macros I don't known what I did that now my keyboard doesn't enter in recording macro mode when I press Fn+Ctrl for 3 seconds (in any profile). I have tried to reset back to factory default holding Left Windows key + right Windows for 3 seconds but after reset it continue without entering in macro recording mode when I press Fn followed by Ctrl for 3 seconds. I have tried to reset macro setting for a single profile hold any windows key + spacebar for 3 seconds and after that not enter in macro recording mode .... I'm desperate. Any idea please? SOLVED: Unplugged and reconnected the USB-C power cord

@HeyBanditoz
Copy link

HeyBanditoz commented Dec 9, 2020

@jmar910

@HeyBanditoz @tleb and anyone else having weird problems with media keys mapping incorrectly or just stopping working...

[...]

That was it. Thanks!

@dimritium
Copy link

anybody knows how can I copy my color profile CM1 from default to my Fn + 2 profile's cm1?

@bmino
Copy link

bmino commented Jan 15, 2021

Thanks! Much better than the manual

@Phoenix616
Copy link

Does anybody know if it's possible to bind the F13-F24 keys or the numpad ones on a size without numpad?

@le4ker
Copy link

le4ker commented Apr 7, 2021

This guide is so much better than Ducky's manual.. Thank you! 🙏

@sgtcoder
Copy link

None of these hotkeys work for me in Windows 10 or Xubuntu 20.10. Great keyboard, just horrible support for media keys.

@HeyBanditoz
Copy link

Try following the instructions by jmar910 here.

@sgtcoder
Copy link

Yah, still not working at all. I am surprised they don't have any software to program the media keys, or even have predefined ones. I have to rely on the OS, and I can't even use the FN key since the OS doesn't even recognize it. The Keychron doesn't have any of these issues.

@HeyBanditoz
Copy link

HeyBanditoz commented Apr 23, 2021 via email

@sgtcoder
Copy link

So what keys do you use to control the volume then?

@HeyBanditoz
Copy link

HeyBanditoz commented Apr 23, 2021 via email

@tleb
Copy link

tleb commented Apr 27, 2021

Yah, still not working at all. I am surprised they don't have any software to program the media keys, or even have predefined ones. I have to rely on the OS, and I can't even use the FN key since the OS doesn't even recognize it. The Keychron doesn't have any of these issues.

There are benefits to not having software involved: works on every OS, no broken software (basically every keyboard personalisation software), can transition from one computer to another without worrying.

So what keys do you use to control the volume then?

https://gist.github.com/schmich/47819eac9cafed14d3bfe2195ea222be#gistcomment-3259167

@rodolformartins
Copy link

Thanks for help!

@sgtcoder
Copy link

I actually read the manual a few times and finally got it all figured out. The macros aren't usable until you program the key combinations in a very specific way. It took me a few tries, but I was able to get the volume keys programmed to the Fn+PgUp and Fn+PgDn.

@roi-shtivi
Copy link

I'm trying to set a macro for quarter Increasing volume in Mac (which is Alt+Shift + Volume Up). The macro is recored correctly and it's increasing the volume in the requested resolution but it's laggy. Pressing and holding the macro is not working as well. Any suggestions?

@crash5
Copy link

crash5 commented Sep 30, 2021

I'm trying to set a macro for quarter Increasing volume in Mac (which is Alt+Shift + Volume Up). The macro is recored correctly and it's increasing the volume in the requested resolution but it's laggy. Pressing and holding the macro is not working as well. Any suggestions?

@roi-shtivi: use the speed and mode settings from the image linked above: https://gist.github.com/schmich/47819eac9cafed14d3bfe2195ea222be#gistcomment-3326609

@urnotjl
Copy link

urnotjl commented Oct 8, 2021

Thanks! Help a lot.
I also found out this file was quite intuitive too.

Google --AkkoxDucky_Zero_3108_PBTside_manual

@4pimar
Copy link

4pimar commented Dec 21, 2021

Thanks for the help! the book didn't really help me with the keybinds lol

@hellosagar
Copy link

Thanks \o/

@eric-burel
Copy link

eric-burel commented Jun 28, 2022

The manual seems to state that F1-F12 cannot be used for the shortcut, any way to bypass that? Not having volume up on Fn+F12 is terribly annoying, on a TKL I don't have much other keys to map shortcuts to

I mean seriously, I cannot use any shortcut that makes sense, apart maybe Pg up and down...

image

@tleb
Copy link

tleb commented Jul 4, 2022

@eric-burel I'd recommend those keybindings. I'm also on a TKL keyboard, and the Fn + the 6-key pad on the right makes it easy to control media using your right hand. One row for volume and one for media control. Haven't tried using F-keys, they feel too inaccessible for me to use.

@mjklinck
Copy link

ty for this

@edwardmoradian
Copy link

Thank you!

@remghoost
Copy link

I know this is from a hot minute ago, but thanks for the guide!

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