qmk_firmware/keyboards/doro67/multi/config.h

36 lines
985 B
C
Raw Normal View History

[Keyboard] Doro67 Multi PCB port (#5539) * Initial portover of the doro68.json with corrected column pins. * Initial setup of LAYOUT_ansi and it's use in the default keymap. * Added F keys to default kemap on layer 1. * Added split space (and everything else) layout and a base keymap to be updated. * Renamed split_space to multi. * Changed product_id for doro. * Created a basic doro LAYOUT_iso and default keymap. * Copied over basic layout and keymap. * Added readme.md for doro67 multi. * Removed basic keyboad layout and keymap because it's a separate PCB. * Added backlight controls to the various keymaps. * Added explicit backlight pin define. * Increased number of backlight levels for flexibility. * Removed unnecessary line slashes and unified keymcaps. * Corrected ISO layout and switched position with multi. * Added keymap readme.md files. * Corrected ISO keymap. * Added Layouts to info.json for toolbox. * Re-added slashes as they were necessary here... * Corrected info.json/keymap discreptancies. * Updated copyright messages (and fixed small readme error). * Added missing line break spaces in readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Small alignment adjustment on the default keymap readme.md Co-Authored-By: ShadeDream <nick@shadedream.com>
2019-04-04 07:54:30 +02:00
#pragma once
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x4250 // BP for Backprop
#define PRODUCT_ID 0x4D4C // ML for Multi
[Keyboard] Doro67 Multi PCB port (#5539) * Initial portover of the doro68.json with corrected column pins. * Initial setup of LAYOUT_ansi and it's use in the default keymap. * Added F keys to default kemap on layer 1. * Added split space (and everything else) layout and a base keymap to be updated. * Renamed split_space to multi. * Changed product_id for doro. * Created a basic doro LAYOUT_iso and default keymap. * Copied over basic layout and keymap. * Added readme.md for doro67 multi. * Removed basic keyboad layout and keymap because it's a separate PCB. * Added backlight controls to the various keymaps. * Added explicit backlight pin define. * Increased number of backlight levels for flexibility. * Removed unnecessary line slashes and unified keymcaps. * Corrected ISO layout and switched position with multi. * Added keymap readme.md files. * Corrected ISO keymap. * Added Layouts to info.json for toolbox. * Re-added slashes as they were necessary here... * Corrected info.json/keymap discreptancies. * Updated copyright messages (and fixed small readme error). * Added missing line break spaces in readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Small alignment adjustment on the default keymap readme.md Co-Authored-By: ShadeDream <nick@shadedream.com>
2019-04-04 07:54:30 +02:00
#define DEVICE_VER 0x0001
#define MANUFACTURER Backprop Studio
#define PRODUCT Doro67 Multi PCB
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
/*
* Keyboard Matrix Assignments
*
* Change this to how you wired your keyboard
* COLS: AVR pins used for columns, left to right
* ROWS: AVR pins used for rows, top to bottom
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
*
*/
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
#define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7, F5, F6, F7 }
#define DIODE_DIRECTION COL2ROW
#define LED_CAPS_LOCK_PIN E6
#define LED_PIN_ON_STATE 0
[Keyboard] Doro67 Multi PCB port (#5539) * Initial portover of the doro68.json with corrected column pins. * Initial setup of LAYOUT_ansi and it's use in the default keymap. * Added F keys to default kemap on layer 1. * Added split space (and everything else) layout and a base keymap to be updated. * Renamed split_space to multi. * Changed product_id for doro. * Created a basic doro LAYOUT_iso and default keymap. * Copied over basic layout and keymap. * Added readme.md for doro67 multi. * Removed basic keyboad layout and keymap because it's a separate PCB. * Added backlight controls to the various keymaps. * Added explicit backlight pin define. * Increased number of backlight levels for flexibility. * Removed unnecessary line slashes and unified keymcaps. * Corrected ISO layout and switched position with multi. * Added keymap readme.md files. * Corrected ISO keymap. * Added Layouts to info.json for toolbox. * Re-added slashes as they were necessary here... * Corrected info.json/keymap discreptancies. * Updated copyright messages (and fixed small readme error). * Added missing line break spaces in readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Small alignment adjustment on the default keymap readme.md Co-Authored-By: ShadeDream <nick@shadedream.com>
2019-04-04 07:54:30 +02:00
#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 7