Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] Add Yugo-M Controller #10389

Merged
merged 36 commits into from
Oct 4, 2020
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
5714112
Created folder structure and blank files
Jun 26, 2020
1daab99
Update the yugo_m initial blank files
Jul 4, 2020
bd51409
Add yugo_m default keymap
Jul 4, 2020
c523739
Update yugo_m info.json
Jul 4, 2020
03bb7cb
Fix yugo_m keymap.c
Jul 4, 2020
ced0cef
keymap.c update
Jul 4, 2020
cc1b2d5
Changed subfolder name
Jul 30, 2020
79072f3
File names
Jul 30, 2020
cb9b885
Fixed lock LEDs problem
Jul 30, 2020
77d91f0
Returned old subfolder name; LEDs fix
Jul 31, 2020
37d9c24
Activated anti-ghosting feature in config.h
Aug 11, 2020
649df58
Update readme.md
tomic1785 Aug 15, 2020
9a30a6c
Changed LAYOUT to LAYOUT_all
Aug 15, 2020
3a13749
Updated keymap.c
Aug 15, 2020
ef033f4
corrected LAYOUT to LAYOUT_all in info.json
Aug 20, 2020
ad4e5a4
Rewritten readme.md according to the template
Sep 8, 2020
9e86610
Removed backslashes from keymap.c
Sep 8, 2020
129ef06
Fixed readme.md
Sep 8, 2020
4df5570
Fixed readme.md again
Sep 8, 2020
a95588b
Tidying up readme.md
Sep 10, 2020
891e4b6
Tidying up comments and readme.md
Sep 15, 2020
9679195
Removed a line from rules.mk
Sep 21, 2020
ada7a61
Update keyboards/yugo_m/model_m_101/model_m_101.h
tomic1785 Sep 22, 2020
0c39f38
Removed chconf, halconf, mcuconf
Sep 23, 2020
c0c7f33
Updated LED control
Sep 23, 2020
8568ccb
Update keyboards/yugo_m/model_m_101/rules.mk
tomic1785 Sep 23, 2020
2197a95
Update keyboards/yugo_m/model_m_101/config.h
tomic1785 Sep 23, 2020
0c6b9ac
Update keyboards/yugo_m/model_m_101/config.h
tomic1785 Sep 23, 2020
a5a4ffe
Update keyboards/yugo_m/model_m_101/config.h
tomic1785 Sep 23, 2020
9d6a420
Update keyboards/yugo_m/model_m_101/model_m_101.c
tomic1785 Sep 23, 2020
5b61c10
Update keyboards/yugo_m/readme.md
tomic1785 Sep 23, 2020
33d6056
Updated readme.md, there was an outdated info
Sep 23, 2020
07c9b50
Update keyboards/yugo_m/model_m_101/keymaps/default/keymap.c
tomic1785 Sep 24, 2020
a67d95a
Update keyboards/yugo_m/model_m_101/keymaps/default/keymap.c
tomic1785 Sep 24, 2020
922849b
Update keyboards/yugo_m/model_m_101/model_m_101.c
tomic1785 Sep 24, 2020
26acc59
Update keyboards/yugo_m/model_m_101/model_m_101.c
tomic1785 Oct 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
714 changes: 714 additions & 0 deletions keyboards/yugo_m/model_m_101/chconf.h

Large diffs are not rendered by default.

108 changes: 108 additions & 0 deletions keyboards/yugo_m/model_m_101/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
/*
Copyright 2020 Nidzo Tomic <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x0000
tomic1785 marked this conversation as resolved.
Show resolved Hide resolved
#define DEVICE_VER 0x0001
#define MANUFACTURER IBM
#define PRODUCT Model M
tomic1785 marked this conversation as resolved.
Show resolved Hide resolved
#define DESCRIPTION QMK-powered IBM Model M

/* Address for jumping to bootloader on STM32 chips. */
/* It is chip dependent, the correct number can be looked up here:
* http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf
*/
#define STM32_BOOTLOADER_ADDRESS 0x1FFFD800

tomic1785 marked this conversation as resolved.
Show resolved Hide resolved
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 16

/*
* 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 { B8, B7, B6, B5, B4, B3, A15, A14 }
#define MATRIX_COL_PINS { A9, A8, B15, B14, B13, B12, B11, B10, B2, B1, B0, A7, A6, A5, A4, A3 }
#define UNUSED_PINS { A0, A1, A2, A10, A13, B9, C13, C14, C15 }



/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL

/* define if matrix has ghost */
#define MATRIX_HAS_GHOST

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed (5 is default) */
#define DEBOUNCE 5

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
// #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
// #define LOCKING_RESYNC_ENABLE


/*
* Force NKRO
*
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
* makefile for this to work.)
*
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
* until the next keyboard reset.
*
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
* fully operational during normal computer usage.
*
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
* power-up.
*
*/
//#define FORCE_NKRO

/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/

/* disable debug print */
//#define NO_DEBUG

/* disable print */
//#define NO_PRINT

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
Loading