]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
sounds
authorJack Humbert <jack.humb@gmail.com>
Sat, 16 Jan 2016 04:10:30 +0000 (23:10 -0500)
committerJack Humbert <jack.humb@gmail.com>
Sat, 16 Jan 2016 04:10:30 +0000 (23:10 -0500)
keyboard/planck/keymaps/keymap_lock.c
quantum/keymap_unicode.c

index 5e5390b0361cc38826857d4e7b852857e0561353..7a99b57c9d1acfab0afac64321df6e1a9469de00 100644 (file)
@@ -67,13 +67,13 @@ uint16_t hextokeycode(int hex) {
 float walk_up[][2] = {
   {440.0*pow(2.0,(60)/12.0), 400},
   {0, 50},
-  {440.0*pow(2.0,(67)/12.0), 400},
+  {440.0*pow(2.0,(67)/12.0), 600},
 };
 
 float walk_dn[][2] = {
   {440.0*pow(2.0,(67)/12.0), 400},
   {0, 50},
-  {440.0*pow(2.0,(60)/12.0), 400},
+  {440.0*pow(2.0,(60)/12.0), 600},
 };
 
 const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) 
index a9357edec7bc4122dcc78afe505de12f351cbe16..a44965e6111baab39aed82142287c31e4ef9ee51 100644 (file)
@@ -30,6 +30,8 @@ uint16_t hextokeycode(int hex) {
 void action_function(keyrecord_t *record, uint8_t id, uint8_t opt)
 {
 
+    // For more info on how this works per OS, see here: https://en.wikipedia.org/wiki/Unicode_input#Hexadecimal_code_input
+
     if (record->event.pressed) {
         uint16_t unicode = (opt << 8) | id;
         register_code(KC_LALT);