diff options
Diffstat (limited to 'keyboards/vision_division')
-rw-r--r-- | keyboards/vision_division/keymaps/default/keymap.c | 22 | ||||
-rw-r--r-- | keyboards/vision_division/readme.md | 38 |
2 files changed, 20 insertions, 40 deletions
diff --git a/keyboards/vision_division/keymaps/default/keymap.c b/keyboards/vision_division/keymaps/default/keymap.c index 15ce688973..c40bf1ef6a 100644 --- a/keyboards/vision_division/keymaps/default/keymap.c +++ b/keyboards/vision_division/keymaps/default/keymap.c @@ -559,32 +559,32 @@ void led_set_user(uint8_t usb_led) if ((usb_led & (1<<USB_LED_CAPS_LOCK)) && !(old_usb_led & (1<<USB_LED_CAPS_LOCK))) { // If CAPS LK LED is turning on... - PLAY_NOTE_ARRAY(tone_caps_on, false, LEGATO); + PLAY_SONG(tone_caps_on); } else if (!(usb_led & (1<<USB_LED_CAPS_LOCK)) && (old_usb_led & (1<<USB_LED_CAPS_LOCK))) { // If CAPS LK LED is turning off... - PLAY_NOTE_ARRAY(tone_caps_off, false, LEGATO); + PLAY_SONG(tone_caps_off); } else if ((usb_led & (1<<USB_LED_NUM_LOCK)) && !(old_usb_led & (1<<USB_LED_NUM_LOCK))) { // If NUM LK LED is turning on... - PLAY_NOTE_ARRAY(tone_numlk_on, false, LEGATO); + PLAY_SONG(tone_numlk_on); } else if (!(usb_led & (1<<USB_LED_NUM_LOCK)) && (old_usb_led & (1<<USB_LED_NUM_LOCK))) { // If NUM LED is turning off... - PLAY_NOTE_ARRAY(tone_numlk_off, false, LEGATO); + PLAY_SONG(tone_numlk_off); } else if ((usb_led & (1<<USB_LED_SCROLL_LOCK)) && !(old_usb_led & (1<<USB_LED_SCROLL_LOCK))) { // If SCROLL LK LED is turning on... - PLAY_NOTE_ARRAY(tone_scroll_on, false, LEGATO); + PLAY_SONG(tone_scroll_on); } else if (!(usb_led & (1<<USB_LED_SCROLL_LOCK)) && (old_usb_led & (1<<USB_LED_SCROLL_LOCK))) { // If SCROLL LED is turning off... - PLAY_NOTE_ARRAY(tone_scroll_off, false, LEGATO); + PLAY_SONG(tone_scroll_off); } } @@ -594,29 +594,29 @@ void led_set_user(uint8_t usb_led) void startup_user() { _delay_ms(10); // gets rid of tick - // PLAY_NOTE_ARRAY(tone_my_startup, false, STACCATO); + // PLAY_SONG(tone_my_startup); } void shutdown_user() { - // PLAY_NOTE_ARRAY(tone_my_goodbye, false, STACCATO); + // PLAY_SONG(tone_my_goodbye); _delay_ms(2000); stop_all_notes(); } void audio_on_user(void) { - PLAY_NOTE_ARRAY(tone_audio_on, false, STACCATO); + PLAY_SONG(tone_audio_on); } void music_on_user(void) { - PLAY_NOTE_ARRAY(tone_music_on, false, STACCATO); + PLAY_SONG(tone_music_on); } void music_scale_user(void) { - PLAY_NOTE_ARRAY(music_scale, false, STACCATO); + PLAY_SONG(music_scale); } #endif /* AUDIO_ENABLE */
\ No newline at end of file diff --git a/keyboards/vision_division/readme.md b/keyboards/vision_division/readme.md index de200d7c5b..880c62f58d 100644 --- a/keyboards/vision_division/readme.md +++ b/keyboards/vision_division/readme.md @@ -1,34 +1,14 @@ -vision_division keyboard firmware -====================== +Vision Division +=============== -## Keyboard Info +Full Size / Split Linear Keyboard PCB -[See this thread.](https://geekhack.org/index.php?topic=83692.msg2227856#msg2227856) +Keyboard Maintainer: QMK Community +Hardware Supported: Vision Division PCB +Hardware Availability: https://geekhack.org/index.php?topic=83692.msg2227856#msg2227856 -Vision/Division is a full size or split keyboard that can be customized due to its pcb. +Make example for this keyboard (after setting up your build environment): -## Quantum MK Firmware + make vision_division-default -For the full Quantum feature list, see [the parent readme.md](/doc/readme.md). - -## Building - -Download or clone the whole firmware and navigate to the keyboards/vision_division folder. Once your dev env is setup, you'll be able to type `make` to generate your .hex - you can then use the Teensy Loader to program your .hex file. - -Depending on which keymap you would like to use, you will have to compile slightly differently. - -### Default - -To build with the default keymap, simply run `make`. - -### Other Keymaps - -Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create a folder with the name of your keymap in the keymaps folder, and see keymap documentation (you can find in top readme.md) and existant keymap files. - -To build the firmware binary hex file with a keymap just do `make` with `keymap` option like: - -``` -$ make keymap=[default|jack|<name>] -``` - -Keymaps follow the format **__keymap.c__** and are stored in folders in the `keymaps` folder, eg `keymaps/my_keymap/`
\ No newline at end of file +See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. |