Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
QMK Bot 2021-11-29 08:30:33 +00:00
commit bee48ced71
29 changed files with 1087 additions and 33 deletions

View file

@ -1,6 +1,6 @@
# Ploopyco Mouse
![Ploopyco Mouse](https://www.ploopy.co/uploads/1/2/7/6/127652558/s905404500980887952_p10_i19_w1414.jpeg)
![Ploopyco Mouse](https://ploopy.co/wp-content/uploads/2021/06/g1.jpeg)
It's a DIY, QMK Powered Mouse!!!!
@ -17,7 +17,7 @@ To jump to the bootloader, hold down "Button 4" (the "forward" button on the lef
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
# Customzing your PloopyCo Mouse
# Customizing your PloopyCo Mouse
While the defaults are designed so that it can be plugged in and used right away, there are a number of things that you may want to change. Such as adding DPI control, or to use the ball to scroll while holding a button. To allow for this sort of control, there is a callback for both the scroll wheel and the mouse sensor.

View file

@ -1,14 +1,14 @@
# Wete
# Wete and Wete R2
![Wete Keyboard](https://i.imgur.com/dZ4FRar.jpg)
A southpaw full-sized keyboard.
Southpaw numpad 75% boards.
* Keyboard Maintainer: [Ramon Imbao](https://github.com/ramonimbao)
* Hardware Supported: STM32F072CBT6
* Hardware Supported: STM32F072 (R1) and ATmega32u4 (R2)
Make example for this keyboard (after setting up your build environment):
Make example for these keyboards (after setting up your build environment):
make ramonimbao/wete:default
make ramonimbao/wete/rev1:default
make ramonimbao/wete/rev2:default
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

View file

@ -1,23 +1 @@
# MCU name
MCU = STM32F072
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# comment out to disable the options.
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
NKRO_ENABLE = yes # USB Nkey Rollover
CUSTOM_MATRIX = no # Custom matrix file
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
DEFAULT_FOLDER = ramonimbao/wete/rev2

View file

@ -0,0 +1,14 @@
# Wete
![Wete Keyboard](https://i.imgur.com/dZ4FRar.jpg)
A southpaw full-sized keyboard.
* Keyboard Maintainer: [Ramon Imbao](https://github.com/ramonimbao)
* Hardware Supported: STM32F072CBT6
Make example for this keyboard (after setting up your build environment):
make ramonimbao/wete:default
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

View file

@ -0,0 +1,24 @@
# MCU name
MCU = STM32F072
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = yes # USB Nkey Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View file

@ -1,4 +1,4 @@
#include "wete.h"
#include "v1.h"
void keyboard_pre_init_user(void) {
// Initialize indicator LED pins

View file

@ -0,0 +1,163 @@
/*
Copyright 2021 Ramon Imbao
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 0xB16B
#define PRODUCT_ID 0x00B3
#define DEVICE_VER 0x3500
#define MANUFACTURER Ramon Imbao
#define PRODUCT Wete R2
/* key matrix size */
#define MATRIX_ROWS 13
#define MATRIX_COLS 10
/*
* 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 { B3, B2, B6, C6, C7, E6, F7, F6, F5, F4, F1, F0, NO_PIN }
#define MATRIX_COL_PINS { B1, B0, B7, B5, B4, D7, D6, D4, D5, D3 }
#define UNUSED_PINS
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Encoder pins */
#define ENCODERS_PAD_A { D2 }
#define ENCODERS_PAD_B { D1 }
/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/
#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
//#define LED_NUM_LOCK_PIN B0
//#define LED_CAPS_LOCK_PIN B1
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
//#define BACKLIGHT_PIN B7
//#define BACKLIGHT_LEVELS 3
//#define BACKLIGHT_BREATHING
#define RGBLIGHT_LAYERS
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
#define RGB_DI_PIN D0
#ifdef RGB_DI_PIN
# define RGBLED_NUM 18
# define RGBLIGHT_HUE_STEP 32
# define RGBLIGHT_SAT_STEP 32
# define RGBLIGHT_VAL_STEP 32
//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
/*== all animations enable ==*/
// # define RGBLIGHT_ANIMATIONS
/*== or choose animations ==*/
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
//# define RGBLIGHT_EFFECT_SNAKE
//# define RGBLIGHT_EFFECT_KNIGHT
# define RGBLIGHT_EFFECT_CHRISTMAS
# define RGBLIGHT_EFFECT_STATIC_GRADIENT
# define RGBLIGHT_EFFECT_RGB_TEST
# define RGBLIGHT_EFFECT_ALTERNATING
/*== customize breathing effect ==*/
/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
/*==== use exp() and sin() ====*/
//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
#endif
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
/* define if matrix has ghost (lacks anti-ghosting diodes) */
//#define MATRIX_HAS_GHOST
/* 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
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
* This is useful for the Windows task manager shortcut (ctrl+shift+esc).
*/
//#define GRAVE_ESC_CTRL_OVERRIDE
/*
* 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
/* disable these deprecated features by default */
#define NO_ACTION_MACRO
#define NO_ACTION_FUNCTION
/* Bootmagic Lite key configuration */
//#define BOOTMAGIC_LITE_ROW 0
//#define BOOTMAGIC_LITE_COLUMN 0
// QoL improvements
#define PERMISSIVE_HOLD
#define IGNORE_MOD_TAP_INTERRUPT

View file

@ -0,0 +1,350 @@
{
"keyboard_name": "Wete R2",
"url": "",
"maintainer": "Ramon Imbao",
"layouts": {
"LAYOUT_ansi": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},
{"x":2, "y":0},
{"x":3, "y":0},
{"x":4.25, "y":0},
{"x":5.75, "y":0},
{"x":6.75, "y":0},
{"x":7.75, "y":0},
{"x":8.75, "y":0},
{"x":10.25, "y":0},
{"x":11.25, "y":0},
{"x":12.25, "y":0},
{"x":13.25, "y":0},
{"x":14.75, "y":0},
{"x":15.75, "y":0},
{"x":16.75, "y":0},
{"x":17.75, "y":0},
{"x":19.25, "y":0},
{"x":0, "y":1.25},
{"x":1, "y":1.25},
{"x":2, "y":1.25},
{"x":3, "y":1.25},
{"x":4.25, "y":1.25},
{"x":5.25, "y":1.25},
{"x":6.25, "y":1.25},
{"x":7.25, "y":1.25},
{"x":8.25, "y":1.25},
{"x":9.25, "y":1.25},
{"x":10.25, "y":1.25},
{"x":11.25, "y":1.25},
{"x":12.25, "y":1.25},
{"x":13.25, "y":1.25},
{"x":14.25, "y":1.25},
{"x":15.25, "y":1.25},
{"x":16.25, "y":1.25},
{"x":17.25, "y":1.25, "w":2},
{"x":19.25, "y":1.25},
{"x":0, "y":2.25},
{"x":1, "y":2.25},
{"x":2, "y":2.25},
{"x":3, "y":2.25, "h":2},
{"x":4.25, "y":2.25, "w":1.5},
{"x":5.75, "y":2.25},
{"x":6.75, "y":2.25},
{"x":7.75, "y":2.25},
{"x":8.75, "y":2.25},
{"x":9.75, "y":2.25},
{"x":10.75, "y":2.25},
{"x":11.75, "y":2.25},
{"x":12.75, "y":2.25},
{"x":13.75, "y":2.25},
{"x":14.75, "y":2.25},
{"x":15.75, "y":2.25},
{"x":16.75, "y":2.25},
{"x":17.75, "y":2.25, "w":1.5},
{"x":19.25, "y":2.25},
{"x":0, "y":3.25},
{"x":1, "y":3.25},
{"x":2, "y":3.25},
{"x":4.25, "y":3.25, "w":1.75},
{"x":6, "y":3.25},
{"x":7, "y":3.25},
{"x":8, "y":3.25},
{"x":9, "y":3.25},
{"x":10, "y":3.25},
{"x":11, "y":3.25},
{"x":12, "y":3.25},
{"x":13, "y":3.25},
{"x":14, "y":3.25},
{"x":15, "y":3.25},
{"x":16, "y":3.25},
{"x":17, "y":3.25, "w":2.25},
{"x":19.25, "y":3.25},
{"x":0, "y":4.25},
{"x":1, "y":4.25},
{"x":2, "y":4.25},
{"x":3, "y":4.25, "h":2},
{"x":4.25, "y":4.25, "w":2.25},
{"x":6.5, "y":4.25},
{"x":7.5, "y":4.25},
{"x":8.5, "y":4.25},
{"x":9.5, "y":4.25},
{"x":10.5, "y":4.25},
{"x":11.5, "y":4.25},
{"x":12.5, "y":4.25},
{"x":13.5, "y":4.25},
{"x":14.5, "y":4.25},
{"x":15.5, "y":4.25},
{"x":16.5, "y":4.25, "w":1.75},
{"x":18.25, "y":4.25},
{"x":19.25, "y":4.25},
{"x":0, "y":5.25, "w":2},
{"x":2, "y":5.25},
{"x":4.25, "y":5.25, "w":1.25},
{"x":5.5, "y":5.25, "w":1.25},
{"x":6.75, "y":5.25, "w":1.25},
{"x":8, "y":5.25, "w":6.25},
{"x":14.25, "y":5.25, "w":1.25},
{"x":15.5, "y":5.25, "w":1.25},
{"x":17.25, "y":5.25},
{"x":18.25, "y":5.25},
{"x":19.25, "y":5.25}
]
},
"LAYOUT_iso": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},
{"x":2, "y":0},
{"x":3, "y":0},
{"x":4.25, "y":0},
{"x":5.75, "y":0},
{"x":6.75, "y":0},
{"x":7.75, "y":0},
{"x":8.75, "y":0},
{"x":10.25, "y":0},
{"x":11.25, "y":0},
{"x":12.25, "y":0},
{"x":13.25, "y":0},
{"x":14.75, "y":0},
{"x":15.75, "y":0},
{"x":16.75, "y":0},
{"x":17.75, "y":0},
{"x":19.25, "y":0},
{"x":0, "y":1.25},
{"x":1, "y":1.25},
{"x":2, "y":1.25},
{"x":3, "y":1.25},
{"x":4.25, "y":1.25},
{"x":5.25, "y":1.25},
{"x":6.25, "y":1.25},
{"x":7.25, "y":1.25},
{"x":8.25, "y":1.25},
{"x":9.25, "y":1.25},
{"x":10.25, "y":1.25},
{"x":11.25, "y":1.25},
{"x":12.25, "y":1.25},
{"x":13.25, "y":1.25},
{"x":14.25, "y":1.25},
{"x":15.25, "y":1.25},
{"x":16.25, "y":1.25},
{"x":17.25, "y":1.25, "w":2},
{"x":19.25, "y":1.25},
{"x":0, "y":2.25},
{"x":1, "y":2.25},
{"x":2, "y":2.25},
{"x":3, "y":2.25, "h":2},
{"x":4.25, "y":2.25, "w":1.5},
{"x":5.75, "y":2.25},
{"x":6.75, "y":2.25},
{"x":7.75, "y":2.25},
{"x":8.75, "y":2.25},
{"x":9.75, "y":2.25},
{"x":10.75, "y":2.25},
{"x":11.75, "y":2.25},
{"x":12.75, "y":2.25},
{"x":13.75, "y":2.25},
{"x":14.75, "y":2.25},
{"x":15.75, "y":2.25},
{"x":16.75, "y":2.25},
{"x":19.25, "y":2.25},
{"x":0, "y":3.25},
{"x":1, "y":3.25},
{"x":2, "y":3.25},
{"x":4.25, "y":3.25, "w":1.75},
{"x":6, "y":3.25},
{"x":7, "y":3.25},
{"x":8, "y":3.25},
{"x":9, "y":3.25},
{"x":10, "y":3.25},
{"x":11, "y":3.25},
{"x":12, "y":3.25},
{"x":13, "y":3.25},
{"x":14, "y":3.25},
{"x":15, "y":3.25},
{"x":16, "y":3.25},
{"x":17, "y":3.25},
{"x":18, "y":2.25, "w":1.25, "h":2},
{"x":19.25, "y":3.25},
{"x":0, "y":4.25},
{"x":1, "y":4.25},
{"x":2, "y":4.25},
{"x":3, "y":4.25, "h":2},
{"x":4.25, "y":4.25, "w":1.25},
{"x":5.5, "y":4.25},
{"x":6.5, "y":4.25},
{"x":7.5, "y":4.25},
{"x":8.5, "y":4.25},
{"x":9.5, "y":4.25},
{"x":10.5, "y":4.25},
{"x":11.5, "y":4.25},
{"x":12.5, "y":4.25},
{"x":13.5, "y":4.25},
{"x":14.5, "y":4.25},
{"x":15.5, "y":4.25},
{"x":16.5, "y":4.25, "w":1.75},
{"x":18.25, "y":4.25},
{"x":19.25, "y":4.25},
{"x":0, "y":5.25, "w":2},
{"x":2, "y":5.25},
{"x":4.25, "y":5.25, "w":1.25},
{"x":5.5, "y":5.25, "w":1.25},
{"x":6.75, "y":5.25, "w":1.25},
{"x":8, "y":5.25, "w":6.25},
{"x":14.25, "y":5.25, "w":1.25},
{"x":15.5, "y":5.25, "w":1.25},
{"x":17.25, "y":5.25},
{"x":18.25, "y":5.25},
{"x":19.25, "y":5.25}
]
},
"LAYOUT_all": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},
{"x":2, "y":0},
{"x":3, "y":0},
{"x":4.25, "y":0},
{"x":5.75, "y":0},
{"x":6.75, "y":0},
{"x":7.75, "y":0},
{"x":8.75, "y":0},
{"x":10.25, "y":0},
{"x":11.25, "y":0},
{"x":12.25, "y":0},
{"x":13.25, "y":0},
{"x":14.75, "y":0},
{"x":15.75, "y":0},
{"x":16.75, "y":0},
{"x":17.75, "y":0},
{"x":19.5, "y":0},
{"x":0, "y":1.25},
{"x":1, "y":1.25},
{"x":2, "y":1.25},
{"x":3, "y":1.25},
{"x":4.25, "y":1.25},
{"x":5.25, "y":1.25},
{"x":6.25, "y":1.25},
{"x":7.25, "y":1.25},
{"x":8.25, "y":1.25},
{"x":9.25, "y":1.25},
{"x":10.25, "y":1.25},
{"x":11.25, "y":1.25},
{"x":12.25, "y":1.25},
{"x":13.25, "y":1.25},
{"x":14.25, "y":1.25},
{"x":15.25, "y":1.25},
{"x":16.25, "y":1.25},
{"x":17.25, "y":1.25},
{"x":18.25, "y":1.25},
{"x":19.25, "y":1.25},
{"x":0, "y":2.25},
{"x":1, "y":2.25},
{"x":2, "y":2.25},
{"x":3, "y":2.25},
{"x":4.25, "y":2.25, "w":1.5},
{"x":5.75, "y":2.25},
{"x":6.75, "y":2.25},
{"x":7.75, "y":2.25},
{"x":8.75, "y":2.25},
{"x":9.75, "y":2.25},
{"x":10.75, "y":2.25},
{"x":11.75, "y":2.25},
{"x":12.75, "y":2.25},
{"x":13.75, "y":2.25},
{"x":14.75, "y":2.25},
{"x":15.75, "y":2.25},
{"x":16.75, "y":2.25},
{"x":17.75, "y":2.25, "w":1.5},
{"x":19.25, "y":2.25},
{"x":0, "y":3.25},
{"x":1, "y":3.25},
{"x":2, "y":3.25},
{"x":3, "y":3.25},
{"x":4.25, "y":3.25, "w":1.75},
{"x":6, "y":3.25},
{"x":7, "y":3.25},
{"x":8, "y":3.25},
{"x":9, "y":3.25},
{"x":10, "y":3.25},
{"x":11, "y":3.25},
{"x":12, "y":3.25},
{"x":13, "y":3.25},
{"x":14, "y":3.25},
{"x":15, "y":3.25},
{"x":16, "y":3.25},
{"x":17, "y":3.25, "w":2.25},
{"x":19.25, "y":3.25},
{"x":0, "y":4.25},
{"x":1, "y":4.25},
{"x":2, "y":4.25},
{"x":3, "y":4.25},
{"x":4.25, "y":4.25, "w":1.25},
{"x":5.5, "y":4.25},
{"x":6.5, "y":4.25},
{"x":7.5, "y":4.25},
{"x":8.5, "y":4.25},
{"x":9.5, "y":4.25},
{"x":10.5, "y":4.25},
{"x":11.5, "y":4.25},
{"x":12.5, "y":4.25},
{"x":13.5, "y":4.25},
{"x":14.5, "y":4.25},
{"x":15.5, "y":4.25},
{"x":16.5, "y":4.25, "w":1.75},
{"x":18.25, "y":4.25},
{"x":19.25, "y":4.25},
{"x":0, "y":5.25},
{"x":1, "y":5.25},
{"x":2, "y":5.25},
{"x":3, "y":5.25},
{"x":4.25, "y":5.25, "w":1.25},
{"x":5.5, "y":5.25, "w":1.25},
{"x":6.75, "y":5.25, "w":1.25},
{"x":8, "y":5.25, "w":6.25},
{"x":14.25, "y":5.25},
{"x":15.25, "y":5.25},
{"x":16.25, "y":5.25},
{"x":17.25, "y":5.25},
{"x":18.25, "y":5.25},
{"x":19.25, "y":5.25},
{"x":19, "y":0, "w":0.5},
{"x":20.5, "y":0, "w":0.5}
]
}
}
}

Some files were not shown because too many files have changed in this diff Show more