diff options
100 files changed, 3641 insertions, 322 deletions
diff --git a/keyboards/cannonkeys/obliterated75/chconf.h b/keyboards/cannonkeys/obliterated75/chconf.h new file mode 100644 index 000000000..03f63da36 --- /dev/null +++ b/keyboards/cannonkeys/obliterated75/chconf.h | |||
| @@ -0,0 +1,714 @@ | |||
| 1 | /* | ||
| 2 | ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio | ||
| 3 | |||
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 5 | you may not use this file except in compliance with the License. | ||
| 6 | You may obtain a copy of the License at | ||
| 7 | |||
| 8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
| 9 | |||
| 10 | Unless required by applicable law or agreed to in writing, software | ||
| 11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 13 | See the License for the specific language governing permissions and | ||
| 14 | limitations under the License. | ||
| 15 | */ | ||
| 16 | |||
| 17 | /** | ||
| 18 | * @file rt/templates/chconf.h | ||
| 19 | * @brief Configuration file template. | ||
| 20 | * @details A copy of this file must be placed in each project directory, it | ||
| 21 | * contains the application specific kernel settings. | ||
| 22 | * | ||
| 23 | * @addtogroup config | ||
| 24 | * @details Kernel related settings and hooks. | ||
| 25 | * @{ | ||
| 26 | */ | ||
| 27 | |||
| 28 | #ifndef CHCONF_H | ||
| 29 | #define CHCONF_H | ||
| 30 | |||
| 31 | #define _CHIBIOS_RT_CONF_ | ||
| 32 | #define _CHIBIOS_RT_CONF_VER_6_0_ | ||
| 33 | |||
| 34 | /*===========================================================================*/ | ||
| 35 | /** | ||
| 36 | * @name System timers settings | ||
| 37 | * @{ | ||
| 38 | */ | ||
| 39 | /*===========================================================================*/ | ||
| 40 | |||
| 41 | /** | ||
| 42 | * @brief System time counter resolution. | ||
| 43 | * @note Allowed values are 16 or 32 bits. | ||
| 44 | */ | ||
| 45 | #if !defined(CH_CFG_ST_RESOLUTION) | ||
| 46 | #define CH_CFG_ST_RESOLUTION 32 | ||
| 47 | #endif | ||
| 48 | |||
| 49 | /** | ||
| 50 | * @brief System tick frequency. | ||
| 51 | * @details Frequency of the system timer that drives the system ticks. This | ||
| 52 | * setting also defines the system tick time unit. | ||
| 53 | */ | ||
| 54 | #if !defined(CH_CFG_ST_FREQUENCY) | ||
| 55 | #define CH_CFG_ST_FREQUENCY 10000 | ||
| 56 | #endif | ||
| 57 | |||
| 58 | /** | ||
| 59 | * @brief Time intervals data size. | ||
| 60 | * @note Allowed values are 16, 32 or 64 bits. | ||
| 61 | */ | ||
| 62 | #if !defined(CH_CFG_INTERVALS_SIZE) | ||
| 63 | #define CH_CFG_INTERVALS_SIZE 32 | ||
| 64 | #endif | ||
| 65 | |||
| 66 | /** | ||
| 67 | * @brief Time types data size. | ||
| 68 | * @note Allowed values are 16 or 32 bits. | ||
| 69 | */ | ||
| 70 | #if !defined(CH_CFG_TIME_TYPES_SIZE) | ||
| 71 | #define CH_CFG_TIME_TYPES_SIZE 32 | ||
| 72 | #endif | ||
| 73 | |||
| 74 | /** | ||
| 75 | * @brief Time delta constant for the tick-less mode. | ||
| 76 | * @note If this value is zero then the system uses the classic | ||
| 77 | * periodic tick. This value represents the minimum number | ||
| 78 | * of ticks that is safe to specify in a timeout directive. | ||
| 79 | * The value one is not valid, timeouts are rounded up to | ||
| 80 | * this value. | ||
| 81 | */ | ||
| 82 | #if !defined(CH_CFG_ST_TIMEDELTA) | ||
| 83 | #define CH_CFG_ST_TIMEDELTA 2 | ||
| 84 | #endif | ||
| 85 | |||
| 86 | /** @} */ | ||
| 87 | |||
| 88 | /*===========================================================================*/ | ||
| 89 | /** | ||
| 90 | * @name Kernel parameters and options | ||
| 91 | * @{ | ||
| 92 | */ | ||
| 93 | /*===========================================================================*/ | ||
| 94 | |||
| 95 | /** | ||
| 96 | * @brief Round robin interval. | ||
| 97 | * @details This constant is the number of system ticks allowed for the | ||
| 98 | * threads before preemption occurs. Setting this value to zero | ||
| 99 | * disables the preemption for threads with equal priority and the | ||
| 100 | * round robin becomes cooperative. Note that higher priority | ||
| 101 | * threads can still preempt, the kernel is always preemptive. | ||
| 102 | * @note Disabling the round robin preemption makes the kernel more compact | ||
| 103 | * and generally faster. | ||
| 104 | * @note The round robin preemption is not supported in tickless mode and | ||
| 105 | * must be set to zero in that case. | ||
| 106 | */ | ||
| 107 | #if !defined(CH_CFG_TIME_QUANTUM) | ||
| 108 | #define CH_CFG_TIME_QUANTUM 0 | ||
| 109 | #endif | ||
| 110 | |||
| 111 | /** | ||
| 112 | * @brief Managed RAM size. | ||
| 113 | * @details Size of the RAM area to be managed by the OS. If set to zero | ||
| 114 | * then the whole available RAM is used. The core memory is made | ||
| 115 | * available to the heap allocator and/or can be used directly through | ||
| 116 | * the simplified core memory allocator. | ||
| 117 | * | ||
| 118 | * @note In order to let the OS manage the whole RAM the linker script must | ||
| 119 | * provide the @p __heap_base__ and @p __heap_end__ symbols. | ||
| 120 | * @note Requires @p CH_CFG_USE_MEMCORE. | ||
| 121 | */ | ||
| 122 | #if !defined(CH_CFG_MEMCORE_SIZE) | ||
| 123 | #define CH_CFG_MEMCORE_SIZE 0 | ||
| 124 | #endif | ||
| 125 | |||
| 126 | /** | ||
| 127 | * @brief Idle thread automatic spawn suppression. | ||
| 128 | * @details When this option is activated the function @p chSysInit() | ||
| 129 | * does not spawn the idle thread. The application @p main() | ||
| 130 | * function becomes the idle thread and must implement an | ||
| 131 | * infinite loop. | ||
| 132 | */ | ||
| 133 | #if !defined(CH_CFG_NO_IDLE_THREAD) | ||
| 134 | #define CH_CFG_NO_IDLE_THREAD FALSE | ||
| 135 | #endif | ||
| 136 | |||
| 137 | /** @} */ | ||
| 138 | |||
| 139 | /*===========================================================================*/ | ||
| 140 | /** | ||
| 141 | * @name Performance options | ||
| 142 | * @{ | ||
| 143 | */ | ||
| 144 | /*===========================================================================*/ | ||
| 145 | |||
| 146 | /** | ||
| 147 | * @brief OS optimization. | ||
| 148 | * @details If enabled then time efficient rather than space efficient code | ||
| 149 | * is used when two possible implementations exist. | ||
| 150 | * | ||
| 151 | * @note This is not related to the compiler optimization options. | ||
| 152 | * @note The default is @p TRUE. | ||
| 153 | */ | ||
| 154 | #if !defined(CH_CFG_OPTIMIZE_SPEED) | ||
| 155 | #define CH_CFG_OPTIMIZE_SPEED FALSE | ||
| 156 | #endif | ||
| 157 | |||
| 158 | /** @} */ | ||
| 159 | |||
| 160 | /*===========================================================================*/ | ||
| 161 | /** | ||
| 162 | * @name Subsystem options | ||
| 163 | * @{ | ||
| 164 | */ | ||
| 165 | /*===========================================================================*/ | ||
| 166 | |||
| 167 | /** | ||
| 168 | * @brief Time Measurement APIs. | ||
| 169 | * @details If enabled then the time measurement APIs are included in | ||
| 170 | * the kernel. | ||
| 171 | * | ||
| 172 | * @note The default is @p TRUE. | ||
| 173 | */ | ||
| 174 | #if !defined(CH_CFG_USE_TM) | ||
| 175 | #define CH_CFG_USE_TM FALSE | ||
| 176 | #endif | ||
| 177 | |||
| 178 | /** | ||
| 179 | * @brief Threads registry APIs. | ||
| 180 | * @details If enabled then the registry APIs are included in the kernel. | ||
| 181 | * | ||
| 182 | * @note The default is @p TRUE. | ||
| 183 | */ | ||
| 184 | #if !defined(CH_CFG_USE_REGISTRY) | ||
| 185 | #define CH_CFG_USE_REGISTRY TRUE | ||
| 186 | #endif | ||
| 187 | |||
| 188 | /** | ||
| 189 | * @brief Threads synchronization APIs. | ||
| 190 | * @details If enabled then the @p chThdWait() function is included in | ||
| 191 | * the kernel. | ||
| 192 | * | ||
| 193 | * @note The default is @p TRUE. | ||
| 194 | */ | ||
| 195 | #if !defined(CH_CFG_USE_WAITEXIT) | ||
| 196 | #define CH_CFG_USE_WAITEXIT TRUE | ||
| 197 | #endif | ||
| 198 | |||
| 199 | /** | ||
| 200 | * @brief Semaphores APIs. | ||
| 201 | * @details If enabled then the Semaphores APIs are included in the kernel. | ||
| 202 | * | ||
| 203 | * @note The default is @p TRUE. | ||
| 204 | */ | ||
| 205 | #if !defined(CH_CFG_USE_SEMAPHORES) | ||
| 206 | #define CH_CFG_USE_SEMAPHORES TRUE | ||
| 207 | #endif | ||
| 208 | |||
| 209 | /** | ||
| 210 | * @brief Semaphores queuing mode. | ||
| 211 | * @details If enabled then the threads are enqueued on semaphores by | ||
| 212 | * priority rather than in FIFO order. | ||
| 213 | * | ||
| 214 | * @note The default is @p FALSE. Enable this if you have special | ||
| 215 | * requirements. | ||
| 216 | * @note Requires @p CH_CFG_USE_SEMAPHORES. | ||
| 217 | */ | ||
| 218 | #if !defined(CH_CFG_USE_SEMAPHORES_PRIORITY) | ||
| 219 | #define CH_CFG_USE_SEMAPHORES_PRIORITY FALSE | ||
| 220 | #endif | ||
| 221 | |||
| 222 | /** | ||
| 223 | * @brief Mutexes APIs. | ||
| 224 | * @details If enabled then the mutexes APIs are included in the kernel. | ||
| 225 | * | ||
| 226 | * @note The default is @p TRUE. | ||
| 227 | */ | ||
| 228 | #if !defined(CH_CFG_USE_MUTEXES) | ||
| 229 | #define CH_CFG_USE_MUTEXES TRUE | ||
| 230 | #endif | ||
| 231 | |||
| 232 | /** | ||
| 233 | * @brief Enables recursive behavior on mutexes. | ||
| 234 | * @note Recursive mutexes are heavier and have an increased | ||
| 235 | * memory footprint. | ||
| 236 | * | ||
| 237 | * @note The default is @p FALSE. | ||
| 238 | * @note Requires @p CH_CFG_USE_MUTEXES. | ||
| 239 | */ | ||
| 240 | #if !defined(CH_CFG_USE_MUTEXES_RECURSIVE) | ||
| 241 | #define CH_CFG_USE_MUTEXES_RECURSIVE FALSE | ||
| 242 | #endif | ||
| 243 | |||
| 244 | /** | ||
| 245 | * @brief Conditional Variables APIs. | ||
| 246 | * @details If enabled then the conditional variables APIs are included | ||
| 247 | * in the kernel. | ||
| 248 | * | ||
| 249 | * @note The default is @p TRUE. | ||
| 250 | * @note Requires @p CH_CFG_USE_MUTEXES. | ||
| 251 | */ | ||
| 252 | #if !defined(CH_CFG_USE_CONDVARS) | ||
| 253 | #define CH_CFG_USE_CONDVARS TRUE | ||
| 254 | #endif | ||
| 255 | |||
| 256 | /** | ||
| 257 | * @brief Conditional Variables APIs with timeout. | ||
| 258 | * @details If enabled then the conditional variables APIs with timeout | ||
| 259 | * specification are included in the kernel. | ||
| 260 | * | ||
| 261 | * @note The default is @p TRUE. | ||
| 262 | * @note Requires @p CH_CFG_USE_CONDVARS. | ||
| 263 | */ | ||
| 264 | #if !defined(CH_CFG_USE_CONDVARS_TIMEOUT) | ||
| 265 | #define CH_CFG_USE_CONDVARS_TIMEOUT FALSE | ||
| 266 | #endif | ||
| 267 | |||
| 268 | /** | ||
| 269 | * @brief Events Flags APIs. | ||
| 270 | * @details If enabled then the event flags APIs are included in the kernel. | ||
| 271 | * | ||
| 272 | * @note The default is @p TRUE. | ||
| 273 | */ | ||
| 274 | #if !defined(CH_CFG_USE_EVENTS) | ||
| 275 | #define CH_CFG_USE_EVENTS TRUE | ||
| 276 | #endif | ||
| 277 | |||
| 278 | /** | ||
| 279 | * @brief Events Flags APIs with timeout. | ||
| 280 | * @details If enabled then the events APIs with timeout specification | ||
| 281 | * are included in the kernel. | ||
| 282 | * | ||
| 283 | * @note The default is @p TRUE. | ||
| 284 | * @note Requires @p CH_CFG_USE_EVENTS. | ||
| 285 | */ | ||
| 286 | #if !defined(CH_CFG_USE_EVENTS_TIMEOUT) | ||
| 287 | #define CH_CFG_USE_EVENTS_TIMEOUT TRUE | ||
| 288 | #endif | ||
| 289 | |||
| 290 | /** | ||
| 291 | * @brief Synchronous Messages APIs. | ||
| 292 | * @details If enabled then the synchronous messages APIs are included | ||
| 293 | * in the kernel. | ||
| 294 | * | ||
| 295 | * @note The default is @p TRUE. | ||
| 296 | */ | ||
| 297 | #if !defined(CH_CFG_USE_MESSAGES) | ||
| 298 | #define CH_CFG_USE_MESSAGES TRUE | ||
| 299 | #endif | ||
| 300 | |||
| 301 | /** | ||
| 302 | * @brief Synchronous Messages queuing mode. | ||
| 303 | * @details If enabled then messages are served by priority rather than in | ||
| 304 | * FIFO order. | ||
| 305 | * | ||
| 306 | * @note The default is @p FALSE. Enable this if you have special | ||
| 307 | * requirements. | ||
| 308 | * @note Requires @p CH_CFG_USE_MESSAGES. | ||
| 309 | */ | ||
| 310 | #if !defined(CH_CFG_USE_MESSAGES_PRIORITY) | ||
| 311 | #define CH_CFG_USE_MESSAGES_PRIORITY FALSE | ||
| 312 | #endif | ||
| 313 | |||
| 314 | /** | ||
| 315 | * @brief Mailboxes APIs. | ||
| 316 | * @details If enabled then the asynchronous messages (mailboxes) APIs are | ||
| 317 | * included in the kernel. | ||
| 318 | * | ||
| 319 | * @note The default is @p TRUE. | ||
| 320 | * @note Requires @p CH_CFG_USE_SEMAPHORES. | ||
| 321 | */ | ||
| 322 | #if !defined(CH_CFG_USE_MAILBOXES) | ||
| 323 | #define CH_CFG_USE_MAILBOXES TRUE | ||
| 324 | #endif | ||
| 325 | |||
| 326 | /** | ||
| 327 | * @brief Core Memory Manager APIs. | ||
| 328 | * @details If enabled then the core memory manager APIs are included | ||
| 329 | * in the kernel. | ||
| 330 | * | ||
| 331 | * @note The default is @p TRUE. | ||
| 332 | */ | ||
| 333 | #if !defined(CH_CFG_USE_MEMCORE) | ||
| 334 | #define CH_CFG_USE_MEMCORE TRUE | ||
| 335 | #endif | ||
| 336 | |||
| 337 | /** | ||
| 338 | * @brief Heap Allocator APIs. | ||
| 339 | * @details If enabled then the memory heap allocator APIs are included | ||
| 340 | * in the kernel. | ||
| 341 | * | ||
| 342 | * @note The default is @p TRUE. | ||
| 343 | * @note Requires @p CH_CFG_USE_MEMCORE and either @p CH_CFG_USE_MUTEXES or | ||
| 344 | * @p CH_CFG_USE_SEMAPHORES. | ||
| 345 | * @note Mutexes are recommended. | ||
| 346 | */ | ||
| 347 | #if !defined(CH_CFG_USE_HEAP) | ||
| 348 | #define CH_CFG_USE_HEAP FALSE | ||
| 349 | #endif | ||
| 350 | |||
| 351 | /** | ||
| 352 | * @brief Memory Pools Allocator APIs. | ||
| 353 | * @details If enabled then the memory pools allocator APIs are included | ||
| 354 | * in the kernel. | ||
| 355 | * | ||
| 356 | * @note The default is @p TRUE. | ||
| 357 | */ | ||
| 358 | #if !defined(CH_CFG_USE_MEMPOOLS) | ||
| 359 | #define CH_CFG_USE_MEMPOOLS FALSE | ||
| 360 | #endif | ||
| 361 | |||
| 362 | /** | ||
| 363 | * @brief Objects FIFOs APIs. | ||
| 364 | * @details If enabled then the objects FIFOs APIs are included | ||
| 365 | * in the kernel. | ||
| 366 | * | ||
| 367 | * @note The default is @p TRUE. | ||
| 368 | */ | ||
| 369 | #if !defined(CH_CFG_USE_OBJ_FIFOS) | ||
| 370 | #define CH_CFG_USE_OBJ_FIFOS FALSE | ||
| 371 | #endif | ||
| 372 | |||
| 373 | /** | ||
| 374 | * @brief Pipes APIs. | ||
| 375 | * @details If enabled then the pipes APIs are included | ||
| 376 | * in the kernel. | ||
| 377 | * | ||
| 378 | * @note The default is @p TRUE. | ||
| 379 | */ | ||
| 380 | #if !defined(CH_CFG_USE_PIPES) | ||
| 381 | #define CH_CFG_USE_PIPES FALSE | ||
| 382 | #endif | ||
| 383 | |||
| 384 | /** | ||
| 385 | * @brief Dynamic Threads APIs. | ||
| 386 | * @details If enabled then the dynamic threads creation APIs are included | ||
| 387 | * in the kernel. | ||
| 388 | * | ||
| 389 | * @note The default is @p TRUE. | ||
| 390 | * @note Requires @p CH_CFG_USE_WAITEXIT. | ||
| 391 | * @note Requires @p CH_CFG_USE_HEAP and/or @p CH_CFG_USE_MEMPOOLS. | ||
| 392 | */ | ||
| 393 | #if !defined(CH_CFG_USE_DYNAMIC) | ||
| 394 | #define CH_CFG_USE_DYNAMIC FALSE | ||
| 395 | #endif | ||
| 396 | |||
| 397 | /** @} */ | ||
| 398 | |||
| 399 | /*===========================================================================*/ | ||
| 400 | /** | ||
| 401 | * @name Objects factory options | ||
| 402 | * @{ | ||
| 403 | */ | ||
| 404 | /*===========================================================================*/ | ||
| 405 | |||
| 406 | /** | ||
| 407 | * @brief Objects Factory APIs. | ||
| 408 | * @details If enabled then the objects factory APIs are included in the | ||
| 409 | * kernel. | ||
| 410 | * | ||
| 411 | * @note The default is @p FALSE. | ||
| 412 | */ | ||
| 413 | #if !defined(CH_CFG_USE_FACTORY) | ||
| 414 | #define CH_CFG_USE_FACTORY FALSE | ||
| 415 | #endif | ||
| 416 | |||
| 417 | /** | ||
| 418 | * @brief Maximum length for object names. | ||
| 419 | * @details If the specified length is zero then the name is stored by | ||
| 420 | * pointer but this could have unintended side effects. | ||
| 421 | */ | ||
| 422 | #if !defined(CH_CFG_FACTORY_MAX_NAMES_LENGTH) | ||
| 423 | #define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8 | ||
| 424 | #endif | ||
| 425 | |||
| 426 | /** | ||
| 427 | * @brief Enables the registry of generic objects. | ||
| 428 | */ | ||
| 429 | #if !defined(CH_CFG_FACTORY_OBJECTS_REGISTRY) | ||
| 430 | #define CH_CFG_FACTORY_OBJECTS_REGISTRY FALSE | ||
| 431 | #endif | ||
| 432 | |||
| 433 | /** | ||
| 434 | * @brief Enables factory for generic buffers. | ||
| 435 | */ | ||
| 436 | #if !defined(CH_CFG_FACTORY_GENERIC_BUFFERS) | ||
| 437 | #define CH_CFG_FACTORY_GENERIC_BUFFERS FALSE | ||
| 438 | #endif | ||
| 439 | |||
| 440 | /** | ||
| 441 | * @brief Enables factory for semaphores. | ||
| 442 | */ | ||
| 443 | #if !defined(CH_CFG_FACTORY_SEMAPHORES) | ||
| 444 | #define CH_CFG_FACTORY_SEMAPHORES FALSE | ||
| 445 | #endif | ||
| 446 | |||
| 447 | /** | ||
| 448 | * @brief Enables factory for mailboxes. | ||
| 449 | */ | ||
| 450 | #if !defined(CH_CFG_FACTORY_MAILBOXES) | ||
| 451 | #define CH_CFG_FACTORY_MAILBOXES FALSE | ||
| 452 | #endif | ||
| 453 | |||
| 454 | /** | ||
| 455 | * @brief Enables factory for objects FIFOs. | ||
| 456 | */ | ||
| 457 | #if !defined(CH_CFG_FACTORY_OBJ_FIFOS) | ||
| 458 | #define CH_CFG_FACTORY_OBJ_FIFOS FALSE | ||
| 459 | #endif | ||
| 460 | |||
| 461 | /** | ||
| 462 | * @brief Enables factory for Pipes. | ||
| 463 | */ | ||
| 464 | #if !defined(CH_CFG_FACTORY_PIPES) || defined(__DOXYGEN__) | ||
| 465 | #define CH_CFG_FACTORY_PIPES FALSE | ||
| 466 | #endif | ||
| 467 | |||
| 468 | /** @} */ | ||
| 469 | |||
| 470 | /*===========================================================================*/ | ||
| 471 | /** | ||
| 472 | * @name Debug options | ||
| 473 | * @{ | ||
| 474 | */ | ||
| 475 | /*===========================================================================*/ | ||
| 476 | |||
| 477 | /** | ||
| 478 | * @brief Debug option, kernel statistics. | ||
| 479 | * | ||
| 480 | * @note The default is @p FALSE. | ||
| 481 | */ | ||
| 482 | #if !defined(CH_DBG_STATISTICS) | ||
| 483 | #define CH_DBG_STATISTICS FALSE | ||
| 484 | #endif | ||
| 485 | |||
| 486 | /** | ||
| 487 | * @brief Debug option, system state check. | ||
| 488 | * @details If enabled the correct call protocol for system APIs is checked | ||
| 489 | * at runtime. | ||
| 490 | * | ||
| 491 | * @note The default is @p FALSE. | ||
| 492 | */ | ||
| 493 | #if !defined(CH_DBG_SYSTEM_STATE_CHECK) | ||
| 494 | #define CH_DBG_SYSTEM_STATE_CHECK FALSE | ||
| 495 | #endif | ||
| 496 | |||
| 497 | /** | ||
| 498 | * @brief Debug option, parameters checks. | ||
| 499 | * @details If enabled then the checks on the API functions input | ||
| 500 | * parameters are activated. | ||
| 501 | * | ||
| 502 | * @note The default is @p FALSE. | ||
| 503 | */ | ||
| 504 | #if !defined(CH_DBG_ENABLE_CHECKS) | ||
| 505 | #define CH_DBG_ENABLE_CHECKS FALSE | ||
| 506 | #endif | ||
| 507 | |||
| 508 | /** | ||
| 509 | * @brief Debug option, consistency checks. | ||
| 510 | * @details If enabled then all the assertions in the kernel code are | ||
| 511 | * activated. This includes consistency checks inside the kernel, | ||
| 512 | * runtime anomalies and port-defined checks. | ||
| 513 | * | ||
| 514 | * @note The default is @p FALSE. | ||
| 515 | */ | ||
| 516 | #if !defined(CH_DBG_ENABLE_ASSERTS) | ||
| 517 | #define CH_DBG_ENABLE_ASSERTS FALSE | ||
| 518 | #endif | ||
| 519 | |||
| 520 | /** | ||
| 521 | * @brief Debug option, trace buffer. | ||
| 522 | * @details If enabled then the trace buffer is activated. | ||
| 523 | * | ||
| 524 | * @note The default is @p CH_DBG_TRACE_MASK_DISABLED. | ||
| 525 | */ | ||
| 526 | #if !defined(CH_DBG_TRACE_MASK) | ||
| 527 | #define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED | ||
| 528 | #endif | ||
| 529 | |||
| 530 | /** | ||
| 531 | * @brief Trace buffer entries. | ||
| 532 | * @note The trace buffer is only allocated if @p CH_DBG_TRACE_MASK is | ||
| 533 | * different from @p CH_DBG_TRACE_MASK_DISABLED. | ||
| 534 | */ | ||
| 535 | #if !defined(CH_DBG_TRACE_BUFFER_SIZE) | ||
| 536 | #define CH_DBG_TRACE_BUFFER_SIZE 128 | ||
| 537 | #endif | ||
| 538 | |||
| 539 | /** | ||
| 540 | * @brief Debug option, stack checks. | ||
| 541 | * @details If enabled then a runtime stack check is performed. | ||
| 542 | * | ||
| 543 | * @note The default is @p FALSE. | ||
| 544 | * @note The stack check is performed in a architecture/port dependent way. | ||
| 545 | * It may not be implemented or some ports. | ||
| 546 | * @note The default failure mode is to halt the system with the global | ||
| 547 | * @p panic_msg variable set to @p NULL. | ||
| 548 | */ | ||
| 549 | #if !defined(CH_DBG_ENABLE_STACK_CHECK) | ||
| 550 | #define CH_DBG_ENABLE_STACK_CHECK FALSE | ||
| 551 | #endif | ||
| 552 | |||
| 553 | /** | ||
| 554 | * @brief Debug option, stacks initialization. | ||
| 555 | * @details If enabled then the threads working area is filled with a byte | ||
| 556 | * value when a thread is created. This can be useful for the | ||
| 557 | * runtime measurement of the used stack. | ||
| 558 | * | ||
| 559 | * @note The default is @p FALSE. | ||
| 560 | */ | ||
| 561 | #if !defined(CH_DBG_FILL_THREADS) | ||
| 562 | #define CH_DBG_FILL_THREADS FALSE | ||
| 563 | #endif | ||
| 564 | |||
| 565 | /** | ||
| 566 | * @brief Debug option, threads profiling. | ||
| 567 | * @details If enabled then a field is added to the @p thread_t structure that | ||
| 568 | * counts the system ticks occurred while executing the thread. | ||
| 569 | * | ||
| 570 | * @note The default is @p FALSE. | ||
| 571 | * @note This debug option is not currently compatible with the | ||
| 572 | * tickless mode. | ||
| 573 | */ | ||
| 574 | #if !defined(CH_DBG_THREADS_PROFILING) | ||
| 575 | #define CH_DBG_THREADS_PROFILING FALSE | ||
| 576 | #endif | ||
| 577 | |||
| 578 | /** @} */ | ||
| 579 | |||
| 580 | /*===========================================================================*/ | ||
| 581 | /** | ||
| 582 | * @name Kernel hooks | ||
| 583 | * @{ | ||
| 584 | */ | ||
| 585 | /*===========================================================================*/ | ||
| 586 | |||
| 587 | /** | ||
| 588 | * @brief System structure extension. | ||
| 589 | * @details User fields added to the end of the @p ch_system_t structure. | ||
| 590 | */ | ||
| 591 | #define CH_CFG_SYSTEM_EXTRA_FIELDS \ | ||
| 592 | /* Add threads custom fields here.*/ | ||
| 593 | |||
| 594 | /** | ||
| 595 | * @brief System initialization hook. | ||
| 596 | * @details User initialization code added to the @p chSysInit() function | ||
| 597 | * just before interrupts are enabled globally. | ||
| 598 | */ | ||
| 599 | #define CH_CFG_SYSTEM_INIT_HOOK() { \ | ||
| 600 | /* Add threads initialization code here.*/ \ | ||
| 601 | } | ||
| 602 | |||
| 603 | /** | ||
| 604 | * @brief Threads descriptor structure extension. | ||
| 605 | * @details User fields added to the end of the @p thread_t structure. | ||
| 606 | */ | ||
| 607 | #define CH_CFG_THREAD_EXTRA_FIELDS \ | ||
| 608 | /* Add threads custom fields here.*/ | ||
| 609 | |||
| 610 | /** | ||
| 611 | * @brief Threads initialization hook. | ||
| 612 | * @details User initialization code added to the @p _thread_init() function. | ||
| 613 | * | ||
| 614 | * @note It is invoked from within @p _thread_init() and implicitly from all | ||
| 615 | * the threads creation APIs. | ||
| 616 | */ | ||
| 617 | #define CH_CFG_THREAD_INIT_HOOK(tp) { \ | ||
| 618 | /* Add threads initialization code here.*/ \ | ||
| 619 | } | ||
| 620 | |||
| 621 | /** | ||
| 622 | * @brief Threads finalization hook. | ||
| 623 | * @details User finalization code added to the @p chThdExit() API. | ||
| 624 | */ | ||
| 625 | #define CH_CFG_THREAD_EXIT_HOOK(tp) { \ | ||
| 626 | /* Add threads finalization code here.*/ \ | ||
| 627 | } | ||
| 628 | |||
| 629 | /** | ||
| 630 | * @brief Context switch hook. | ||
| 631 | * @details This hook is invoked just before switching between threads. | ||
| 632 | */ | ||
| 633 | #define CH_CFG_CONTEXT_SWITCH_HOOK(ntp, otp) { \ | ||
| 634 | /* Context switch code here.*/ \ | ||
| 635 | } | ||
| 636 | |||
| 637 | /** | ||
| 638 | * @brief ISR enter hook. | ||
| 639 | */ | ||
| 640 | #define CH_CFG_IRQ_PROLOGUE_HOOK() { \ | ||
| 641 | /* IRQ prologue code here.*/ \ | ||
| 642 | } | ||
| 643 | |||
| 644 | /** | ||
| 645 | * @brief ISR exit hook. | ||
| 646 | */ | ||
| 647 | #define CH_CFG_IRQ_EPILOGUE_HOOK() { \ | ||
| 648 | /* IRQ epilogue code here.*/ \ | ||
| 649 | } | ||
| 650 | |||
| 651 | /** | ||
| 652 | * @brief Idle thread enter hook. | ||
| 653 | * @note This hook is invoked within a critical zone, no OS functions | ||
| 654 | * should be invoked from here. | ||
| 655 | * @note This macro can be used to activate a power saving mode. | ||
| 656 | */ | ||
| 657 | #define CH_CFG_IDLE_ENTER_HOOK() { \ | ||
| 658 | /* Idle-enter code here.*/ \ | ||
| 659 | } | ||
| 660 | |||
| 661 | /** | ||
| 662 | * @brief Idle thread leave hook. | ||
| 663 | * @note This hook is invoked within a critical zone, no OS functions | ||
| 664 | * should be invoked from here. | ||
| 665 | * @note This macro can be used to deactivate a power saving mode. | ||
| 666 | */ | ||
| 667 | #define CH_CFG_IDLE_LEAVE_HOOK() { \ | ||
| 668 | /* Idle-leave code here.*/ \ | ||
| 669 | } | ||
| 670 | |||
| 671 | /** | ||
| 672 | * @brief Idle Loop hook. | ||
| 673 | * @details This hook is continuously invoked by the idle thread loop. | ||
| 674 | */ | ||
| 675 | #define CH_CFG_IDLE_LOOP_HOOK() { \ | ||
| 676 | /* Idle loop code here.*/ \ | ||
| 677 | } | ||
| 678 | |||
| 679 | /** | ||
| 680 | * @brief System tick event hook. | ||
| 681 | * @details This hook is invoked in the system tick handler immediately | ||
| 682 | * after processing the virtual timers queue. | ||
| 683 | */ | ||
| 684 | #define CH_CFG_SYSTEM_TICK_HOOK() { \ | ||
| 685 | /* System tick event code here.*/ \ | ||
| 686 | } | ||
| 687 | |||
| 688 | /** | ||
| 689 | * @brief System halt hook. | ||
| 690 | * @details This hook is invoked in case to a system halting error before | ||
| 691 | * the system is halted. | ||
| 692 | */ | ||
| 693 | #define CH_CFG_SYSTEM_HALT_HOOK(reason) { \ | ||
| 694 | /* System halt code here.*/ \ | ||
| 695 | } | ||
| 696 | |||
| 697 | /** | ||
| 698 | * @brief Trace hook. | ||
| 699 | * @details This hook is invoked each time a new record is written in the | ||
| 700 | * trace buffer. | ||
| 701 | */ | ||
| 702 | #define CH_CFG_TRACE_HOOK(tep) { \ | ||
| 703 | /* Trace code here.*/ \ | ||
| 704 | } | ||
| 705 | |||
| 706 | /** @} */ | ||
| 707 | |||
| 708 | /*===========================================================================*/ | ||
| 709 | /* Port-specific settings (override port settings defaulted in chcore.h). */ | ||
| 710 | /*===========================================================================*/ | ||
| 711 | |||
| 712 | #endif /* CHCONF_H */ | ||
| 713 | |||
| 714 | /** @} */ | ||
diff --git a/keyboards/cannonkeys/obliterated75/config.h b/keyboards/cannonkeys/obliterated75/config.h new file mode 100644 index 000000000..bff3030b5 --- /dev/null +++ b/keyboards/cannonkeys/obliterated75/config.h | |||
| @@ -0,0 +1,78 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2015 Jun Wako <wakojun@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* USB Device descriptor parameter */ | ||
| 21 | #define VENDOR_ID 0xCA04 | ||
| 22 | #define PRODUCT_ID 0x0B75 | ||
| 23 | #define DEVICE_VER 0x0001 | ||
| 24 | #define MANUFACTURER CannonKeys | ||
| 25 | #define PRODUCT Obliterated75 | ||
| 26 | #define DESCRIPTION Obliterated75 Keyboard | ||
| 27 | |||
| 28 | /* key matrix size */ | ||
| 29 | #define MATRIX_ROWS 6 | ||
| 30 | #define MATRIX_COLS 16 | ||
| 31 | |||
| 32 | #define MATRIX_COL_PINS { A5, B10, A3, A2, B0, A9, C13, B9, B8, B7, B6, B5, B4, B3, A15, A14 } | ||
| 33 | #define MATRIX_ROW_PINS { A13, B12, B11, B14, A8, A1 } | ||
| 34 | #define DIODE_DIRECTION COL2ROW | ||
| 35 | |||
| 36 | #define BACKLIGHT_PIN A6 | ||
| 37 | #define BACKLIGHT_PWM_DRIVER PWMD3 | ||
| 38 | #define BACKLIGHT_PWM_CHANNEL 1 | ||
| 39 | #define BACKLIGHT_PAL_MODE 1 | ||
| 40 | #define BACKLIGHT_LEVELS 6 | ||
| 41 | #define BACKLIGHT_BREATHING | ||
| 42 | #define BREATHING_PERIOD 6 | ||
| 43 | |||
| 44 | /* define if matrix has ghost */ | ||
| 45 | //#define MATRIX_HAS_GHOST | ||
| 46 | |||
| 47 | /* Set 0 if debouncing isn't needed */ | ||
| 48 | #define DEBOUNCE 5 | ||
| 49 | |||
| 50 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 51 | #define LOCKING_SUPPORT_ENABLE | ||
| 52 | /* Locking resynchronize hack */ | ||
| 53 | #define LOCKING_RESYNC_ENABLE | ||
| 54 | |||
| 55 | #define RGBLIGHT_ANIMATIONS | ||
| 56 | #define RGB_DI_PIN B15 | ||
| 57 | #define RGBLED_NUM 20 | ||
| 58 | #define WS2812_SPI SPID2 | ||
| 59 | #define WS2812_SPI_MOSI_PAL_MODE 0 | ||
| 60 | |||
| 61 | |||
| 62 | /* | ||
| 63 | * Feature disable options | ||
| 64 | * These options are also useful to firmware size reduction. | ||
| 65 | */ | ||
| 66 | |||
| 67 | /* disable debug print */ | ||
| 68 | //#define NO_DEBUG | ||
| 69 | |||
| 70 | /* disable print */ | ||
| 71 | //#define NO_PRINT | ||
| 72 | |||
| 73 | /* disable action features */ | ||
| 74 | //#define NO_ACTION_LAYER | ||
| 75 | //#define NO_ACTION_TAPPING | ||
| 76 | //#define NO_ACTION_ONESHOT | ||
| 77 | //#define NO_ACTION_MACRO | ||
| 78 | //#define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/cannonkeys/obliterated75/halconf.h b/keyboards/cannonkeys/obliterated75/halconf.h new file mode 100644 index 000000000..921803762 --- /dev/null +++ b/keyboards/cannonkeys/obliterated75/halconf.h | |||
| @@ -0,0 +1,525 @@ | |||
| 1 | /* | ||
| 2 | ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio | ||
| 3 | |||
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 5 | you may not use this file except in compliance with the License. | ||
| 6 | You may obtain a copy of the License at | ||
| 7 | |||
| 8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
| 9 | |||
| 10 | Unless required by applicable law or agreed to in writing, software | ||
| 11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 13 | See the License for the specific language governing permissions and | ||
| 14 | limitations under the License. | ||
| 15 | */ | ||
| 16 | |||
| 17 | /** | ||
| 18 | * @file templates/halconf.h | ||
| 19 | * @brief HAL configuration header. | ||
| 20 | * @details HAL configuration file, this file allows to enable or disable the | ||
| 21 | * various device drivers from your application. You may also use | ||
| 22 | * this file in order to override the device drivers default settings. | ||
| 23 | * | ||
| 24 | * @addtogroup HAL_CONF | ||
| 25 | * @{ | ||
| 26 | */ | ||
| 27 | |||
| 28 | #ifndef HALCONF_H | ||
| 29 | #define HALCONF_H | ||
| 30 | |||
| 31 | #define _CHIBIOS_HAL_CONF_ | ||
| 32 | #define _CHIBIOS_HAL_CONF_VER_7_0_ | ||
| 33 | |||
| 34 | #include "mcuconf.h" | ||
| 35 | |||
| 36 | /** | ||
| 37 | * @brief Enables the PAL subsystem. | ||
| 38 | */ | ||
| 39 | #if !defined(HAL_USE_PAL) || defined(__DOXYGEN__) | ||
| 40 | #define HAL_USE_PAL TRUE | ||
| 41 | #endif | ||
| 42 | |||
| 43 | /** | ||
| 44 | * @brief Enables the ADC subsystem. | ||
| 45 | */ | ||
| 46 | #if !defined(HAL_USE_ADC) || defined(__DOXYGEN__) | ||
| 47 | #define HAL_USE_ADC FALSE | ||
| 48 | #endif | ||
| 49 | |||
| 50 | /** | ||
| 51 | * @brief Enables the CAN subsystem. | ||
| 52 | */ | ||
| 53 | #if !defined(HAL_USE_CAN) || defined(__DOXYGEN__) | ||
| 54 | #define HAL_USE_CAN FALSE | ||
| 55 | #endif | ||
| 56 | |||
| 57 | /** | ||
| 58 | * @brief Enables the cryptographic subsystem. | ||
| 59 | */ | ||
| 60 | #if !defined(HAL_USE_CRY) || defined(__DOXYGEN__) | ||
| 61 | #define HAL_USE_CRY FALSE | ||
| 62 | #endif | ||
| 63 | |||
| 64 | /** | ||
| 65 | * @brief Enables the DAC subsystem. | ||
| 66 | */ | ||
| 67 | #if !defined(HAL_USE_DAC) || defined(__DOXYGEN__) | ||
| 68 | #define HAL_USE_DAC FALSE | ||
| 69 | #endif | ||
| 70 | |||
| 71 | /** | ||
| 72 | * @brief Enables the GPT subsystem. | ||
| 73 | */ | ||
| 74 | #if !defined(HAL_USE_GPT) || defined(__DOXYGEN__) | ||
| 75 | #define HAL_USE_GPT FALSE | ||
| 76 | #endif | ||
| 77 | |||
| 78 | /** | ||
| 79 | * @brief Enables the I2C subsystem. | ||
| 80 | */ | ||
| 81 | #if !defined(HAL_USE_I2C) || defined(__DOXYGEN__) | ||
| 82 | #define HAL_USE_I2C FALSE | ||
| 83 | #endif | ||
| 84 | |||
| 85 | /** | ||
| 86 | * @brief Enables the I2S subsystem. | ||
| 87 | */ | ||
| 88 | #if !defined(HAL_USE_I2S) || defined(__DOXYGEN__) | ||
| 89 | #define HAL_USE_I2S FALSE | ||
| 90 | #endif | ||
| 91 | |||
| 92 | /** | ||
| 93 | * @brief Enables the ICU subsystem. | ||
| 94 | */ | ||
| 95 | #if !defined(HAL_USE_ICU) || defined(__DOXYGEN__) | ||
| 96 | #define HAL_USE_ICU FALSE | ||
| 97 | #endif | ||
| 98 | |||
| 99 | /** | ||
| 100 | * @brief Enables the MAC subsystem. | ||
| 101 | */ | ||
| 102 | #if !defined(HAL_USE_MAC) || defined(__DOXYGEN__) | ||
| 103 | #define HAL_USE_MAC FALSE | ||
| 104 | #endif | ||
| 105 | |||
| 106 | /** | ||
| 107 | * @brief Enables the MMC_SPI subsystem. | ||
| 108 | */ | ||
| 109 | #if !defined(HAL_USE_MMC_SPI) || defined(__DOXYGEN__) | ||
| 110 | #define HAL_USE_MMC_SPI FALSE | ||
| 111 | #endif | ||
| 112 | |||
| 113 | /** | ||
| 114 | * @brief Enables the PWM subsystem. | ||
| 115 | */ | ||
| 116 | #if !defined(HAL_USE_PWM) || defined(__DOXYGEN__) | ||
| 117 | #define HAL_USE_PWM TRUE | ||
| 118 | #endif | ||
| 119 | |||
| 120 | /** | ||
| 121 | * @brief Enables the RTC subsystem. | ||
| 122 | */ | ||
| 123 | #if !defined(HAL_USE_RTC) || defined(__DOXYGEN__) | ||
| 124 | #define HAL_USE_RTC FALSE | ||
| 125 | #endif | ||
| 126 | |||
| 127 | /** | ||
| 128 | * @brief Enables the SDC subsystem. | ||
| 129 | */ | ||
| 130 | #if !defined(HAL_USE_SDC) || defined(__DOXYGEN__) | ||
| 131 | #define HAL_USE_SDC FALSE | ||
| 132 | #endif | ||
| 133 | |||
| 134 | /** | ||
| 135 | * @brief Enables the SERIAL subsystem. | ||
| 136 | */ | ||
| 137 | #if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__) | ||
| 138 | #define HAL_USE_SERIAL FALSE | ||
| 139 | #endif | ||
| 140 | |||
| 141 | /** | ||
| 142 | * @brief Enables the SERIAL over USB subsystem. | ||
| 143 | */ | ||
| 144 | #if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__) | ||
| 145 | #define HAL_USE_SERIAL_USB FALSE | ||
| 146 | #endif | ||
| 147 | |||
| 148 | /** | ||
| 149 | * @brief Enables the SIO subsystem. | ||
| 150 | */ | ||
| 151 | #if !defined(HAL_USE_SIO) || defined(__DOXYGEN__) | ||
| 152 | #define HAL_USE_SIO FALSE | ||
| 153 | #endif | ||
| 154 | |||
| 155 | /** | ||
| 156 | * @brief Enables the SPI subsystem. | ||
| 157 | */ | ||
| 158 | #if !defined(HAL_USE_SPI) || defined(__DOXYGEN__) | ||
| 159 | #define HAL_USE_SPI TRUE | ||
| 160 | #endif | ||
| 161 | |||
| 162 | /** | ||
| 163 | * @brief Enables the TRNG subsystem. | ||
| 164 | */ | ||
| 165 | #if !defined(HAL_USE_TRNG) || defined(__DOXYGEN__) | ||
| 166 | #define HAL_USE_TRNG FALSE | ||
| 167 | #endif | ||
| 168 | |||
| 169 | /** | ||
| 170 | * @brief Enables the UART subsystem. | ||
| 171 | */ | ||
| 172 | #if !defined(HAL_USE_UART) || defined(__DOXYGEN__) | ||
| 173 | #define HAL_USE_UART FALSE | ||
| 174 | #endif | ||
| 175 | |||
| 176 | /** | ||
| 177 | * @brief Enables the USB subsystem. | ||
| 178 | */ | ||
| 179 | #if !defined(HAL_USE_USB) || defined(__DOXYGEN__) | ||
| 180 | #define HAL_USE_USB TRUE | ||
| 181 | #endif | ||
| 182 | |||
| 183 | /** | ||
| 184 | * @brief Enables the WDG subsystem. | ||
| 185 | */ | ||
| 186 | #if !defined(HAL_USE_WDG) || defined(__DOXYGEN__) | ||
| 187 | #define HAL_USE_WDG FALSE | ||
| 188 | #endif | ||
| 189 | |||
| 190 | /** | ||
| 191 | * @brief Enables the WSPI subsystem. | ||
| 192 | */ | ||
| 193 | #if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__) | ||
| 194 | #define HAL_USE_WSPI FALSE | ||
| 195 | #endif | ||
| 196 | |||
| 197 | /*===========================================================================*/ | ||
| 198 | /* PAL driver related settings. */ | ||
| 199 | /*===========================================================================*/ | ||
| 200 | |||
| 201 | /** | ||
| 202 | * @brief Enables synchronous APIs. | ||
| 203 | * @note Disabling this option saves both code and data space. | ||
| 204 | */ | ||
| 205 | #if !defined(PAL_USE_CALLBACKS) || defined(__DOXYGEN__) | ||
| 206 | #define PAL_USE_CALLBACKS FALSE | ||
| 207 | #endif | ||
| 208 | |||
| 209 | /** | ||
| 210 | * @brief Enables synchronous APIs. | ||
| 211 | * @note Disabling this option saves both code and data space. | ||
| 212 | */ | ||
| 213 | #if !defined(PAL_USE_WAIT) || defined(__DOXYGEN__) | ||
| 214 | #define PAL_USE_WAIT FALSE | ||
| 215 | #endif | ||
| 216 | |||
| 217 | /*===========================================================================*/ | ||
| 218 | /* ADC driver related settings. */ | ||
| 219 | /*===========================================================================*/ | ||
| 220 | |||
| 221 | /** | ||
| 222 | * @brief Enables synchronous APIs. | ||
| 223 | * @note Disabling this option saves both code and data space. | ||
| 224 | */ | ||
| 225 | #if !defined(ADC_USE_WAIT) || defined(__DOXYGEN__) | ||
| 226 | #define ADC_USE_WAIT TRUE | ||
| 227 | #endif | ||
| 228 | |||
| 229 | /** | ||
| 230 | * @brief Enables the @p adcAcquireBus() and @p adcReleaseBus() APIs. | ||
| 231 | * @note Disabling this option saves both code and data space. | ||
| 232 | */ | ||
| 233 | #if !defined(ADC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) | ||
| 234 | #define ADC_USE_MUTUAL_EXCLUSION TRUE | ||
| 235 | #endif | ||
| 236 | |||
| 237 | /*===========================================================================*/ | ||
| 238 | /* CAN driver related settings. */ | ||
| 239 | /*===========================================================================*/ | ||
| 240 | |||
| 241 | /** | ||
| 242 | * @brief Sleep mode related APIs inclusion switch. | ||
| 243 | */ | ||
| 244 | #if !defined(CAN_USE_SLEEP_MODE) || defined(__DOXYGEN__) | ||
| 245 | #define CAN_USE_SLEEP_MODE TRUE | ||
| 246 | #endif | ||
| 247 | |||
| 248 | /** | ||
| 249 | * @brief Enforces the driver to use direct callbacks rather than OSAL events. | ||
| 250 | */ | ||
| 251 | #if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__) | ||
| 252 | #define CAN_ENFORCE_USE_CALLBACKS FALSE | ||
| 253 | #endif | ||
| 254 | |||
| 255 | /*===========================================================================*/ | ||
| 256 | /* CRY driver related settings. */ | ||
| 257 | /*===========================================================================*/ | ||
| 258 | |||
| 259 | /** | ||
| 260 | * @brief Enables the SW fall-back of the cryptographic driver. | ||
| 261 | * @details When enabled, this option, activates a fall-back software | ||
| 262 | * implementation for algorithms not supported by the underlying | ||
| 263 | * hardware. | ||
| 264 | * @note Fall-back implementations may not be present for all algorithms. | ||
| 265 | */ | ||
| 266 | #if !defined(HAL_CRY_USE_FALLBACK) || defined(__DOXYGEN__) | ||
| 267 | #define HAL_CRY_USE_FALLBACK FALSE | ||
| 268 | #endif | ||
| 269 | |||
| 270 | /** | ||
| 271 | * @brief Makes the driver forcibly use the fall-back implementations. | ||
| 272 | */ | ||
| 273 | #if !defined(HAL_CRY_ENFORCE_FALLBACK) || defined(__DOXYGEN__) | ||
| 274 | #define HAL_CRY_ENFORCE_FALLBACK FALSE | ||
| 275 | #endif | ||
| 276 | |||
| 277 | /*===========================================================================*/ | ||
| 278 | /* DAC driver related settings. */ | ||
| 279 | /*===========================================================================*/ | ||
| 280 | |||
| 281 | /** | ||
| 282 | * @brief Enables synchronous APIs. | ||
| 283 | * @note Disabling this option saves both code and data space. | ||
| 284 | */ | ||
| 285 | #if !defined(DAC_USE_WAIT) || defined(__DOXYGEN__) | ||
| 286 | #define DAC_USE_WAIT TRUE | ||
| 287 | #endif | ||
| 288 | |||
| 289 | /** | ||
| 290 | * @brief Enables the @p dacAcquireBus() and @p dacReleaseBus() APIs. | ||
| 291 | * @note Disabling this option saves both code and data space. | ||
| 292 | */ | ||
| 293 | #if !defined(DAC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) | ||
| 294 | #define DAC_USE_MUTUAL_EXCLUSION TRUE | ||
| 295 | #endif | ||
| 296 | |||
| 297 | /*===========================================================================*/ | ||
| 298 | /* I2C driver related settings. */ | ||
| 299 | /*===========================================================================*/ | ||
| 300 | |||
| 301 | /** | ||
| 302 | * @brief Enables the mutual exclusion APIs on the I2C bus. | ||
| 303 | */ | ||
| 304 | #if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) | ||
| 305 | #define I2C_USE_MUTUAL_EXCLUSION TRUE | ||
| 306 | #endif | ||
| 307 | |||
| 308 | /*===========================================================================*/ | ||
| 309 | /* MAC driver related settings. */ | ||
| 310 | /*===========================================================================*/ | ||
| 311 | |||
| 312 | /** | ||
| 313 | * @brief Enables the zero-copy API. | ||
| 314 | */ | ||
| 315 | #if !defined(MAC_USE_ZERO_COPY) || defined(__DOXYGEN__) | ||
| 316 | #define MAC_USE_ZERO_COPY FALSE | ||
| 317 | #endif | ||
| 318 | |||
| 319 | /** | ||
| 320 | * @brief Enables an event sources for incoming packets. | ||
| 321 | */ | ||
| 322 | #if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__) | ||
| 323 | #define MAC_USE_EVENTS TRUE | ||
| 324 | #endif | ||
| 325 | |||
| 326 | /*===========================================================================*/ | ||
| 327 | /* MMC_SPI driver related settings. */ | ||
| 328 | /*===========================================================================*/ | ||
| 329 | |||
| 330 | /** | ||
| 331 | * @brief Delays insertions. | ||
| 332 | * @details If enabled this options inserts delays into the MMC waiting | ||
| 333 | * routines releasing some extra CPU time for the threads with | ||
| 334 | * lower priority, this may slow down the driver a bit however. | ||
| 335 | * This option is recommended also if the SPI driver does not | ||
| 336 | * use a DMA channel and heavily loads the CPU. | ||
| 337 | */ | ||
| 338 | #if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__) | ||
| 339 | #define MMC_NICE_WAITING TRUE | ||
| 340 | #endif | ||
| 341 | |||
| 342 | /*===========================================================================*/ | ||
| 343 | /* SDC driver related settings. */ | ||
| 344 | /*===========================================================================*/ | ||
| 345 | |||
| 346 | /** | ||
| 347 | * @brief Number of initialization attempts before rejecting the card. | ||
| 348 | * @note Attempts are performed at 10mS intervals. | ||
| 349 | */ | ||
| 350 | #if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__) | ||
| 351 | #define SDC_INIT_RETRY 100 | ||
| 352 | #endif | ||
| 353 | |||
| 354 | /** | ||
| 355 | * @brief Include support for MMC cards. | ||
| 356 | * @note MMC support is not yet implemented so this option must be kept | ||
| 357 | * at @p FALSE. | ||
| 358 | */ | ||
| 359 | #if !defined(SDC_MMC_SUPPORT) || defined(__DOXYGEN__) | ||
| 360 | #define SDC_MMC_SUPPORT FALSE | ||
| 361 | #endif | ||
| 362 | |||
| 363 | /** | ||
| 364 | * @brief Delays insertions. | ||
| 365 | * @details If enabled this options inserts delays into the MMC waiting | ||
| 366 | * routines releasing some extra CPU time for the threads with | ||
| 367 | * lower priority, this may slow down the driver a bit however. | ||
| 368 | */ | ||
| 369 | #if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__) | ||
| 370 | #define SDC_NICE_WAITING TRUE | ||
| 371 | #endif | ||
| 372 | |||
| 373 | /** | ||
| 374 | * @brief OCR initialization constant for V20 cards. | ||
| 375 | */ | ||
| 376 | #if !defined(SDC_INIT_OCR_V20) || defined(__DOXYGEN__) | ||
| 377 | #define SDC_INIT_OCR_V20 0x50FF8000U | ||
| 378 | #endif | ||
| 379 | |||
| 380 | /** | ||
| 381 | * @brief OCR initialization constant for non-V20 cards. | ||
| 382 | */ | ||
| 383 | #if !defined(SDC_INIT_OCR) || defined(__DOXYGEN__) | ||
| 384 | #define SDC_INIT_OCR 0x80100000U | ||
| 385 | #endif | ||
| 386 | |||
| 387 | /*===========================================================================*/ | ||
| 388 | /* SERIAL driver related settings. */ | ||
| 389 | /*===========================================================================*/ | ||
| 390 | |||
| 391 | /** | ||
| 392 | * @brief Default bit rate. | ||
| 393 | * @details Configuration parameter, this is the baud rate selected for the | ||
| 394 | * default configuration. | ||
| 395 | */ | ||
| 396 | #if !defined(SERIAL_DEFAULT_BITRATE) || defined(__DOXYGEN__) | ||
| 397 | #define SERIAL_DEFAULT_BITRATE 38400 | ||
| 398 | #endif | ||
| 399 | |||
| 400 | /** | ||
| 401 | * @brief Serial buffers size. | ||
| 402 | * @details Configuration parameter, you can change the depth of the queue | ||
| 403 | * buffers depending on the requirements of your application. | ||
| 404 | * @note The default is 16 bytes for both the transmission and receive | ||
| 405 | * buffers. | ||
| 406 | */ | ||
| 407 | #if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__) | ||
| 408 | #define SERIAL_BUFFERS_SIZE 16 | ||
| 409 | #endif | ||
| 410 | |||
| 411 | /*===========================================================================*/ | ||
| 412 | /* SERIAL_USB driver related setting. */ | ||
| 413 | /*===========================================================================*/ | ||
| 414 | |||
| 415 | /** | ||
| 416 | * @brief Serial over USB buffers size. | ||
| 417 | * @details Configuration parameter, the buffer size must be a multiple of | ||
| 418 | * the USB data endpoint maximum packet size. | ||
| 419 | * @note The default is 256 bytes for both the transmission and receive | ||
| 420 | * buffers. | ||
| 421 | */ | ||
| 422 | #if !defined(SERIAL_USB_BUFFERS_SIZE) || defined(__DOXYGEN__) | ||
| 423 | #define SERIAL_USB_BUFFERS_SIZE 1 | ||
| 424 | #endif | ||
| 425 | |||
| 426 | /** | ||
| 427 | * @brief Serial over USB number of buffers. | ||
| 428 | * @note The default is 2 buffers. | ||
| 429 | */ | ||
| 430 | #if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__) | ||
| 431 | #define SERIAL_USB_BUFFERS_NUMBER 2 | ||
| 432 | #endif | ||
| 433 | |||
| 434 | /*===========================================================================*/ | ||
| 435 | /* SPI driver related settings. */ | ||
| 436 | /*===========================================================================*/ | ||
| 437 | |||
| 438 | /** | ||
| 439 | * @brief Enables synchronous APIs. | ||
| 440 | * @note Disabling this option saves both code and data space. | ||
| 441 | */ | ||
| 442 | #if !defined(SPI_USE_WAIT) || defined(__DOXYGEN__) | ||
| 443 | #define SPI_USE_WAIT TRUE | ||
| 444 | #endif | ||
| 445 | |||
| 446 | /** | ||
| 447 | * @brief Enables circular transfers APIs. | ||
| 448 | * @note Disabling this option saves both code and data space. | ||
| 449 | */ | ||
| 450 | #if !defined(SPI_USE_CIRCULAR) || defined(__DOXYGEN__) | ||
| 451 | #define SPI_USE_CIRCULAR FALSE | ||
| 452 | #endif | ||
| 453 | |||
| 454 | |||
| 455 | /** | ||
| 456 | * @brief Enables the @p spiAcquireBus() and @p spiReleaseBus() APIs. | ||
| 457 | * @note Disabling this option saves both code and data space. | ||
| 458 | */ | ||
| 459 | #if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) | ||
| 460 | #define SPI_USE_MUTUAL_EXCLUSION TRUE | ||
| 461 | #endif | ||
| 462 | |||
| 463 | /** | ||
| 464 | * @brief Handling method for SPI CS line. | ||
| 465 | * @note Disabling this option saves both code and data space. | ||
| 466 | */ | ||
| 467 | #if !defined(SPI_SELECT_MODE) || defined(__DOXYGEN__) | ||
| 468 | #define SPI_SELECT_MODE SPI_SELECT_MODE_PAD | ||
| 469 | #endif | ||
| 470 | |||
| 471 | /*===========================================================================*/ | ||
| 472 | /* UART driver related settings. */ | ||
| 473 | /*===========================================================================*/ | ||
| 474 | |||
| 475 | /** | ||
| 476 | * @brief Enables synchronous APIs. | ||
| 477 | * @note Disabling this option saves both code and data space. | ||
| 478 | */ | ||
| 479 | #if !defined(UART_USE_WAIT) || defined(__DOXYGEN__) | ||
| 480 | #define UART_USE_WAIT FALSE | ||
| 481 | #endif | ||
| 482 | |||
| 483 | /** | ||
| 484 | * @brief Enables the @p uartAcquireBus() and @p uartReleaseBus() APIs. | ||
| 485 | * @note Disabling this option saves both code and data space. | ||
| 486 | */ | ||
| 487 | #if !defined(UART_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) | ||
| 488 | #define UART_USE_MUTUAL_EXCLUSION FALSE | ||
| 489 | #endif | ||
| 490 | |||
| 491 | /*===========================================================================*/ | ||
| 492 | /* USB driver related settings. */ | ||
| 493 | /*===========================================================================*/ | ||
| 494 | |||
| 495 | /** | ||
| 496 | * @brief Enables synchronous APIs. | ||
| 497 | * @note Disabling this option saves both code and data space. | ||
| 498 | */ | ||
| 499 | #if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) | ||
| 500 | #define USB_USE_WAIT TRUE | ||
| 501 | #endif | ||
| 502 | |||
| 503 | /*===========================================================================*/ | ||
| 504 | /* WSPI driver related settings. */ | ||
| 505 | /*===========================================================================*/ | ||
| 506 | |||
| 507 | /** | ||
| 508 | * @brief Enables synchronous APIs. | ||
| 509 | * @note Disabling this option saves both code and data space. | ||
| 510 | */ | ||
| 511 | #if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__) | ||
| 512 | #define WSPI_USE_WAIT TRUE | ||
| 513 | #endif | ||
| 514 | |||
| 515 | /** | ||
| 516 | * @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs. | ||
| 517 | * @note Disabling this option saves both code and data space. | ||
| 518 | */ | ||
| 519 | #if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) | ||
| 520 | #define WSPI_USE_MUTUAL_EXCLUSION TRUE | ||
| 521 | #endif | ||
| 522 | |||
| 523 | #endif /* HALCONF_H */ | ||
| 524 | |||
| 525 | /** @} */ | ||
diff --git a/keyboards/cannonkeys/obliterated75/info.json b/keyboards/cannonkeys/obliterated75/info.json new file mode 100644 index 000000000..b62cee36c --- /dev/null +++ b/keyboards/cannonkeys/obliterated75/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Obliterated75", | ||
| 3 | "url": "https://cannonkeys.com", | ||
| 4 | "maintainer": "awkannan", | ||
| 5 | "width": 16, | ||
| 6 | "height": 6.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_all": { | ||
| 9 | "layout": [{"x":0, "y":0}, {"x":1.5, "y":0}, {"x":2.5, "y":0}, {"x":3.5, "y":0}, {"x":4.5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10.5, "y":0}, {"x":11.5, "y":0}, {"x":12.5, "y":0}, {"x":13.5, "y":0}, {"x":15, "y":0}, {"label":"~", "x":0, "y":1.25}, {"label":"!", "x":1, "y":1.25}, {"label":"@", "x":2, "y":1.25}, {"label":"#", "x":3, "y":1.25}, {"label":"$", "x":4, "y":1.25}, {"label":"%", "x":5, "y":1.25}, {"label":"^", "x":6, "y":1.25}, {"label":"&", "x":7, "y":1.25}, {"label":"*", "x":8, "y":1.25}, {"label":"(", "x":9, "y":1.25}, {"label":")", "x":10, "y":1.25}, {"label":"_", "x":11, "y":1.25}, {"label":"+", "x":12, "y":1.25}, {"x":13, "y":1.25}, {"x":14, "y":1.25}, {"x":15, "y":1.25}, {"label":"Tab", "x":0, "y":2.25, "w":1.5}, {"label":"Q", "x":1.5, "y":2.25}, {"label":"W", "x":2.5, "y":2.25}, {"label":"E", "x":3.5, "y":2.25}, {"label":"R", "x":4.5, "y":2.25}, {"label":"T", "x":5.5, "y":2.25}, {"label":"Y", "x":6.5, "y":2.25}, {"label":"U", "x":7.5, "y":2.25}, {"label":"I", "x":8.5, "y":2.25}, {"label":"O", "x":9.5, "y":2.25}, {"label":"P", "x":10.5, "y":2.25}, {"label":"{", "x":11.5, "y":2.25}, {"label":"}", "x":12.5, "y":2.25}, {"label":"|", "x":13.5, "y":2.25, "w":1.5}, {"x":15, "y":2.25}, {"label":"Caps Lock", "x":0, "y":3.25, "w":1.75}, {"label":"A", "x":1.75, "y":3.25}, {"label":"S", "x":2.75, "y":3.25}, {"label":"D", "x":3.75, "y":3.25}, {"label":"F", "x":4.75, "y":3.25}, {"label":"G", "x":5.75, "y":3.25}, {"label":"H", "x":6.75, "y":3.25}, {"label":"J", "x":7.75, "y":3.25}, {"label":"K", "x":8.75, "y":3.25}, {"label":"L", "x":9.75, "y":3.25}, {"label":":", "x":10.75, "y":3.25}, {"label":"\"", "x":11.75, "y":3.25}, {"x":12.75, "y":3.25}, {"label":"Enter", "x":13.75, "y":3.25, "w":1.25}, {"x":15, "y":3.25}, {"x":0, "y":4.25, "w":1.25}, {"x":1.25, "y":4.25}, {"label":"Z", "x":2.25, "y":4.25}, {"label":"X", "x":3.25, "y":4.25}, {"label":"C", "x":4.25, "y":4.25}, {"label":"V", "x":5.25, "y":4.25}, {"label":"B", "x":6.25, "y":4.25}, {"label":"N", "x":7.25, "y":4.25}, {"label":"M", "x":8.25, "y":4.25}, {"label":"<", "x":9.25, "y":4.25}, {"label":">", "x":10.25, "y":4.25}, {"label":"?", "x":11.25, "y":4.25}, {"label":"Shift", "x":12.25, "y":4.25, "w":1.75}, {"x":14, "y":4.25}, {"x":15, "y":4.25}, {"label":"Ctrl", "x":0, "y":5.25, "w":1.25}, {"label":"Win", "x":1.25, "y":5.25, "w":1.25}, {"label":"Alt", "x":2.5, "y":5.25, "w":1.25}, {"x":3.75, "y":5.25, "w":6.25}, {"label":"Alt", "x":10, "y":5.25, "w":1.25}, {"label":"Ctrl", "x":11.25, "y":5.25, "w":1.25}, {"x":13, "y":5.25}, {"x":14, "y":5.25}, {"x":15, "y":5.25}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } | ||
diff --git a/keyboards/cannonkeys/obliterated75/keymaps/default/keymap.c b/keyboards/cannonkeys/obliterated75/keymaps/default/keymap.c new file mode 100644 index 000000000..2934aae18 --- /dev/null +++ b/keyboards/cannonkeys/obliterated75/keymaps/default/keymap.c | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012,2013 Jun Wako <wakojun@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | |||
| 20 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 21 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 22 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 23 | // entirely and just use numbers. | ||
| 24 | enum layer_names { | ||
| 25 | _BASE, | ||
| 26 | _FN1, | ||
| 27 | }; | ||
| 28 | |||
| 29 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 30 | |||
| 31 | [_BASE] = LAYOUT_all( | ||
| 32 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, | ||
| 33 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_INS, | ||
| 34 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, | ||
| 35 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUBS, KC_ENT, KC_PGUP, | ||
| 36 | KC_LSFT, KC_NUHS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, | ||
| 37 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(_FN1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 38 | ), | ||
| 39 | |||
| 40 | [_FN1] = LAYOUT_all( | ||
| 41 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, | ||
| 42 | KC_GESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_TRNS, RGB_TOG, | ||
| 43 | KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_MOD, | ||
| 44 | BL_BRTG, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 45 | BL_INC, BL_DEC, BL_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 46 | KC_GRV, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS | ||
| 47 | ) | ||
| 48 | }; | ||
diff --git a/keyboards/cannonkeys/obliterated75/keymaps/via/keymap.c b/keyboards/cannonkeys/obliterated75/keymaps/via/keymap.c new file mode 100644 index 000000000..68fe4f788 --- /dev/null +++ b/keyboards/cannonkeys/obliterated75/keymaps/via/keymap.c | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012,2013 Jun Wako <wakojun@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | |||
| 20 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 21 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 22 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 23 | // entirely and just use numbers. | ||
| 24 | enum layer_names { | ||
| 25 | _BASE, | ||
| 26 | _FN1, | ||
| 27 | _FN2, | ||
| 28 | _FN3 | ||
| 29 | }; | ||
| 30 | |||
| 31 | |||
| 32 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 33 | |||
| 34 | [_BASE] = LAYOUT_all( | ||
| 35 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, | ||
| 36 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_INS, | ||
| 37 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, | ||
| 38 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUBS, KC_ENT, KC_PGUP, | ||
| 39 | KC_LSFT, KC_NUHS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, | ||
| 40 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(_FN1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 41 | ), | ||
| 42 | |||
| 43 | [_FN1] = LAYOUT_all( | ||
| 44 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, | ||
| 45 | KC_GESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_TRNS, RGB_TOG, | ||
| 46 | KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_MOD, | ||
| 47 | BL_BRTG, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 48 | BL_INC, BL_DEC, BL_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 49 | KC_GRV, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS | ||
| 50 | ), | ||
| 51 | |||
| 52 | |||
| 53 | [_FN2] = LAYOUT_all( | ||
| 54 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 55 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 56 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 57 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 58 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 59 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 60 | ), | ||
| 61 | |||
| 62 | [_FN3] = LAYOUT_all( | ||
| 63 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 64 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 65 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 66 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 67 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 68 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 69 | ) | ||
| 70 | |||
| 71 | }; | ||
diff --git a/keyboards/sirius/uni660/keymaps/via/rules.mk b/keyboards/cannonkeys/obliterated75/keymaps/via/rules.mk index 1e5b99807..1e5b99807 100644 --- a/keyboards/sirius/uni660/keymaps/via/rules.mk +++ b/keyboards/cannonkeys/obliterated75/keymaps/via/rules.mk | |||
diff --git a/keyboards/cannonkeys/obliterated75/mcuconf.h b/keyboards/cannonkeys/obliterated75/mcuconf.h new file mode 100644 index 000000000..43fe0a462 --- /dev/null +++ b/keyboards/cannonkeys/obliterated75/mcuconf.h | |||
| @@ -0,0 +1,176 @@ | |||
| 1 | /* | ||
| 2 | ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio | ||
| 3 | |||
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 5 | you may not use this file except in compliance with the License. | ||
| 6 | You may obtain a copy of the License at | ||
| 7 | |||
| 8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
| 9 | |||
| 10 | Unless required by applicable law or agreed to in writing, software | ||
| 11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 13 | See the License for the specific language governing permissions and | ||
| 14 | limitations under the License. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef _MCUCONF_H_ | ||
| 18 | #define _MCUCONF_H_ | ||
| 19 | |||
| 20 | /* | ||
| 21 | * STM32F0xx drivers configuration. | ||
| 22 | * The following settings override the default settings present in | ||
| 23 | * the various device driver implementation headers. | ||
| 24 | * Note that the settings for each driver only have effect if the whole | ||
| 25 | * driver is enabled in halconf.h. | ||
| 26 | * | ||
| 27 | * IRQ priorities: | ||
| 28 | * 3...0 Lowest...Highest. | ||
| 29 | * | ||
| 30 | * DMA priorities: | ||
| 31 | * 0...3 Lowest...Highest. | ||
| 32 | */ | ||
| 33 | |||
| 34 | #define STM32F0xx_MCUCONF | ||
| 35 | // #define STM32F070xB | ||
| 36 | |||
| 37 | /* | ||
| 38 | * HAL driver system settings. | ||
| 39 | */ | ||
| 40 | #define STM32_NO_INIT FALSE | ||
| 41 | #define STM32_PVD_ENABLE FALSE | ||
| 42 | #define STM32_PLS STM32_PLS_LEV0 | ||
| 43 | #define STM32_HSI_ENABLED TRUE | ||
| 44 | #define STM32_HSI14_ENABLED TRUE | ||
| 45 | #define STM32_HSI48_ENABLED FALSE | ||
| 46 | #define STM32_LSI_ENABLED TRUE | ||
| 47 | #define STM32_HSE_ENABLED FALSE | ||
| 48 | #define STM32_LSE_ENABLED FALSE | ||
| 49 | #define STM32_SW STM32_SW_PLL | ||
| 50 | #define STM32_PLLSRC STM32_PLLSRC_HSI_DIV2 | ||
| 51 | #define STM32_PREDIV_VALUE 1 | ||
| 52 | #define STM32_PLLMUL_VALUE 12 | ||
| 53 | #define STM32_HPRE STM32_HPRE_DIV1 | ||
| 54 | #define STM32_PPRE STM32_PPRE_DIV1 | ||
| 55 | #define STM32_ADCSW STM32_ADCSW_HSI14 | ||
| 56 | #define STM32_ADCPRE STM32_ADCPRE_DIV4 | ||
| 57 | #define STM32_MCOSEL STM32_MCOSEL_NOCLOCK | ||
| 58 | #define STM32_ADCPRE STM32_ADCPRE_DIV4 | ||
| 59 | #define STM32_ADCSW STM32_ADCSW_HSI14 | ||
| 60 | #define STM32_USBSW STM32_USBSW_HSI48 | ||
| 61 | #define STM32_CECSW STM32_CECSW_HSI | ||
| 62 | #define STM32_I2C1SW STM32_I2C1SW_HSI | ||
| 63 | #define STM32_USART1SW STM32_USART1SW_PCLK | ||
| 64 | #define STM32_RTCSEL STM32_RTCSEL_LSI | ||
| 65 | |||
| 66 | /* | ||
| 67 | * ADC driver system settings. | ||
| 68 | */ | ||
| 69 | #define STM32_ADC_USE_ADC1 FALSE | ||
| 70 | #define STM32_ADC_ADC1_DMA_PRIORITY 2 | ||
| 71 | #define STM32_ADC_IRQ_PRIORITY 2 | ||
| 72 | #define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 2 | ||
| 73 | |||
| 74 | /* | ||
| 75 | * EXT driver system settings. | ||
| 76 | */ | ||
| 77 | #define STM32_EXT_EXTI0_1_IRQ_PRIORITY 3 | ||
| 78 | #define STM32_EXT_EXTI2_3_IRQ_PRIORITY 3 | ||
| 79 | #define STM32_EXT_EXTI4_15_IRQ_PRIORITY 3 | ||
| 80 | #define STM32_EXT_EXTI16_IRQ_PRIORITY 3 | ||
| 81 | #define STM32_EXT_EXTI17_IRQ_PRIORITY 3 | ||
| 82 | |||
| 83 | /* | ||
| 84 | * GPT driver system settings. | ||
| 85 | */ | ||
| 86 | #define STM32_GPT_USE_TIM1 FALSE | ||
| 87 | #define STM32_GPT_USE_TIM2 FALSE | ||
| 88 | #define STM32_GPT_USE_TIM3 FALSE | ||
| 89 | #define STM32_GPT_USE_TIM14 FALSE | ||
| 90 | #define STM32_GPT_TIM1_IRQ_PRIORITY 2 | ||
| 91 | #define STM32_GPT_TIM2_IRQ_PRIORITY 2 | ||
| 92 | #define STM32_GPT_TIM3_IRQ_PRIORITY 2 | ||
| 93 | #define STM32_GPT_TIM14_IRQ_PRIORITY 2 | ||
| 94 | |||
| 95 | /* | ||
| 96 | * I2C driver system settings. | ||
| 97 | */ | ||
| 98 | #define STM32_I2C_USE_I2C1 FALSE | ||
| 99 | #define STM32_I2C_USE_I2C2 FALSE | ||
| 100 | #define STM32_I2C_BUSY_TIMEOUT 50 | ||
| 101 | #define STM32_I2C_I2C1_IRQ_PRIORITY 3 | ||
| 102 | #define STM32_I2C_I2C2_IRQ_PRIORITY 3 | ||
| 103 | #define STM32_I2C_USE_DMA TRUE | ||
| 104 | #define STM32_I2C_I2C1_DMA_PRIORITY 1 | ||
| 105 | #define STM32_I2C_I2C2_DMA_PRIORITY 1 | ||
| 106 | #define STM32_I2C_I2C1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7) | ||
| 107 | #define STM32_I2C_I2C1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 6) | ||
| 108 | #define STM32_I2C_DMA_ERROR_HOOK(i2cp) osalSysHalt("DMA failure") | ||
| 109 | |||
| 110 | /* | ||
| 111 | * ICU driver system settings. | ||
| 112 | */ | ||
| 113 | #define STM32_ICU_USE_TIM1 FALSE | ||
| 114 | #define STM32_ICU_USE_TIM2 FALSE | ||
| 115 | #define STM32_ICU_USE_TIM3 FALSE | ||
| 116 | #define STM32_ICU_TIM1_IRQ_PRIORITY 3 | ||
| 117 | #define STM32_ICU_TIM2_IRQ_PRIORITY 3 | ||
| 118 | #define STM32_ICU_TIM3_IRQ_PRIORITY 3 | ||
| 119 | |||
| 120 | /* | ||
| 121 | * PWM driver system settings. | ||
| 122 | */ | ||
| 123 | #define STM32_PWM_USE_ADVANCED FALSE | ||
| 124 | #define STM32_PWM_USE_TIM1 FALSE | ||
| 125 | #define STM32_PWM_USE_TIM2 FALSE | ||
| 126 | #define STM32_PWM_USE_TIM3 TRUE | ||
| 127 | #define STM32_PWM_TIM1_IRQ_PRIORITY 3 | ||
| 128 | #define STM32_PWM_TIM2_IRQ_PRIORITY 3 | ||
| 129 | #define STM32_PWM_TIM3_IRQ_PRIORITY 3 | ||
| 130 | |||
| 131 | /* | ||
| 132 | * SERIAL driver system settings. | ||
| 133 | */ | ||
| 134 | #define STM32_SERIAL_USE_USART1 FALSE | ||
| 135 | #define STM32_SERIAL_USE_USART2 FALSE | ||
| 136 | #define STM32_SERIAL_USART1_PRIORITY 3 | ||
| 137 | #define STM32_SERIAL_USART2_PRIORITY 3 | ||
| 138 | |||
| 139 | /* | ||
| 140 | * SPI driver system settings. | ||
| 141 | */ | ||
| 142 | #define STM32_SPI_USE_SPI1 FALSE | ||
| 143 | #define STM32_SPI_USE_SPI2 TRUE | ||
| 144 | #define STM32_SPI_SPI1_DMA_PRIORITY 1 | ||
| 145 | #define STM32_SPI_SPI2_DMA_PRIORITY 1 | ||
| 146 | #define STM32_SPI_SPI1_IRQ_PRIORITY 2 | ||
| 147 | #define STM32_SPI_SPI2_IRQ_PRIORITY 2 | ||
| 148 | #define STM32_SPI_SPI2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4) | ||
| 149 | #define STM32_SPI_SPI2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 5) | ||
| 150 | #define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure") | ||
| 151 | |||
| 152 | /* | ||
| 153 | * ST driver system settings. | ||
| 154 | */ | ||
| 155 | #define STM32_ST_IRQ_PRIORITY 2 | ||
| 156 | #define STM32_ST_USE_TIMER 2 | ||
| 157 | |||
| 158 | /* | ||
| 159 | * UART driver system settings. | ||
| 160 | */ | ||
| 161 | #define STM32_UART_USE_USART1 FALSE | ||
| 162 | #define STM32_UART_USE_USART2 FALSE | ||
| 163 | #define STM32_UART_USART1_IRQ_PRIORITY 3 | ||
| 164 | #define STM32_UART_USART2_IRQ_PRIORITY 3 | ||
| 165 | #define STM32_UART_USART1_DMA_PRIORITY 0 | ||
| 166 | #define STM32_UART_USART2_DMA_PRIORITY 0 | ||
| 167 | #define STM32_UART_DMA_ERROR_HOOK(uartp) osalSysHalt("DMA failure") | ||
| 168 | |||
| 169 | /* | ||
| 170 | * USB driver system settings. | ||
| 171 | */ | ||
| 172 | #define STM32_USB_USE_USB1 TRUE | ||
| 173 | #define STM32_USB_LOW_POWER_ON_SUSPEND FALSE | ||
| 174 | #define STM32_USB_USB1_LP_IRQ_PRIORITY 3 | ||
| 175 | |||
| 176 | #endif /* _MCUCONF_H_ */ | ||
diff --git a/keyboards/cannonkeys/obliterated75/obliterated75.c b/keyboards/cannonkeys/obliterated75/obliterated75.c new file mode 100644 index 000000000..347a64383 --- /dev/null +++ b/keyboards/cannonkeys/obliterated75/obliterated75.c | |||
| @@ -0,0 +1 @@ | |||
| #include "obliterated75.h" | |||
diff --git a/keyboards/cannonkeys/obliterated75/obliterated75.h b/keyboards/cannonkeys/obliterated75/obliterated75.h new file mode 100644 index 000000000..895223a1f --- /dev/null +++ b/keyboards/cannonkeys/obliterated75/obliterated75.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "quantum.h" | ||
| 4 | |||
| 5 | #define LAYOUT_all( \ | ||
| 6 | K000, K001, K002, K003, K004, K006, K007, K008, K009, K010, K011, K012, K013, K015, \ | ||
| 7 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, \ | ||
| 8 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K215, \ | ||
| 9 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K315, \ | ||
| 10 | K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, K415, \ | ||
| 11 | K500, K501, K502, K506, K510, K511, K512, K513, K515 \ | ||
| 12 | ) { \ | ||
| 13 | { K000, K001, K002, K003, K004, KC_NO, K006, K007, K008, K009, K010, K011, K012, K013, KC_NO, K015 }, \ | ||
| 14 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115 }, \ | ||
| 15 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, KC_NO, K215 }, \ | ||
| 16 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, KC_NO, K315 }, \ | ||
| 17 | { K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, KC_NO, K415 }, \ | ||
| 18 | { K500, K501, K502, KC_NO, KC_NO, KC_NO, K506, KC_NO, KC_NO, KC_NO, K510, K511, K512, K513, KC_NO, K515 } \ | ||
| 19 | } | ||
diff --git a/keyboards/cannonkeys/obliterated75/readme.md b/keyboards/cannonkeys/obliterated75/readme.md new file mode 100644 index 000000000..372b5500d --- /dev/null +++ b/keyboards/cannonkeys/obliterated75/readme.md | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | # CannonKeys Obliterated75 | ||
| 2 | |||
| 3 | * Keyboard Maintainer: [Andrew Kannan](https://github.com/awkannan) | ||
| 4 | * Hardware Supported: STM32F072CBT6 | ||
| 5 | |||
| 6 | Make example for this keyboard (after setting up your build environment): | ||
| 7 | |||
| 8 | make cannonkeys/obliterated75:default | ||
| 9 | |||
| 10 | 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). | ||
diff --git a/keyboards/cannonkeys/obliterated75/rules.mk b/keyboards/cannonkeys/obliterated75/rules.mk new file mode 100644 index 000000000..350b0d532 --- /dev/null +++ b/keyboards/cannonkeys/obliterated75/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = STM32F072 | ||
| 3 | |||
| 4 | # Build Options | ||
| 5 | # change yes to no to disable | ||
| 6 | # | ||
| 7 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 8 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 9 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 10 | CONSOLE_ENABLE = yes # Console for debug | ||
| 11 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 12 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 13 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 14 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 15 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 16 | MIDI_ENABLE = no # MIDI support | ||
| 17 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 18 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 19 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 20 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | ||
| 21 | WS2812_DRIVER = spi | ||
| 22 | |||
| 23 | # Enter lower-power sleep mode when on the ChibiOS idle thread | ||
| 24 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | ||
diff --git a/keyboards/cospad/config.h b/keyboards/cospad/config.h index 42db8e25b..362f6c38b 100644 --- a/keyboards/cospad/config.h +++ b/keyboards/cospad/config.h | |||
| @@ -65,7 +65,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 65 | // #define RGBLIGHT_SAT_STEP 8 | 65 | // #define RGBLIGHT_SAT_STEP 8 |
| 66 | // #define RGBLIGHT_VAL_STEP 8 | 66 | // #define RGBLIGHT_VAL_STEP 8 |
| 67 | // #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | 67 | // #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ |
| 68 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 68 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 69 | // /*== all animations enable ==*/ | 69 | // /*== all animations enable ==*/ |
| 70 | #define RGBLIGHT_ANIMATIONS | 70 | #define RGBLIGHT_ANIMATIONS |
| 71 | // /*== or choose animations ==*/ | 71 | // /*== or choose animations ==*/ |
diff --git a/keyboards/handwired/p1800fl/config.h b/keyboards/handwired/p1800fl/config.h new file mode 100644 index 000000000..c2022a6b2 --- /dev/null +++ b/keyboards/handwired/p1800fl/config.h | |||
| @@ -0,0 +1,72 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 marhalloweenvt | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0xFEED | ||
| 24 | #define PRODUCT_ID 0x3EAE | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER marhalloweenvt | ||
| 27 | #define PRODUCT p1800fl | ||
| 28 | #define DESCRIPTION A compact 1800 layout keyboard | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 6 | ||
| 32 | #define MATRIX_COLS 15 | ||
| 33 | |||
| 34 | /* | ||
| 35 | * Keyboard Matrix Assignments | ||
| 36 | * | ||
| 37 | * Change this to how you wired your keyboard | ||
| 38 | * COLS: AVR pins used for columns, left to right | ||
| 39 | * ROWS: AVR pins used for rows, top to bottom | ||
| 40 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 41 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 42 | * | ||
| 43 | */ | ||
| 44 | #define MATRIX_ROW_PINS { B6, B5, B4, D7, D6, D4 } | ||
| 45 | #define MATRIX_COL_PINS { C7, F7, F6, F5, F4, F1, F0, E6, B0, B1, B2, B3, D0, D1, D2} | ||
| 46 | #define UNUSED_PINS | ||
| 47 | |||
| 48 | /* COL2ROW, ROW2COL*/ | ||
| 49 | #define DIODE_DIRECTION COL2ROW | ||
| 50 | |||
| 51 | #define BACKLIGHT_PIN B7 | ||
| 52 | #define BACKLIGHT_BREATHING | ||
| 53 | #define BACKLIGHT_LEVELS 5 | ||
| 54 | |||
| 55 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 56 | #define DEBOUNCE 5 | ||
| 57 | |||
| 58 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 59 | //#define MATRIX_HAS_GHOST | ||
| 60 | |||
| 61 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 62 | #define LOCKING_SUPPORT_ENABLE | ||
| 63 | /* Locking resynchronize hack */ | ||
| 64 | #define LOCKING_RESYNC_ENABLE | ||
| 65 | |||
| 66 | /* disable these deprecated features by default */ | ||
| 67 | #define NO_ACTION_MACRO | ||
| 68 | #define NO_ACTION_FUNCTION | ||
| 69 | |||
| 70 | /* QMK DFU key configuration */ | ||
| 71 | #define QMK_ESC_OUTPUT C7 // usually COL | ||
| 72 | #define QMK_ESC_INPUT B6 // usually ROW \ No newline at end of file | ||
diff --git a/keyboards/handwired/p1800fl/info.json b/keyboards/handwired/p1800fl/info.json new file mode 100644 index 000000000..1509b59d9 --- /dev/null +++ b/keyboards/handwired/p1800fl/info.json | |||
| @@ -0,0 +1,99 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "p1800fl", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "marhalloweenvt", | ||
| 5 | "width": 19.5, | ||
| 6 | "height": 5.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"Esc", "x":0, "y":0}, | ||
| 11 | {"label":"!", "x":1, "y":0}, | ||
| 12 | {"label":"@", "x":2, "y":0}, | ||
| 13 | {"label":"#", "x":3, "y":0}, | ||
| 14 | {"label":"$", "x":4, "y":0}, | ||
| 15 | {"label":"%", "x":5, "y":0}, | ||
| 16 | {"label":"^", "x":6, "y":0}, | ||
| 17 | {"label":"&", "x":7, "y":0}, | ||
| 18 | {"label":"*", "x":8, "y":0}, | ||
| 19 | {"label":"(", "x":9, "y":0}, | ||
| 20 | {"label":")", "x":10, "y":0}, | ||
| 21 | {"label":"_", "x":11, "y":0}, | ||
| 22 | {"label":"+", "x":12, "y":0}, | ||
| 23 | {"label":"Backspace", "x":13, "y":0}, | ||
| 24 | {"label":"Backspace", "x":14, "y":0}, | ||
| 25 | {"label":"Num Lock", "x":15.5, "y":0}, | ||
| 26 | {"label":"/", "x":16.5, "y":0}, | ||
| 27 | {"label":"*", "x":17.5, "y":0}, | ||
| 28 | {"label":"-", "x":18.5, "y":0}, | ||
| 29 | {"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
| 30 | {"label":"Q", "x":1.5, "y":1}, | ||
| 31 | {"label":"W", "x":2.5, "y":1}, | ||
| 32 | {"label":"E", "x":3.5, "y":1}, | ||
| 33 | {"label":"R", "x":4.5, "y":1}, | ||
| 34 | {"label":"T", "x":5.5, "y":1}, | ||
| 35 | {"label":"Y", "x":6.5, "y":1}, | ||
| 36 | {"label":"U", "x":7.5, "y":1}, | ||
| 37 | {"label":"I", "x":8.5, "y":1}, | ||
| 38 | {"label":"O", "x":9.5, "y":1}, | ||
| 39 | {"label":"P", "x":10.5, "y":1}, | ||
| 40 | {"label":"{", "x":11.5, "y":1}, | ||
| 41 | {"label":"}", "x":12.5, "y":1}, | ||
| 42 | {"label":"|", "x":13.5, "y":1, "w":1.5}, | ||
| 43 | {"label":"7", "x":15.5, "y":1}, | ||
| 44 | {"label":"8", "x":16.5, "y":1}, | ||
| 45 | {"label":"9", "x":17.5, "y":1}, | ||
| 46 | {"label":"+", "x":18.5, "y":1}, | ||
| 47 | {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, | ||
| 48 | {"label":"A", "x":1.75, "y":2}, | ||
| 49 | {"label":"S", "x":2.75, "y":2}, | ||
| 50 | {"label":"D", "x":3.75, "y":2}, | ||
| 51 | {"label":"F", "x":4.75, "y":2}, | ||
| 52 | {"label":"G", "x":5.75, "y":2}, | ||
| 53 | {"label":"H", "x":6.75, "y":2}, | ||
| 54 | {"label":"J", "x":7.75, "y":2}, | ||
| 55 | {"label":"K", "x":8.75, "y":2}, | ||
| 56 | {"label":"L", "x":9.75, "y":2}, | ||
| 57 | {"label":":", "x":10.75, "y":2}, | ||
| 58 | {"label":"\"", "x":11.75, "y":2}, | ||
| 59 | {"label":"Enter", "x":12.75, "y":2}, | ||
| 60 | {"label":"Enter", "x":13.75, "y":2, "w":1.25}, | ||
| 61 | {"label":"4", "x":15.5, "y":2}, | ||
| 62 | {"label":"5", "x":16.5, "y":2}, | ||
| 63 | {"label":"6", "x":17.5, "y":2}, | ||
| 64 | {"label":"+", "x":18.5, "y":2}, | ||
| 65 | {"label":"Shift", "x":0, "y":3, "w":1.25}, | ||
| 66 | {"label":"Shift", "x":1.25, "y":3}, | ||
| 67 | {"label":"Z", "x":2.25, "y":3}, | ||
| 68 | {"label":"X", "x":3.25, "y":3}, | ||
| 69 | {"label":"C", "x":4.25, "y":3}, | ||
| 70 | {"label":"V", "x":5.25, "y":3}, | ||
| 71 | {"label":"B", "x":6.25, "y":3}, | ||
| 72 | {"label":"N", "x":7.25, "y":3}, | ||
| 73 | {"label":"M", "x":8.25, "y":3}, | ||
| 74 | {"label":"<", "x":9.25, "y":3}, | ||
| 75 | {"label":">", "x":10.25, "y":3}, | ||
| 76 | {"label":"?", "x":11.25, "y":3}, | ||
| 77 | {"label":"Shift", "x":12.25, "y":3, "w":1.75}, | ||
| 78 | {"label":"1", "x":15.5, "y":3}, | ||
| 79 | {"label":"2", "x":16.5, "y":3}, | ||
| 80 | {"label":"3", "x":17.5, "y":3}, | ||
| 81 | {"label":"Enter", "x":18.5, "y":3}, | ||
| 82 | {"label":"Up", "x":14.25, "y":3.25}, | ||
| 83 | {"label":"Ctrl", "x":0, "y":4, "w":1.25}, | ||
| 84 | {"label":"Win", "x":1.25, "y":4, "w":1.25}, | ||
| 85 | {"label":"Alt", "x":2.5, "y":4, "w":1.25}, | ||
| 86 | {"label":"6.25x", "x":3.75, "y":4, "w":6.25}, | ||
| 87 | {"label":"Ctrl", "x":10, "y":4}, | ||
| 88 | {"label":"Win", "x":11, "y":4}, | ||
| 89 | {"label":"Alt", "x":12, "y":4}, | ||
| 90 | {"label":"0", "x":16.5, "y":4}, | ||
| 91 | {"label":".", "x":17.5, "y":4}, | ||
| 92 | {"label":"Enter", "x":18.5, "y":4}, | ||
| 93 | {"label":"Left", "x":13.25, "y":4.25}, | ||
| 94 | {"label":"Down", "x":14.25, "y":4.25}, | ||
| 95 | {"label":"Right", "x":15.25, "y":4.25} | ||
| 96 | ] | ||
| 97 | } | ||
| 98 | } | ||
| 99 | } | ||
diff --git a/keyboards/handwired/p1800fl/keymaps/default/keymap.c b/keyboards/handwired/p1800fl/keymaps/default/keymap.c new file mode 100644 index 000000000..03b6a1efd --- /dev/null +++ b/keyboards/handwired/p1800fl/keymaps/default/keymap.c | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* Copyright 2020 marhalloweenvt | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | // Defines names for use in layer keycodes and the keymap | ||
| 19 | enum layer_names { | ||
| 20 | _BASE, | ||
| 21 | _FN | ||
| 22 | }; | ||
| 23 | |||
| 24 | |||
| 25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 26 | /* Base */ | ||
| 27 | [_BASE] = LAYOUT( | ||
| 28 | KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_NLCK, KC_PSLS, KC_PAST, KC_PEQL, | ||
| 29 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_P7, KC_P8, KC_P9, KC_PMNS, | ||
| 30 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS, | ||
| 31 | KC_LSFT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, | ||
| 32 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT | ||
| 33 | ), | ||
| 34 | [_FN] = LAYOUT( | ||
| 35 | KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_DEL, BL_TOGG, BL_INC, KC_PAST, RESET, | ||
| 36 | _______, KC_HOME, KC_UP, KC_END, KC_PGUP, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, BL_BRTG, BL_DEC, _______, EEP_RST, | ||
| 37 | _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, EEP_RST, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLU, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, _______, _______, _______, _______ | ||
| 40 | ) | ||
| 41 | }; | ||
diff --git a/keyboards/handwired/p1800fl/keymaps/default/readme.md b/keyboards/handwired/p1800fl/keymaps/default/readme.md new file mode 100644 index 000000000..268d39922 --- /dev/null +++ b/keyboards/handwired/p1800fl/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for p1800fl | |||
diff --git a/keyboards/handwired/p1800fl/p1800fl.c b/keyboards/handwired/p1800fl/p1800fl.c new file mode 100644 index 000000000..e0fc16a5e --- /dev/null +++ b/keyboards/handwired/p1800fl/p1800fl.c | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /* Copyright 2020 marhalloweenvt | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include "p1800fl.h" | ||
| 18 | |||
| 19 | bool led_update_kb(led_t led_state) { | ||
| 20 | bool res = led_update_user(led_state); | ||
| 21 | if(res) { | ||
| 22 | writePin(D3, led_state.num_lock); | ||
| 23 | writePin(D5, led_state.caps_lock); | ||
| 24 | writePin(C6, led_state.scroll_lock); | ||
| 25 | } | ||
| 26 | return res; | ||
| 27 | } | ||
| 28 | |||
diff --git a/keyboards/handwired/p1800fl/p1800fl.h b/keyboards/handwired/p1800fl/p1800fl.h new file mode 100644 index 000000000..7b8f3dcff --- /dev/null +++ b/keyboards/handwired/p1800fl/p1800fl.h | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | /* Copyright 2020 marhalloweenvt | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | /* This is a shortcut to help you visually see your layout. | ||
| 22 | * | ||
| 23 | * The first section contains all of the arguments representing the physical | ||
| 24 | * layout of the board and position of the keys. | ||
| 25 | * | ||
| 26 | * The second converts the arguments into a two-dimensional array which | ||
| 27 | * represents the switch matrix. | ||
| 28 | */ | ||
| 29 | #define LAYOUT( \ | ||
| 30 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k50, k51, k52, k53, \ | ||
| 31 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k54, k55, k56, k57, \ | ||
| 32 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k58, k59, k5a, k5b, \ | ||
| 33 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k5c, k5d, k5e, k4e, \ | ||
| 34 | k40, k41, k42, k43, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d \ | ||
| 35 | ) { \ | ||
| 36 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \ | ||
| 37 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, KC_NO }, \ | ||
| 38 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, KC_NO }, \ | ||
| 39 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, KC_NO }, \ | ||
| 40 | { k40, k41, k42, k43, KC_NO, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e }, \ | ||
| 41 | { k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k5a, k5b, k5c, k5d, k5e }, \ | ||
| 42 | } | ||
diff --git a/keyboards/handwired/p1800fl/readme.md b/keyboards/handwired/p1800fl/readme.md new file mode 100644 index 000000000..545bd691a --- /dev/null +++ b/keyboards/handwired/p1800fl/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # p1800fl | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A 1800 Frow-less keyboard project from our local makers. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [marhalloweenvt](https://github.com/marhalloweenvt) | ||
| 8 | * Hardware Supported: p1800fl | ||
| 9 | * Hardware Availability: p1800fl | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make handwired/p1800fl:default | ||
| 14 | |||
| 15 | 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). | ||
diff --git a/keyboards/handwired/p1800fl/rules.mk b/keyboards/handwired/p1800fl/rules.mk new file mode 100644 index 000000000..b8601f0f1 --- /dev/null +++ b/keyboards/handwired/p1800fl/rules.mk | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = qmk-dfu | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # change yes to no to disable | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | ||
| 18 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 20 | CONSOLE_ENABLE = yes # Console for debug | ||
| 21 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 24 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 25 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 26 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 27 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 28 | MIDI_ENABLE = no # MIDI support | ||
| 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 30 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | ||
diff --git a/keyboards/jj4x4/config.h b/keyboards/jj4x4/config.h index 8c5b1988d..45c8671cc 100644 --- a/keyboards/jj4x4/config.h +++ b/keyboards/jj4x4/config.h | |||
| @@ -19,8 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | #include "config_common.h" | 20 | #include "config_common.h" |
| 21 | 21 | ||
| 22 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x4B50 // "KP" |
| 23 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x0044 // 4x4 |
| 24 | #define DEVICE_VER 0x0200 | 24 | #define DEVICE_VER 0x0200 |
| 25 | #define MANUFACTURER KPrepublic | 25 | #define MANUFACTURER KPrepublic |
| 26 | #define PRODUCT JJ4x4 | 26 | #define PRODUCT JJ4x4 |
diff --git a/keyboards/jj4x4/info.json b/keyboards/jj4x4/info.json index 602fdc90a..0fff9b9c8 100644 --- a/keyboards/jj4x4/info.json +++ b/keyboards/jj4x4/info.json | |||
| @@ -1,30 +1,30 @@ | |||
| 1 | { | 1 | { |
| 2 | "keyboard_name": "jj4x4", | 2 | "keyboard_name": "JJ4x4", |
| 3 | "url": "", | 3 | "url": "", |
| 4 | "maintainer": "qmk", | 4 | "maintainer": "qmk", |
| 5 | "width": 4, | 5 | "width": 4, |
| 6 | "height": 4, | 6 | "height": 4, |
| 7 | "layouts": { | 7 | "layouts": { |
| 8 | "LAYOUT_ortho_4x4": { | 8 | "LAYOUT_ortho_4x4": { |
| 9 | "key_count": 16, | 9 | "key_count": 16, |
| 10 | "layout": [ | 10 | "layout": [ |
| 11 | {"x":0, "y":0}, | 11 | {"x":0, "y":0}, |
| 12 | {"x":1, "y":0}, | 12 | {"x":1, "y":0}, |
| 13 | {"x":2, "y":0}, | 13 | {"x":2, "y":0}, |
| 14 | {"x":3, "y":0}, | 14 | {"x":3, "y":0}, |
| 15 | {"x":0, "y":1}, | 15 | {"x":0, "y":1}, |
| 16 | {"x":1, "y":1}, | 16 | {"x":1, "y":1}, |
| 17 | {"x":2, "y":1}, | 17 | {"x":2, "y":1}, |
| 18 | {"x":3, "y":1}, | 18 | {"x":3, "y":1}, |
| 19 | {"x":0, "y":2}, | 19 | {"x":0, "y":2}, |
| 20 | {"x":1, "y":2}, | 20 | {"x":1, "y":2}, |
| 21 | {"x":2, "y":2}, | 21 | {"x":2, "y":2}, |
| 22 | {"x":3, "y":2}, | 22 | {"x":3, "y":2}, |
| 23 | {"x":0, "y":3}, | 23 | {"x":0, "y":3}, |
| 24 | {"x":1, "y":3}, | 24 | {"x":1, "y":3}, |
| 25 | {"x":2, "y":3}, | 25 | {"x":2, "y":3}, |
| 26 | {"x":3, "y":3} | 26 | {"x":3, "y":3} |
| 27 | ] | 27 | ] |
| 28 | } | ||
| 28 | } | 29 | } |
| 29 | } | 30 | } |
| 30 | } \ No newline at end of file | ||
diff --git a/keyboards/jj4x4/jj4x4.h b/keyboards/jj4x4/jj4x4.h index 7b8cb8183..ee17e896d 100644 --- a/keyboards/jj4x4/jj4x4.h +++ b/keyboards/jj4x4/jj4x4.h | |||
| @@ -28,14 +28,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | * represents the switch matrix. | 28 | * represents the switch matrix. |
| 29 | */ | 29 | */ |
| 30 | #define LAYOUT_ortho_4x4( \ | 30 | #define LAYOUT_ortho_4x4( \ |
| 31 | K01, K02, K03, K04, \ | 31 | K00, K01, K02, K03, \ |
| 32 | K11, K12, K13, K14, \ | 32 | K10, K11, K12, K13, \ |
| 33 | K21, K22, K23, K24, \ | 33 | K20, K21, K22, K23, \ |
| 34 | K31, K32, K33, K34 \ | 34 | K30, K31, K32, K33 \ |
| 35 | ) \ | 35 | ) { \ |
| 36 | { \ | 36 | { K00, K01, K02, K03 }, \ |
| 37 | { K01, K02, K03, K04 }, \ | 37 | { K10, K11, K12, K13 }, \ |
| 38 | { K11, K12, K13, K14 }, \ | 38 | { K20, K21, K22, K23 }, \ |
| 39 | { K21, K22, K23, K24 }, \ | 39 | { K30, K31, K32, K33 } \ |
| 40 | { K31, K32, K33, K34 } \ | 40 | } |
| 41 | } | ||
diff --git a/keyboards/jj4x4/keymaps/default/keymap.c b/keyboards/jj4x4/keymaps/default/keymap.c index a0b06ee92..ae2c6b541 100644 --- a/keyboards/jj4x4/keymaps/default/keymap.c +++ b/keyboards/jj4x4/keymaps/default/keymap.c | |||
| @@ -13,61 +13,56 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | |||
| 16 | #include QMK_KEYBOARD_H | 17 | #include QMK_KEYBOARD_H |
| 17 | 18 | ||
| 18 | enum layers { | 19 | enum layers { |
| 19 | _BASE = 0, | 20 | _BASE = 0, |
| 20 | _FN1, | 21 | _FN1, |
| 21 | _FN2, | 22 | _FN2 |
| 22 | }; | 23 | }; |
| 23 | 24 | ||
| 24 | // Defines the keycodes used by our macros in process_record_user | 25 | // Defines the keycodes used by our macros in process_record_user |
| 25 | enum custom_keycodes { | 26 | enum custom_keycodes { |
| 26 | QMKBEST = SAFE_RANGE, | 27 | QMKBEST = SAFE_RANGE, |
| 27 | QMKURL | 28 | QMKURL |
| 28 | }; | 29 | }; |
| 29 | 30 | ||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 31 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 31 | 32 | [_BASE] = LAYOUT_ortho_4x4( | |
| 32 | [_BASE] = LAYOUT_ortho_4x4( | 33 | KC_PGUP, KC_HOME, KC_UP, KC_END, |
| 33 | KC_PGUP, KC_HOME, KC_UP, KC_END , \ | 34 | KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, |
| 34 | KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, \ | 35 | MO(_FN2), KC_VOLU, KC_MPLY, KC_MPRV, |
| 35 | MO(_FN2), KC_VOLU, KC_MPLY, KC_MPRV, \ | 36 | MO(_FN1), KC_VOLD, KC_MUTE, KC_MNXT |
| 36 | MO(_FN1), KC_VOLD, KC_MUTE, KC_MNXT \ | 37 | ), |
| 37 | ), | 38 | [_FN1] = LAYOUT_ortho_4x4( |
| 38 | [_FN1] = LAYOUT_ortho_4x4( | 39 | KC_ESC, KC_P7, KC_P8, KC_P9, |
| 39 | KC_ESC, KC_P7, KC_P8, KC_P9, \ | 40 | KC_TAB, KC_P4, KC_P5, KC_P6, |
| 40 | KC_TAB, KC_P4, KC_P5, KC_P6, \ | 41 | KC_ENT, KC_P1, KC_P2, KC_P3, |
| 41 | KC_ENT, KC_P1, KC_P2, KC_P3, \ | 42 | _______, KC_P0, KC_P0, KC_DOT |
| 42 | _______, KC_P0, KC_P0, KC_DOT \ | 43 | ), |
| 43 | ), | 44 | [_FN2] = LAYOUT_ortho_4x4( |
| 44 | [_FN2] = LAYOUT_ortho_4x4( | 45 | RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, |
| 45 | RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, \ | 46 | RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, |
| 46 | RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, \ | 47 | _______, _______, _______, RESET, |
| 47 | _______, _______, _______, RESET, \ | 48 | BL_STEP, _______, QMKBEST, QMKURL |
| 48 | BL_STEP, _______, QMKBEST, QMKURL \ | 49 | ) |
| 49 | ) | ||
| 50 | |||
| 51 | }; | 50 | }; |
| 52 | 51 | ||
| 53 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 52 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
| 54 | switch (keycode) { | 53 | switch (keycode) { |
| 55 | case QMKBEST: | 54 | case QMKBEST: |
| 56 | if (record->event.pressed) { | 55 | if (record->event.pressed) { |
| 57 | // when keycode QMKBEST is pressed | 56 | // when keycode QMKBEST is pressed |
| 58 | SEND_STRING("QMK is the best thing ever!"); | 57 | SEND_STRING("QMK is the best thing ever!"); |
| 59 | } else { | 58 | } |
| 60 | // when keycode QMKBEST is released | 59 | break; |
| 61 | } | 60 | case QMKURL: |
| 62 | break; | 61 | if (record->event.pressed) { |
| 63 | case QMKURL: | 62 | // when keycode QMKURL is pressed |
| 64 | if (record->event.pressed) { | 63 | SEND_STRING("https://qmk.fm/\n"); |
| 65 | // when keycode QMKURL is pressed | 64 | } |
| 66 | SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER)); | 65 | break; |
| 67 | } else { | 66 | } |
| 68 | // when keycode QMKURL is released | 67 | return true; |
| 69 | } | ||
| 70 | break; | ||
| 71 | } | ||
| 72 | return true; | ||
| 73 | } | 68 | } |
diff --git a/keyboards/jj4x4/keymaps/via/keymap.c b/keyboards/jj4x4/keymaps/via/keymap.c new file mode 100644 index 000000000..35ca0e361 --- /dev/null +++ b/keyboards/jj4x4/keymaps/via/keymap.c | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | /* Copyright 2020 | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | LAYOUT_ortho_4x4( | ||
| 21 | KC_P7, KC_P8, KC_P9, KC_PSLS, | ||
| 22 | KC_P4, KC_P5, KC_P6, KC_PAST, | ||
| 23 | KC_P1, KC_P2, KC_P3, KC_PMNS, | ||
| 24 | KC_P0, KC_PDOT, KC_PPLS, LT(1, KC_ENT) | ||
| 25 | ), | ||
| 26 | LAYOUT_ortho_4x4( | ||
| 27 | RESET, _______, _______, _______, | ||
| 28 | _______, _______, _______, _______, | ||
| 29 | _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______ | ||
| 31 | ), | ||
| 32 | LAYOUT_ortho_4x4( | ||
| 33 | _______, _______, _______, _______, | ||
| 34 | _______, _______, _______, _______, | ||
| 35 | _______, _______, _______, _______, | ||
| 36 | _______, _______, _______, _______ | ||
| 37 | ), | ||
| 38 | LAYOUT_ortho_4x4( | ||
| 39 | _______, _______, _______, _______, | ||
| 40 | _______, _______, _______, _______, | ||
| 41 | _______, _______, _______, _______, | ||
| 42 | _______, _______, _______, _______ | ||
| 43 | ) | ||
| 44 | }; | ||
diff --git a/keyboards/jj4x4/keymaps/via/rules.mk b/keyboards/jj4x4/keymaps/via/rules.mk new file mode 100644 index 000000000..82fb80d5e --- /dev/null +++ b/keyboards/jj4x4/keymaps/via/rules.mk | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | EXTRAKEY_ENABLE = no | ||
| 3 | MOUSEKEY_ENABLE = no | ||
diff --git a/keyboards/jj4x4/README.md b/keyboards/jj4x4/readme.md index 24212bc99..714e8e88f 100644 --- a/keyboards/jj4x4/README.md +++ b/keyboards/jj4x4/readme.md | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | # jj4x4 | 1 | # JJ4x4 |
| 2 | 2 | ||
| 3 |  | 3 |  |
| 4 | 4 | ||
| 5 | A 4x4 keypad kit made and KPRepublic on AliExpress. This is a chopped off version of the jj40 with rearranged keys. | 5 | A 4x4 keypad kit made and KPRepublic on AliExpress. This is a chopped off version of the JJ40 with rearranged keys. |
| 6 | 6 | ||
| 7 | * Keyboard Maintainer: [QMK Community](https://github.com/qmk) | 7 | * Keyboard Maintainer: [QMK Community](https://github.com/qmk) |
| 8 | * Hardware Supported: Atmega32A | 8 | * Hardware Supported: Atmega32A |
| @@ -18,22 +18,22 @@ Flashing example for this keyboard ([after setting up the bootloadHID flashing e | |||
| 18 | 18 | ||
| 19 | **Reset Key**: | 19 | **Reset Key**: |
| 20 | 20 | ||
| 21 | Hold down the key located at *K12*, commonly programmed as *8* while plugging in the keyboard USB cable. | 21 | Hold down the key located at *K11*, commonly programmed as *8* while plugging in the keyboard USB cable. |
| 22 | 22 | ||
| 23 | Key *K12* is in the above picture: | 23 | Key *K11* is in the above picture: |
| 24 | 24 | ||
| 25 | Row 2 from the top, Column 2 from the left, see the schematic below: | 25 | Row 2 from the top, Column 2 from the left, see the schematic below: |
| 26 | 26 | ||
| 27 | ``` | 27 | ``` |
| 28 | ,-----------------------. | 28 | ,-----------------------. |
| 29 | | | | | | | 29 | | | | | | |
| 30 | |-----`-----`-----`-----| | 30 | |-----`-----`-----`-----| |
| 31 | | | K12 | | | | 31 | | | K11 | | | |
| 32 | |-----`-----`-----`-----| | 32 | |-----`-----`-----`-----| |
| 33 | | | | | | | 33 | | | | | | |
| 34 | |-----`-----`-----`-----| | 34 | |-----`-----`-----`-----| |
| 35 | | | | | | | 35 | | | | | | |
| 36 | `-----`-----`-----`-----' | 36 | `-----`-----`-----`-----' |
| 37 | ``` | 37 | ``` |
| 38 | 38 | ||
| 39 | 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). | 39 | 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). |
diff --git a/keyboards/jj4x4/rules.mk b/keyboards/jj4x4/rules.mk index 82e25e6a7..5ff5c3769 100644 --- a/keyboards/jj4x4/rules.mk +++ b/keyboards/jj4x4/rules.mk | |||
| @@ -31,6 +31,6 @@ UNICODE_ENABLE = no # Unicode | |||
| 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 31 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 32 | AUDIO_ENABLE = no # Audio output on port C6 | 32 | AUDIO_ENABLE = no # Audio output on port C6 |
| 33 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 33 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 34 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | 34 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs |
| 35 | 35 | ||
| 36 | LAYOUTS = ortho_4x4 | 36 | LAYOUTS = ortho_4x4 |
diff --git a/keyboards/keebio/bdn9/bdn9.c b/keyboards/keebio/bdn9/bdn9.c index 0ff55fd6d..f3842d098 100644 --- a/keyboards/keebio/bdn9/bdn9.c +++ b/keyboards/keebio/bdn9/bdn9.c | |||
| @@ -1 +1,18 @@ | |||
| 1 | #include "bdn9.h" | 1 | #include "bdn9.h" |
| 2 | |||
| 3 | void eeconfig_init_kb(void) { | ||
| 4 | #ifdef BACKLIGHT_ENABLE | ||
| 5 | backlight_enable(); | ||
| 6 | backlight_level(5); | ||
| 7 | #endif | ||
| 8 | #ifdef RGBLIGHT_ENABLE | ||
| 9 | rgblight_enable(); // Enable RGB by default | ||
| 10 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 11 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 12 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 13 | #endif | ||
| 14 | #endif | ||
| 15 | |||
| 16 | eeconfig_update_kb(0); | ||
| 17 | eeconfig_init_user(); | ||
| 18 | } | ||
diff --git a/keyboards/keebio/chocopad/chocopad.c b/keyboards/keebio/chocopad/chocopad.c index f54753af5..db62f02cc 100644 --- a/keyboards/keebio/chocopad/chocopad.c +++ b/keyboards/keebio/chocopad/chocopad.c | |||
| @@ -1 +1,18 @@ | |||
| 1 | #include "chocopad.h" | 1 | #include "chocopad.h" |
| 2 | |||
| 3 | void eeconfig_init_kb(void) { | ||
| 4 | #ifdef BACKLIGHT_ENABLE | ||
| 5 | backlight_enable(); | ||
| 6 | backlight_level(5); | ||
| 7 | #endif | ||
| 8 | #ifdef RGBLIGHT_ENABLE | ||
| 9 | rgblight_enable(); // Enable RGB by default | ||
| 10 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 11 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 12 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 13 | #endif | ||
| 14 | #endif | ||
| 15 | |||
| 16 | eeconfig_update_kb(0); | ||
| 17 | eeconfig_init_user(); | ||
| 18 | } | ||
diff --git a/keyboards/keebio/dilly/dilly.c b/keyboards/keebio/dilly/dilly.c index 89affe850..da17277f6 100644 --- a/keyboards/keebio/dilly/dilly.c +++ b/keyboards/keebio/dilly/dilly.c | |||
| @@ -1 +1,18 @@ | |||
| 1 | #include "dilly.h" | 1 | #include "dilly.h" |
| 2 | |||
| 3 | void eeconfig_init_kb(void) { | ||
| 4 | #ifdef BACKLIGHT_ENABLE | ||
| 5 | backlight_enable(); | ||
| 6 | backlight_level(3); | ||
| 7 | #endif | ||
| 8 | #ifdef RGBLIGHT_ENABLE | ||
| 9 | rgblight_enable(); // Enable RGB by default | ||
| 10 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 11 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 12 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 13 | #endif | ||
| 14 | #endif | ||
| 15 | |||
| 16 | eeconfig_update_kb(0); | ||
| 17 | eeconfig_init_user(); | ||
| 18 | } | ||
diff --git a/keyboards/keebio/ergodicity/ergodicity.c b/keyboards/keebio/ergodicity/ergodicity.c index 0bbcf6117..790dc2f61 100644 --- a/keyboards/keebio/ergodicity/ergodicity.c +++ b/keyboards/keebio/ergodicity/ergodicity.c | |||
| @@ -1,51 +1,18 @@ | |||
| 1 | /* Copyright 2019 Keebio | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "ergodicity.h" | 1 | #include "ergodicity.h" |
| 17 | 2 | ||
| 18 | // Optional override functions below. | 3 | void eeconfig_init_kb(void) { |
| 19 | // You can leave any or all of these undefined. | 4 | #ifdef BACKLIGHT_ENABLE |
| 20 | // These are only required if you want to perform custom actions. | 5 | backlight_enable(); |
| 21 | 6 | backlight_level(5); | |
| 22 | /* | 7 | #endif |
| 23 | 8 | #ifdef RGBLIGHT_ENABLE | |
| 24 | void matrix_init_kb(void) { | 9 | rgblight_enable(); // Enable RGB by default |
| 25 | // put your keyboard start-up code here | 10 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness |
| 26 | // runs once when the firmware starts up | 11 | #ifdef RGBLIGHT_ANIMATIONS |
| 27 | 12 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | |
| 28 | matrix_init_user(); | 13 | #endif |
| 14 | #endif | ||
| 15 | |||
| 16 | eeconfig_update_kb(0); | ||
| 17 | eeconfig_init_user(); | ||
| 29 | } | 18 | } |
| 30 | |||
| 31 | void matrix_scan_kb(void) { | ||
| 32 | // put your looping keyboard code here | ||
| 33 | // runs every cycle (a lot) | ||
| 34 | |||
| 35 | matrix_scan_user(); | ||
| 36 | } | ||
| 37 | |||
| 38 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
| 39 | // put your per-action keyboard code here | ||
| 40 | // runs for every action, just before processing by the firmware | ||
| 41 | |||
| 42 | return process_record_user(keycode, record); | ||
| 43 | } | ||
| 44 | |||
| 45 | void led_set_kb(uint8_t usb_led) { | ||
| 46 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
| 47 | |||
| 48 | led_set_user(usb_led); | ||
| 49 | } | ||
| 50 | |||
| 51 | */ | ||
diff --git a/keyboards/keebio/iris/keymaps/dvorak/config.h b/keyboards/keebio/iris/keymaps/dvorak/config.h new file mode 100644 index 000000000..d37d3c312 --- /dev/null +++ b/keyboards/keebio/iris/keymaps/dvorak/config.h | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2017 Danny Nguyen <danny@keeb.io> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Use I2C or Serial, not both */ | ||
| 21 | |||
| 22 | #define USE_SERIAL | ||
| 23 | |||
| 24 | /* Select hand configuration */ | ||
| 25 | |||
| 26 | #define MASTER_LEFT | ||
| 27 | |||
| 28 | #undef RGBLED_NUM | ||
| 29 | #define RGBLIGHT_ANIMATIONS | ||
| 30 | #define RGBLED_NUM 12 | ||
| 31 | #define RGBLIGHT_HUE_STEP 8 | ||
| 32 | #define RGBLIGHT_SAT_STEP 8 | ||
| 33 | #define RGBLIGHT_VAL_STEP 8 | ||
diff --git a/keyboards/keebio/iris/keymaps/dvorak/keebio_iris_rev2_layout_dvorak.json b/keyboards/keebio/iris/keymaps/dvorak/keebio_iris_rev2_layout_dvorak.json new file mode 100644 index 000000000..be5cc3793 --- /dev/null +++ b/keyboards/keebio/iris/keymaps/dvorak/keebio_iris_rev2_layout_dvorak.json | |||
| @@ -0,0 +1,192 @@ | |||
| 1 | { | ||
| 2 | "author": "", | ||
| 3 | "layers": [ | ||
| 4 | [ | ||
| 5 | "KC_ESC", | ||
| 6 | "KC_1", | ||
| 7 | "KC_2", | ||
| 8 | "KC_3", | ||
| 9 | "KC_4", | ||
| 10 | "KC_5", | ||
| 11 | "KC_6", | ||
| 12 | "KC_7", | ||
| 13 | "KC_8", | ||
| 14 | "KC_9", | ||
| 15 | "KC_0", | ||
| 16 | "KC_BSPC", | ||
| 17 | "KC_TAB", | ||
| 18 | "KC_QUOT", | ||
| 19 | "KC_COMM", | ||
| 20 | "KC_DOT", | ||
| 21 | "KC_P", | ||
| 22 | "KC_Y", | ||
| 23 | "KC_F", | ||
| 24 | "KC_G", | ||
| 25 | "KC_C", | ||
| 26 | "KC_R", | ||
| 27 | "KC_L", | ||
| 28 | "KC_SLSH", | ||
| 29 | "KC_LCTL", | ||
| 30 | "KC_A", | ||
| 31 | "KC_O", | ||
| 32 | "KC_E", | ||
| 33 | "KC_U", | ||
| 34 | "KC_I", | ||
| 35 | "KC_D", | ||
| 36 | "KC_H", | ||
| 37 | "KC_T", | ||
| 38 | "KC_N", | ||
| 39 | "KC_S", | ||
| 40 | "KC_MINS", | ||
| 41 | "KC_LSFT", | ||
| 42 | "KC_SCLN", | ||
| 43 | "KC_Q", | ||
| 44 | "KC_J", | ||
| 45 | "KC_K", | ||
| 46 | "KC_X", | ||
| 47 | "KC_HOME", | ||
| 48 | "KC_END", | ||
| 49 | "KC_B", | ||
| 50 | "KC_M", | ||
| 51 | "KC_W", | ||
| 52 | "KC_V", | ||
| 53 | "KC_Z", | ||
| 54 | "KC_RSFT", | ||
| 55 | "MO(1)", | ||
| 56 | "KC_LGUI", | ||
| 57 | "KC_ENT", | ||
| 58 | "KC_SPC", | ||
| 59 | "KC_RALT", | ||
| 60 | "MO(2)" | ||
| 61 | ], | ||
| 62 | [ | ||
| 63 | "KC_TILD", | ||
| 64 | "KC_EXLM", | ||
| 65 | "KC_AT", | ||
| 66 | "KC_HASH", | ||
| 67 | "KC_DLR", | ||
| 68 | "KC_PERC", | ||
| 69 | "KC_CIRC", | ||
| 70 | "KC_AMPR", | ||
| 71 | "KC_ASTR", | ||
| 72 | "KC_LPRN", | ||
| 73 | "KC_RPRN", | ||
| 74 | "KC_BSPC", | ||
| 75 | "RESET", | ||
| 76 | "KC_1", | ||
| 77 | "KC_2", | ||
| 78 | "KC_3", | ||
| 79 | "KC_4", | ||
| 80 | "KC_5", | ||
| 81 | "KC_6", | ||
| 82 | "KC_7", | ||
| 83 | "KC_8", | ||
| 84 | "KC_9", | ||
| 85 | "KC_0", | ||
| 86 | "KC_GRV", | ||
| 87 | "KC_DEL", | ||
| 88 | "KC_NO", | ||
| 89 | "KC_LEFT", | ||
| 90 | "KC_RGHT", | ||
| 91 | "KC_UP", | ||
| 92 | "KC_LCBR", | ||
| 93 | "KC_RCBR", | ||
| 94 | "KC_P4", | ||
| 95 | "KC_P5", | ||
| 96 | "KC_P6", | ||
| 97 | "KC_PPLS", | ||
| 98 | "KC_BSPC", | ||
| 99 | "BL_INC", | ||
| 100 | "KC_NO", | ||
| 101 | "KC_NO", | ||
| 102 | "KC_NO", | ||
| 103 | "KC_DOWN", | ||
| 104 | "KC_LBRC", | ||
| 105 | "KC_LPRN", | ||
| 106 | "KC_RPRN", | ||
| 107 | "KC_RBRC", | ||
| 108 | "KC_P1", | ||
| 109 | "KC_P2", | ||
| 110 | "KC_P3", | ||
| 111 | "KC_PMNS", | ||
| 112 | "KC_PIPE", | ||
| 113 | "KC_NO", | ||
| 114 | "KC_NO", | ||
| 115 | "KC_DEL", | ||
| 116 | "KC_DEL", | ||
| 117 | "KC_NO", | ||
| 118 | "KC_P0" | ||
| 119 | ], | ||
| 120 | [ | ||
| 121 | "KC_F12", | ||
| 122 | "KC_F1", | ||
| 123 | "KC_F2", | ||
| 124 | "KC_F3", | ||
| 125 | "KC_F4", | ||
| 126 | "KC_F5", | ||
| 127 | "KC_F6", | ||
| 128 | "KC_F7", | ||
| 129 | "KC_F8", | ||
| 130 | "KC_F9", | ||
| 131 | "KC_F10", | ||
| 132 | "KC_F11", | ||
| 133 | "RGB_TOG", | ||
| 134 | "KC_EXLM", | ||
| 135 | "KC_AT", | ||
| 136 | "KC_HASH", | ||
| 137 | "KC_DLR", | ||
| 138 | "KC_PERC", | ||
| 139 | "KC_CIRC", | ||
| 140 | "KC_AMPR", | ||
| 141 | "KC_ASTR", | ||
| 142 | "KC_LPRN", | ||
| 143 | "KC_RPRN", | ||
| 144 | "KC_NO", | ||
| 145 | "RGB_MOD", | ||
| 146 | "KC_MRWD", | ||
| 147 | "KC_MFFD", | ||
| 148 | "KC_VOLU", | ||
| 149 | "KC_PGUP", | ||
| 150 | "KC_UNDS", | ||
| 151 | "KC_PEQL", | ||
| 152 | "KC_HOME", | ||
| 153 | "RGB_HUI", | ||
| 154 | "RGB_SAI", | ||
| 155 | "RGB_VAI", | ||
| 156 | "KC_BSLS", | ||
| 157 | "KC_MUTE", | ||
| 158 | "KC_MSTP", | ||
| 159 | "KC_MPLY", | ||
| 160 | "KC_VOLD", | ||
| 161 | "KC_PGDN", | ||
| 162 | "KC_PMNS", | ||
| 163 | "KC_NO", | ||
| 164 | "KC_NO", | ||
| 165 | "KC_PPLS", | ||
| 166 | "KC_END", | ||
| 167 | "RGB_HUD", | ||
| 168 | "RGB_SAD", | ||
| 169 | "RGB_VAD", | ||
| 170 | "KC_NO", | ||
| 171 | "KC_NO", | ||
| 172 | "KC_NO", | ||
| 173 | "KC_NO", | ||
| 174 | "KC_NO", | ||
| 175 | "KC_NO", | ||
| 176 | "KC_NO" | ||
| 177 | ] | ||
| 178 | ], | ||
| 179 | "layout": "LAYOUT", | ||
| 180 | "keymap": "keebio_iris_rev2_layout_dvorak.json", | ||
| 181 | "keyboard": "keebio/iris/rev2", | ||
| 182 | "documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code. | ||
| 183 | |||
| 184 | To setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs> | ||
| 185 | |||
| 186 | You can convert this file to a keymap.c using this command: `qmk json2c {keymap}` | ||
| 187 | |||
| 188 | You can compile this keymap using this command: `qmk compile {keymap}`\" | ||
| 189 | ", | ||
| 190 | "notes": "", | ||
| 191 | "version": 1 | ||
| 192 | } | ||
diff --git a/keyboards/keebio/iris/keymaps/dvorak/keymap.c b/keyboards/keebio/iris/keymaps/dvorak/keymap.c new file mode 100644 index 000000000..3f0886521 --- /dev/null +++ b/keyboards/keebio/iris/keymaps/dvorak/keymap.c | |||
| @@ -0,0 +1,73 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | enum my_layers { | ||
| 3 | _DVORAK, | ||
| 4 | _LOWER, | ||
| 5 | _RAISE, | ||
| 6 | _ADJUST | ||
| 7 | }; | ||
| 8 | |||
| 9 | #define RAISE MO(_RAISE) | ||
| 10 | #define LOWER MO(_LOWER) | ||
| 11 | |||
| 12 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 13 | |||
| 14 | [_DVORAK] = LAYOUT( | ||
| 15 | //┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 16 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
| 17 | //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 18 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, | ||
| 19 | //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 20 | KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, | ||
| 21 | //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 22 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_HOME, KC_END, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, | ||
| 23 | //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘ | ||
| 24 | LOWER, KC_LGUI, KC_ENT, KC_SPC, KC_RALT, RAISE | ||
| 25 | // └────────┴────────┴────────┘ └────────┴────────┴────────┘ | ||
| 26 | ), | ||
| 27 | |||
| 28 | [_LOWER] = LAYOUT( | ||
| 29 | //┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 30 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 31 | //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 32 | RESET, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_GRAVE, | ||
| 33 | //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 34 | KC_DEL, _______, KC_LEFT, KC_RGHT, KC_UP, KC_LBRC, KC_RBRC, KC_P4, KC_P5, KC_P6, KC_PLUS, KC_BSPC, | ||
| 35 | //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 36 | BL_STEP, _______, _______, _______, KC_DOWN, KC_LCBR, KC_LPRN, KC_RPRN, KC_RCBR, KC_P1, KC_P2, KC_P3, KC_MINS, KC_PIPE, | ||
| 37 | //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘ | ||
| 38 | _______, _______, KC_DEL, KC_DEL, _______, KC_P0 | ||
| 39 | // └────────┴────────┴────────┘ └────────┴────────┴────────┘ | ||
| 40 | ), | ||
| 41 | |||
| 42 | [_RAISE] = LAYOUT( | ||
| 43 | //┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 44 | KC_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | ||
| 45 | //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 46 | RGB_TOG, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, | ||
| 47 | //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 48 | RGB_MOD, KC_MPRV, KC_MNXT, KC_VOLU, KC_PGUP, KC_UNDS, KC_EQL, KC_HOME, RGB_HUI, RGB_SAI, RGB_VAI, KC_BSLS, | ||
| 49 | //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 50 | KC_MUTE, KC_MSTP, KC_MPLY, KC_VOLD, KC_PGDN, KC_MINS, _______, _______, KC_PLUS, KC_END, RGB_HUD, RGB_SAD, RGB_VAD, _______, | ||
| 51 | //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘ | ||
| 52 | _______, _______, _______, _______, _______, _______ | ||
| 53 | // └────────┴────────┴────────┘ └────────┴────────┴────────┘ | ||
| 54 | ), | ||
| 55 | |||
| 56 | [_ADJUST] = LAYOUT( | ||
| 57 | //┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 58 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 59 | //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 60 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 61 | //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 62 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 63 | //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 64 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 65 | //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘ | ||
| 66 | _______, _______, _______, _______, _______, _______ | ||
| 67 | // └────────┴────────┴────────┘ └────────┴────────┴────────┘ | ||
| 68 | ) | ||
| 69 | }; | ||
| 70 | |||
| 71 | layer_state_t layer_state_set_user(layer_state_t state) { | ||
| 72 | return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); | ||
| 73 | } | ||
diff --git a/keyboards/keebio/iris/keymaps/dvorak/readme.md b/keyboards/keebio/iris/keymaps/dvorak/readme.md new file mode 100644 index 000000000..8397ef84a --- /dev/null +++ b/keyboards/keebio/iris/keymaps/dvorak/readme.md | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | |||
| 2 |  | ||
| 3 | |||
| 4 | # Dvorak | ||
| 5 | |||
| 6 | ``` | ||
| 7 | make keebio/iris/rev2:dvorak | ||
| 8 | ``` | ||
| 9 | ``` | ||
| 10 | make keebio/iris/rev3:dvorak | ||
| 11 | ``` | ||
| 12 | ``` | ||
| 13 | make keebio/iris/rev4:dvorak | ||
| 14 | ``` | ||
| 15 | |||
| 16 | Tested with Iris rev. 2 | ||
diff --git a/keyboards/keebio/iris/keymaps/dvorak/rules.mk b/keyboards/keebio/iris/keymaps/dvorak/rules.mk new file mode 100644 index 000000000..d7463419b --- /dev/null +++ b/keyboards/keebio/iris/keymaps/dvorak/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | RGBLIGHT_ENABLE = yes | ||
| 2 | BACKLIGHT_ENABLE = yes | ||
diff --git a/keyboards/keebio/iris/rev2/rev2.c b/keyboards/keebio/iris/rev2/rev2.c index 8575243f0..70c30695a 100644 --- a/keyboards/keebio/iris/rev2/rev2.c +++ b/keyboards/keebio/iris/rev2/rev2.c | |||
| @@ -1,12 +1,5 @@ | |||
| 1 | #include "rev2.h" | 1 | #include "rev2.h" |
| 2 | 2 | ||
| 3 | #ifdef SSD1306OLED | ||
| 4 | void led_set_kb(uint8_t usb_led) { | ||
| 5 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
| 6 | led_set_user(usb_led); | ||
| 7 | } | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #ifdef SWAP_HANDS_ENABLE | 3 | #ifdef SWAP_HANDS_ENABLE |
| 11 | __attribute__ ((weak)) | 4 | __attribute__ ((weak)) |
| 12 | // swap-hands action needs a matrix to define the swap | 5 | // swap-hands action needs a matrix to define the swap |
| @@ -26,3 +19,19 @@ const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { | |||
| 26 | }; | 19 | }; |
| 27 | #endif | 20 | #endif |
| 28 | 21 | ||
| 22 | void eeconfig_init_kb(void) { | ||
| 23 | #ifdef BACKLIGHT_ENABLE | ||
| 24 | backlight_enable(); | ||
| 25 | backlight_level(3); | ||
| 26 | #endif | ||
| 27 | #ifdef RGBLIGHT_ENABLE | ||
| 28 | rgblight_enable(); // Enable RGB by default | ||
| 29 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 30 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 31 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 32 | #endif | ||
| 33 | #endif | ||
| 34 | |||
| 35 | eeconfig_update_kb(0); | ||
| 36 | eeconfig_init_user(); | ||
| 37 | } | ||
diff --git a/keyboards/keebio/iris/rev3/rev3.c b/keyboards/keebio/iris/rev3/rev3.c index 7e49330c1..f58c2093c 100644 --- a/keyboards/keebio/iris/rev3/rev3.c +++ b/keyboards/keebio/iris/rev3/rev3.c | |||
| @@ -1,12 +1,5 @@ | |||
| 1 | #include "rev3.h" | 1 | #include "rev3.h" |
| 2 | 2 | ||
| 3 | #ifdef SSD1306OLED | ||
| 4 | void led_set_kb(uint8_t usb_led) { | ||
| 5 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
| 6 | led_set_user(usb_led); | ||
| 7 | } | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #ifdef SWAP_HANDS_ENABLE | 3 | #ifdef SWAP_HANDS_ENABLE |
| 11 | __attribute__ ((weak)) | 4 | __attribute__ ((weak)) |
| 12 | // swap-hands action needs a matrix to define the swap | 5 | // swap-hands action needs a matrix to define the swap |
| @@ -25,3 +18,20 @@ const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { | |||
| 25 | {{0,4}, {1,4}, {2,4}, {3,4}, {4,4}, {5,4}}, | 18 | {{0,4}, {1,4}, {2,4}, {3,4}, {4,4}, {5,4}}, |
| 26 | }; | 19 | }; |
| 27 | #endif | 20 | #endif |
| 21 | |||
| 22 | void eeconfig_init_kb(void) { | ||
| 23 | #ifdef BACKLIGHT_ENABLE | ||
| 24 | backlight_enable(); | ||
| 25 | backlight_level(3); | ||
| 26 | #endif | ||
| 27 | #ifdef RGBLIGHT_ENABLE | ||
| 28 | rgblight_enable(); // Enable RGB by default | ||
| 29 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 30 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 31 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 32 | #endif | ||
| 33 | #endif | ||
| 34 | |||
| 35 | eeconfig_update_kb(0); | ||
| 36 | eeconfig_init_user(); | ||
| 37 | } | ||
diff --git a/keyboards/keebio/iris/rev4/rev4.c b/keyboards/keebio/iris/rev4/rev4.c index bd0989acb..de2ba26db 100644 --- a/keyboards/keebio/iris/rev4/rev4.c +++ b/keyboards/keebio/iris/rev4/rev4.c | |||
| @@ -1 +1,18 @@ | |||
| 1 | #include "rev4.h" | 1 | #include "rev4.h" |
| 2 | |||
| 3 | void eeconfig_init_kb(void) { | ||
| 4 | #ifdef BACKLIGHT_ENABLE | ||
| 5 | backlight_enable(); | ||
| 6 | backlight_level(3); | ||
| 7 | #endif | ||
| 8 | #ifdef RGBLIGHT_ENABLE | ||
| 9 | rgblight_enable(); // Enable RGB by default | ||
| 10 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 11 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 12 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 13 | #endif | ||
| 14 | #endif | ||
| 15 | |||
| 16 | eeconfig_update_kb(0); | ||
| 17 | eeconfig_init_user(); | ||
| 18 | } | ||
diff --git a/keyboards/keebio/levinson/rev2/rev2.c b/keyboards/keebio/levinson/rev2/rev2.c index 573fa787b..8e65af7ad 100644 --- a/keyboards/keebio/levinson/rev2/rev2.c +++ b/keyboards/keebio/levinson/rev2/rev2.c | |||
| @@ -1,22 +1,18 @@ | |||
| 1 | #include "levinson.h" | 1 | #include "levinson.h" |
| 2 | 2 | ||
| 3 | #ifdef SSD1306OLED | 3 | void eeconfig_init_kb(void) { |
| 4 | void led_set_kb(uint8_t usb_led) { | 4 | #ifdef BACKLIGHT_ENABLE |
| 5 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | 5 | backlight_enable(); |
| 6 | led_set_user(usb_led); | 6 | backlight_level(5); |
| 7 | } | 7 | #endif |
| 8 | #ifdef RGBLIGHT_ENABLE | ||
| 9 | rgblight_enable(); // Enable RGB by default | ||
| 10 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 11 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 12 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 13 | #endif | ||
| 8 | #endif | 14 | #endif |
| 9 | 15 | ||
| 10 | void matrix_init_kb(void) { | 16 | eeconfig_update_kb(0); |
| 11 | 17 | eeconfig_init_user(); | |
| 12 | // // green led on | 18 | } |
| 13 | // DDRD |= (1<<5); | ||
| 14 | // PORTD &= ~(1<<5); | ||
| 15 | |||
| 16 | // // orange led on | ||
| 17 | // DDRB |= (1<<0); | ||
| 18 | // PORTB &= ~(1<<0); | ||
| 19 | |||
| 20 | matrix_init_user(); | ||
| 21 | }; | ||
| 22 | |||
diff --git a/keyboards/keebio/levinson/rev3/rev3.c b/keyboards/keebio/levinson/rev3/rev3.c index 573fa787b..8e65af7ad 100644 --- a/keyboards/keebio/levinson/rev3/rev3.c +++ b/keyboards/keebio/levinson/rev3/rev3.c | |||
| @@ -1,22 +1,18 @@ | |||
| 1 | #include "levinson.h" | 1 | #include "levinson.h" |
| 2 | 2 | ||
| 3 | #ifdef SSD1306OLED | 3 | void eeconfig_init_kb(void) { |
| 4 | void led_set_kb(uint8_t usb_led) { | 4 | #ifdef BACKLIGHT_ENABLE |
| 5 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | 5 | backlight_enable(); |
| 6 | led_set_user(usb_led); | 6 | backlight_level(5); |
| 7 | } | 7 | #endif |
| 8 | #ifdef RGBLIGHT_ENABLE | ||
| 9 | rgblight_enable(); // Enable RGB by default | ||
| 10 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 11 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 12 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 13 | #endif | ||
| 8 | #endif | 14 | #endif |
| 9 | 15 | ||
| 10 | void matrix_init_kb(void) { | 16 | eeconfig_update_kb(0); |
| 11 | 17 | eeconfig_init_user(); | |
| 12 | // // green led on | 18 | } |
| 13 | // DDRD |= (1<<5); | ||
| 14 | // PORTD &= ~(1<<5); | ||
| 15 | |||
| 16 | // // orange led on | ||
| 17 | // DDRB |= (1<<0); | ||
| 18 | // PORTB &= ~(1<<0); | ||
| 19 | |||
| 20 | matrix_init_user(); | ||
| 21 | }; | ||
| 22 | |||
diff --git a/keyboards/keebio/nyquist/rev2/rev2.c b/keyboards/keebio/nyquist/rev2/rev2.c index 9922b8995..b5652e06d 100644 --- a/keyboards/keebio/nyquist/rev2/rev2.c +++ b/keyboards/keebio/nyquist/rev2/rev2.c | |||
| @@ -1,21 +1,18 @@ | |||
| 1 | #include "rev2.h" | 1 | #include "rev2.h" |
| 2 | 2 | ||
| 3 | #ifdef SSD1306OLED | 3 | void eeconfig_init_kb(void) { |
| 4 | void led_set_kb(uint8_t usb_led) { | 4 | #ifdef BACKLIGHT_ENABLE |
| 5 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | 5 | backlight_enable(); |
| 6 | led_set_user(usb_led); | 6 | backlight_level(5); |
| 7 | } | 7 | #endif |
| 8 | #ifdef RGBLIGHT_ENABLE | ||
| 9 | rgblight_enable(); // Enable RGB by default | ||
| 10 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 11 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 12 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 13 | #endif | ||
| 8 | #endif | 14 | #endif |
| 9 | 15 | ||
| 10 | void matrix_init_kb(void) { | 16 | eeconfig_update_kb(0); |
| 11 | 17 | eeconfig_init_user(); | |
| 12 | // // green led on | 18 | } |
| 13 | // DDRD |= (1<<5); | ||
| 14 | // PORTD &= ~(1<<5); | ||
| 15 | |||
| 16 | // // orange led on | ||
| 17 | // DDRB |= (1<<0); | ||
| 18 | // PORTB &= ~(1<<0); | ||
| 19 | |||
| 20 | matrix_init_user(); | ||
| 21 | }; | ||
diff --git a/keyboards/keebio/nyquist/rev3/rev3.c b/keyboards/keebio/nyquist/rev3/rev3.c index 34500fb10..6d7dc3531 100644 --- a/keyboards/keebio/nyquist/rev3/rev3.c +++ b/keyboards/keebio/nyquist/rev3/rev3.c | |||
| @@ -1,21 +1,18 @@ | |||
| 1 | #include "rev3.h" | 1 | #include "rev3.h" |
| 2 | 2 | ||
| 3 | #ifdef SSD1306OLED | 3 | void eeconfig_init_kb(void) { |
| 4 | void led_set_kb(uint8_t usb_led) { | 4 | #ifdef BACKLIGHT_ENABLE |
| 5 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | 5 | backlight_enable(); |
| 6 | led_set_user(usb_led); | 6 | backlight_level(5); |
| 7 | } | 7 | #endif |
| 8 | #ifdef RGBLIGHT_ENABLE | ||
| 9 | rgblight_enable(); // Enable RGB by default | ||
| 10 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 11 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 12 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 13 | #endif | ||
| 8 | #endif | 14 | #endif |
| 9 | 15 | ||
| 10 | void matrix_init_kb(void) { | 16 | eeconfig_update_kb(0); |
| 11 | 17 | eeconfig_init_user(); | |
| 12 | // // green led on | 18 | } |
| 13 | // DDRD |= (1<<5); | ||
| 14 | // PORTD &= ~(1<<5); | ||
| 15 | |||
| 16 | // // orange led on | ||
| 17 | // DDRB |= (1<<0); | ||
| 18 | // PORTB &= ~(1<<0); | ||
| 19 | |||
| 20 | matrix_init_user(); | ||
| 21 | }; | ||
diff --git a/keyboards/keebio/quefrency/rev1/rev1.c b/keyboards/keebio/quefrency/rev1/rev1.c index a690a7eff..567730535 100644 --- a/keyboards/keebio/quefrency/rev1/rev1.c +++ b/keyboards/keebio/quefrency/rev1/rev1.c | |||
| @@ -1,5 +1,14 @@ | |||
| 1 | #include "quefrency.h" | 1 | #include "quefrency.h" |
| 2 | 2 | ||
| 3 | void matrix_init_kb(void) { | 3 | void eeconfig_init_kb(void) { |
| 4 | matrix_init_user(); | 4 | #ifdef RGBLIGHT_ENABLE |
| 5 | }; | 5 | rgblight_enable(); // Enable RGB by default |
| 6 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 7 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 8 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 9 | #endif | ||
| 10 | #endif | ||
| 11 | |||
| 12 | eeconfig_update_kb(0); | ||
| 13 | eeconfig_init_user(); | ||
| 14 | } | ||
diff --git a/keyboards/keebio/viterbi/rev2/rev2.c b/keyboards/keebio/viterbi/rev2/rev2.c index 509e42dc5..dbf584f99 100644 --- a/keyboards/keebio/viterbi/rev2/rev2.c +++ b/keyboards/keebio/viterbi/rev2/rev2.c | |||
| @@ -1 +1,18 @@ | |||
| 1 | #include "viterbi.h" | 1 | #include "viterbi.h" |
| 2 | |||
| 3 | void eeconfig_init_kb(void) { | ||
| 4 | #ifdef BACKLIGHT_ENABLE | ||
| 5 | backlight_enable(); | ||
| 6 | backlight_level(5); | ||
| 7 | #endif | ||
| 8 | #ifdef RGBLIGHT_ENABLE | ||
| 9 | rgblight_enable(); // Enable RGB by default | ||
| 10 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 11 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 12 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 13 | #endif | ||
| 14 | #endif | ||
| 15 | |||
| 16 | eeconfig_update_kb(0); | ||
| 17 | eeconfig_init_user(); | ||
| 18 | } | ||
diff --git a/keyboards/maartenwut/plain60/keymaps/via/keymap.c b/keyboards/maartenwut/plain60/keymaps/via/keymap.c index 7e8cfff35..a500f2389 100644 --- a/keyboards/maartenwut/plain60/keymaps/via/keymap.c +++ b/keyboards/maartenwut/plain60/keymaps/via/keymap.c | |||
| @@ -1,17 +1,32 @@ | |||
| 1 | #include QMK_KEYBOARD_H | 1 | #include QMK_KEYBOARD_H |
| 2 | 2 | ||
| 3 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 4 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 5 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 6 | // entirely and just use numbers. | ||
| 7 | #define _MA 0 | ||
| 8 | |||
| 9 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 10 | 4 | ||
| 11 | [_MA] = LAYOUT( | 5 | [0] = LAYOUT( |
| 12 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, \ | 6 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, |
| 13 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, \ | 7 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, |
| 14 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, \ | 8 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, |
| 15 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, \ | 9 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), |
| 16 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTRL) | 10 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTRL), |
| 11 | |||
| 12 | [1] = LAYOUT( | ||
| 13 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, | ||
| 14 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 15 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 16 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 17 | _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 18 | |||
| 19 | [2] = LAYOUT( | ||
| 20 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 21 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 22 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 23 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 24 | _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 25 | |||
| 26 | [3] = LAYOUT( | ||
| 27 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 17 | }; | 32 | }; |
diff --git a/keyboards/maartenwut/ta65/config.h b/keyboards/maartenwut/ta65/config.h index d54a6273d..729f21a2e 100644 --- a/keyboards/maartenwut/ta65/config.h +++ b/keyboards/maartenwut/ta65/config.h | |||
| @@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define PRODUCT_ID 0x7465 | 24 | #define PRODUCT_ID 0x7465 |
| 25 | #define DEVICE_VER 0x0001 | 25 | #define DEVICE_VER 0x0001 |
| 26 | #define MANUFACTURER Maartenwut | 26 | #define MANUFACTURER Maartenwut |
| 27 | #define PRODUCT TA-65 | 27 | #define PRODUCT ta-65 |
| 28 | #define DESCRIPTION A universal 65% PCB with underglow. | 28 | #define DESCRIPTION A universal 65% PCB with underglow. |
| 29 | 29 | ||
| 30 | /* key matrix size */ | 30 | /* key matrix size */ |
| @@ -37,6 +37,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | #define MATRIX_COL_PINS {D2,D1,D0,D3,D5,C7,C6,B6,B5,F0,F1,F4,F5,F6,F7,B0} | 37 | #define MATRIX_COL_PINS {D2,D1,D0,D3,D5,C7,C6,B6,B5,F0,F1,F4,F5,F6,F7,B0} |
| 38 | #define UNUSED_PINS | 38 | #define UNUSED_PINS |
| 39 | 39 | ||
| 40 | #define ENCODERS_PAD_A { B2 } | ||
| 41 | #define ENCODERS_PAD_B { B1 } | ||
| 42 | |||
| 43 | /* Uncomment if your encoder doesn't react to every turn or skips */ | ||
| 44 | //#define ENCODER_RESOLUTION 2 | ||
| 45 | |||
| 40 | /* COL2ROW or ROW2COL */ | 46 | /* COL2ROW or ROW2COL */ |
| 41 | #define DIODE_DIRECTION COL2ROW | 47 | #define DIODE_DIRECTION COL2ROW |
| 42 | 48 | ||
diff --git a/keyboards/maartenwut/ta65/keymaps/default/keymap.c b/keyboards/maartenwut/ta65/keymaps/default/keymap.c index b04172c75..8bb8a14ba 100644 --- a/keyboards/maartenwut/ta65/keymaps/default/keymap.c +++ b/keyboards/maartenwut/ta65/keymaps/default/keymap.c | |||
| @@ -1,17 +1,38 @@ | |||
| 1 | #include QMK_KEYBOARD_H | 1 | #include QMK_KEYBOARD_H |
| 2 | 2 | ||
| 3 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 4 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 5 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 6 | // entirely and just use numbers. | ||
| 7 | #define _MA 0 | ||
| 8 | |||
| 9 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 10 | 4 | ||
| 11 | [_MA] = LAYOUT_all( | 5 | [0] = LAYOUT_all( |
| 12 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_GRV, | 6 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_INS, |
| 13 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, | 7 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, |
| 14 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGUP, | 8 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGUP, |
| 15 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, | 9 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, |
| 16 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_APP, KC_RCTRL, KC_LEFT, KC_DOWN, KC_RGHT) | 10 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTRL, KC_LEFT, KC_DOWN, KC_RGHT), |
| 11 | |||
| 12 | [1] = LAYOUT_all( | ||
| 13 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 14 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 15 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 16 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 17 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 18 | |||
| 17 | }; | 19 | }; |
| 20 | |||
| 21 | void encoder_update_user(uint8_t index, bool clockwise) { | ||
| 22 | switch(get_highest_layer(layer_state)){ | ||
| 23 | case 1: //Layer 1 | ||
| 24 | if (!clockwise) { // Remove ! to reverse direction | ||
| 25 | tap_code(KC_WH_U); | ||
| 26 | } else { | ||
| 27 | tap_code(KC_WH_D); | ||
| 28 | } | ||
| 29 | break; | ||
| 30 | default: //Layer 0 | ||
| 31 | if (!clockwise) { | ||
| 32 | tap_code(KC_VOLU); | ||
| 33 | } else { | ||
| 34 | tap_code(KC_VOLD); | ||
| 35 | } | ||
| 36 | break; | ||
| 37 | } | ||
| 38 | } | ||
diff --git a/keyboards/maartenwut/ta65/keymaps/via/keymap.c b/keyboards/maartenwut/ta65/keymaps/via/keymap.c new file mode 100644 index 000000000..e2d96eb9c --- /dev/null +++ b/keyboards/maartenwut/ta65/keymaps/via/keymap.c | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | [0] = LAYOUT_all( | ||
| 6 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSLS, KC_INS, | ||
| 7 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, | ||
| 8 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGUP, | ||
| 9 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, | ||
| 10 | KC_CAPS, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTRL,MO(2), KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 11 | |||
| 12 | [1] = LAYOUT_all( | ||
| 13 | KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_PSCR, | ||
| 14 | _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______, _______, _______, KC_INS, | ||
| 15 | _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, KC_HOME, | ||
| 16 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_END, | ||
| 17 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 18 | |||
| 19 | [2] = LAYOUT_all( | ||
| 20 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 21 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 22 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 23 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 24 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 25 | |||
| 26 | [3] = LAYOUT_all( | ||
| 27 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
| 32 | |||
| 33 | }; | ||
diff --git a/keyboards/maartenwut/ta65/keymaps/via/rules.mk b/keyboards/maartenwut/ta65/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/maartenwut/ta65/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/maartenwut/ta65/rules.mk b/keyboards/maartenwut/ta65/rules.mk index db0567bd0..86efb933b 100644 --- a/keyboards/maartenwut/ta65/rules.mk +++ b/keyboards/maartenwut/ta65/rules.mk | |||
| @@ -12,19 +12,24 @@ MCU = atmega32u4 | |||
| 12 | BOOTLOADER = qmk-dfu | 12 | BOOTLOADER = qmk-dfu |
| 13 | 13 | ||
| 14 | # Build Options | 14 | # Build Options |
| 15 | # comment out to disable the options. | 15 | # change yes to no to disable |
| 16 | # | 16 | # |
| 17 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 17 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
| 18 | MOUSEKEY_ENABLE = yes # Mouse keys | 18 | MOUSEKEY_ENABLE = yes # Mouse keys |
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control | 19 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 20 | CONSOLE_ENABLE = no # Console for debug | 20 | CONSOLE_ENABLE = yes # Console for debug |
| 21 | COMMAND_ENABLE = no # Commands for debug and configuration | 21 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 22 | NKRO_ENABLE = no # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 23 | RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality | 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 24 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 24 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 25 | MIDI_ENABLE = no # MIDI controls | 25 | NKRO_ENABLE = no # USB Nkey Rollover |
| 26 | AUDIO_ENABLE = no | 26 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 27 | UNICODE_ENABLE = no # Unicode | 27 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 28 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 28 | MIDI_ENABLE = no # MIDI support |
| 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 30 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | ||
| 33 | ENCODER_ENABLE = yes | ||
| 29 | 34 | ||
| 30 | LAYOUTS = 65_ansi 65_iso | 35 | LAYOUTS = 65_ansi 65_iso |
diff --git a/keyboards/maartenwut/wasdat/info.json b/keyboards/maartenwut/wasdat/info.json index 8f931f46c..6154bd555 100644 --- a/keyboards/maartenwut/wasdat/info.json +++ b/keyboards/maartenwut/wasdat/info.json | |||
| @@ -185,7 +185,6 @@ | |||
| 185 | {"label":"P", "x":10.5, "y":2.5}, | 185 | {"label":"P", "x":10.5, "y":2.5}, |
| 186 | {"label":"{", "x":11.5, "y":2.5}, | 186 | {"label":"{", "x":11.5, "y":2.5}, |
| 187 | {"label":"}", "x":12.5, "y":2.5}, | 187 | {"label":"}", "x":12.5, "y":2.5}, |
| 188 | {"label":"Enter", "x":13.75, "y":2.5, "w":1.25, "h":2}, | ||
| 189 | 188 | ||
| 190 | {"label":"Delete", "x":15.25, "y":2.5}, | 189 | {"label":"Delete", "x":15.25, "y":2.5}, |
| 191 | {"label":"End", "x":16.25, "y":2.5}, | 190 | {"label":"End", "x":16.25, "y":2.5}, |
| @@ -209,6 +208,7 @@ | |||
| 209 | {"label":":", "x":10.75, "y":3.5}, | 208 | {"label":":", "x":10.75, "y":3.5}, |
| 210 | {"label":"@", "x":11.75, "y":3.5}, | 209 | {"label":"@", "x":11.75, "y":3.5}, |
| 211 | {"label":"~", "x":12.75, "y":3.5}, | 210 | {"label":"~", "x":12.75, "y":3.5}, |
| 211 | {"label":"Enter", "x":13.75, "y":2.5, "w":1.25, "h":2}, | ||
| 212 | 212 | ||
| 213 | {"label":"4", "x":18.5, "y":3.5}, | 213 | {"label":"4", "x":18.5, "y":3.5}, |
| 214 | {"label":"5", "x":19.5, "y":3.5}, | 214 | {"label":"5", "x":19.5, "y":3.5}, |
| @@ -405,7 +405,6 @@ | |||
| 405 | {"label":"P", "x":10.5, "y":2.5}, | 405 | {"label":"P", "x":10.5, "y":2.5}, |
| 406 | {"label":"{", "x":11.5, "y":2.5}, | 406 | {"label":"{", "x":11.5, "y":2.5}, |
| 407 | {"label":"}", "x":12.5, "y":2.5}, | 407 | {"label":"}", "x":12.5, "y":2.5}, |
| 408 | {"label":"Enter", "x":13.75, "y":2.5, "w":1.25, "h":2}, | ||
| 409 | 408 | ||
| 410 | {"label":"Delete", "x":15.25, "y":2.5}, | 409 | {"label":"Delete", "x":15.25, "y":2.5}, |
| 411 | {"label":"End", "x":16.25, "y":2.5}, | 410 | {"label":"End", "x":16.25, "y":2.5}, |
| @@ -424,6 +423,7 @@ | |||
| 424 | {"label":":", "x":10.75, "y":3.5}, | 423 | {"label":":", "x":10.75, "y":3.5}, |
| 425 | {"label":"@", "x":11.75, "y":3.5}, | 424 | {"label":"@", "x":11.75, "y":3.5}, |
| 426 | {"label":"~", "x":12.75, "y":3.5}, | 425 | {"label":"~", "x":12.75, "y":3.5}, |
| 426 | {"label":"Enter", "x":13.75, "y":2.5, "w":1.25, "h":2}, | ||
| 427 | 427 | ||
| 428 | {"label":"Shift", "x":0, "y":4.5, "w":1.25}, | 428 | {"label":"Shift", "x":0, "y":4.5, "w":1.25}, |
| 429 | {"label":"|", "x":1.25, "y":4.5}, | 429 | {"label":"|", "x":1.25, "y":4.5}, |
diff --git a/keyboards/maartenwut/wasdat_code/config.h b/keyboards/maartenwut/wasdat_code/config.h index 724488a99..16d5acd9c 100644 --- a/keyboards/maartenwut/wasdat_code/config.h +++ b/keyboards/maartenwut/wasdat_code/config.h | |||
| @@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | 21 | ||
| 22 | /* USB Device descriptor parameter */ | 22 | /* USB Device descriptor parameter */ |
| 23 | #define VENDOR_ID 0x4705 | 23 | #define VENDOR_ID 0x4705 |
| 24 | #define PRODUCT_ID 0xC574 | 24 | #define PRODUCT_ID 0xB00E |
| 25 | #define DEVICE_VER 0x0001 | 25 | #define DEVICE_VER 0x0001 |
| 26 | #define MANUFACTURER Maartenwut | 26 | #define MANUFACTURER Maartenwut |
| 27 | #define PRODUCT Wasdat Code | 27 | #define PRODUCT Wasdat Code |
| @@ -60,7 +60,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 60 | 60 | ||
| 61 | #define BACKLIGHT_PIN B7 | 61 | #define BACKLIGHT_PIN B7 |
| 62 | #define BACKLIGHT_BREATHING | 62 | #define BACKLIGHT_BREATHING |
| 63 | #define BACKLIGHT_LEVELS 3 | 63 | #define BACKLIGHT_LEVELS 5 |
| 64 | 64 | ||
| 65 | // #define RGB_DI_PIN E2 | 65 | // #define RGB_DI_PIN E2 |
| 66 | // #ifdef RGB_DI_PIN | 66 | // #ifdef RGB_DI_PIN |
| @@ -254,3 +254,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 254 | /* Bootmagic Lite key configuration */ | 254 | /* Bootmagic Lite key configuration */ |
| 255 | #define BOOTMAGIC_LITE_ROW 2 | 255 | #define BOOTMAGIC_LITE_ROW 2 |
| 256 | #define BOOTMAGIC_LITE_COLUMN 3 | 256 | #define BOOTMAGIC_LITE_COLUMN 3 |
| 257 | |||
| 258 | #define DYNAMIC_KEYMAP_LAYER_COUNT 3 | ||
diff --git a/keyboards/maartenwut/wasdat_code/keymaps/via/keymap.c b/keyboards/maartenwut/wasdat_code/keymaps/via/keymap.c new file mode 100644 index 000000000..c3155c1e7 --- /dev/null +++ b/keyboards/maartenwut/wasdat_code/keymaps/via/keymap.c | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | /* Copyright 2019 Maarten Dekkers <maartenwut@gmail.com> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | [0] = LAYOUT_all( | ||
| 20 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, | ||
| 21 | |||
| 22 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PPLS, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_P4, KC_P5, KC_P6, | ||
| 25 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT | ||
| 27 | ), | ||
| 28 | [1] = LAYOUT_all( | ||
| 29 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_STEP, BL_TOGG, _______, _______, KC_MUTE, | ||
| 30 | |||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_VOLU, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_VOLD, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 36 | ), | ||
| 37 | [2] = LAYOUT_all( | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | |||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 45 | ) | ||
| 46 | }; | ||
diff --git a/keyboards/maartenwut/wasdat_code/keymaps/via/rules.mk b/keyboards/maartenwut/wasdat_code/keymaps/via/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/maartenwut/wasdat_code/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/maartenwut/wasdat_code/wasdat_code.h b/keyboards/maartenwut/wasdat_code/wasdat_code.h index 1f7b24de0..5b3ed2091 100644 --- a/keyboards/maartenwut/wasdat_code/wasdat_code.h +++ b/keyboards/maartenwut/wasdat_code/wasdat_code.h | |||
| @@ -27,6 +27,9 @@ | |||
| 27 | * The second converts the arguments into a two-dimensional array which | 27 | * The second converts the arguments into a two-dimensional array which |
| 28 | * represents the switch matrix. | 28 | * represents the switch matrix. |
| 29 | */ | 29 | */ |
| 30 | |||
| 31 | #define LAYOUT_all LAYOUT_fullsize_iso | ||
| 32 | |||
| 30 | #define LAYOUT_fullsize_ansi( \ | 33 | #define LAYOUT_fullsize_ansi( \ |
| 31 | k05, k64, k62, k22, k02, k31, k0c, k2f, k6f, k6b, k3b, k0b, k5b, k33, k43, k41, \ | 34 | k05, k64, k62, k22, k02, k31, k0c, k2f, k6f, k6b, k3b, k0b, k5b, k33, k43, k41, \ |
| 32 | k65, k35, k34, k32, k30, k60, k6a, k3a, k3c, k3f, k3d, k6d, k6c, k2b, k67, k6e, k66, k78, k77, k76, k56, \ | 35 | k65, k35, k34, k32, k30, k60, k6a, k3a, k3c, k3f, k3d, k6d, k6c, k2b, k67, k6e, k66, k78, k77, k76, k56, \ |
diff --git a/keyboards/sirius/uni660/info.json b/keyboards/sirius/uni660/info.json deleted file mode 100644 index 296626d06..000000000 --- a/keyboards/sirius/uni660/info.json +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Uni660", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 12, | ||
| 6 | "height": 5.75, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [{"x":0, "y":0.75}, {"x":1, "y":0.25}, {"x":2, "y":0}, {"x":3, "y":0.25}, {"x":4, "y":0.125}, {"x":7, "y":0.125}, {"x":8, "y":0.25}, {"x":9, "y":0}, {"x":10, "y":0.25}, {"x":11, "y":0.75}, {"x":0, "y":1.75}, {"x":1, "y":1.25}, {"x":2, "y":1}, {"x":3, "y":1.25}, {"x":4, "y":1.125}, {"x":7, "y":1.125}, {"x":8, "y":1.25}, {"x":9, "y":1}, {"x":10, "y":1.25}, {"x":11, "y":1.75}, {"x":0, "y":2.75}, {"x":1, "y":2.25}, {"x":2, "y":2}, {"x":3, "y":2.25}, {"x":4, "y":2.125}, {"x":7, "y":2.125}, {"x":8, "y":2.25}, {"x":9, "y":2}, {"x":10, "y":2.25}, {"x":11, "y":2.75}, {"x":1.5, "y":3.75}, {"x":2.5, "y":3.75}, {"x":3.5, "y":3.75}, {"x":4.5, "y":3.75}, {"x":6.5, "y":3.75}, {"x":7.5, "y":3.75}, {"x":8.5, "y":3.75}, {"x":9.5, "y":3.75}, {"x":1.5, "y":4.75}, {"x":2.5, "y":4.75}, {"x":3.5, "y":4.75}, {"x":4.5, "y":4.75}, {"x":6.5, "y":4.75}, {"x":7.5, "y":4.75}, {"x":8.5, "y":4.75}, {"x":9.5, "y":4.75}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } | ||
diff --git a/keyboards/sirius/uni660/readme.md b/keyboards/sirius/uni660/readme.md index c3d2dbc1b..4a45c6276 100644 --- a/keyboards/sirius/uni660/readme.md +++ b/keyboards/sirius/uni660/readme.md | |||
| @@ -6,7 +6,11 @@ Join the KeyCommerce [Discord](https://discord.gg/GJ8bdM) | |||
| 6 | 6 | ||
| 7 | Make example: | 7 | Make example: |
| 8 | 8 | ||
| 9 | make sirius/uni660:default | 9 | ``` |
| 10 | qmk compile -kb sirius/uni660/rev1 -km default | ||
| 11 | qmk compile -kb sirius/uni660/rev2/ansi -km default | ||
| 12 | qmk compile -kb sirius/uni660/rev2/iso -km default | ||
| 13 | ``` | ||
| 10 | 14 | ||
| 11 | 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). | 15 | 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). |
| 12 | 16 | ||
diff --git a/keyboards/sirius/uni660/config.h b/keyboards/sirius/uni660/rev1/config.h index 06f1c7810..06f1c7810 100644 --- a/keyboards/sirius/uni660/config.h +++ b/keyboards/sirius/uni660/rev1/config.h | |||
diff --git a/keyboards/sirius/uni660/rev1/info.json b/keyboards/sirius/uni660/rev1/info.json new file mode 100644 index 000000000..aa6b01cdf --- /dev/null +++ b/keyboards/sirius/uni660/rev1/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Uni660", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 19, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"~", "x":1.5, "y":0}, {"label":"!", "x":2.5, "y":0}, {"label":"@", "x":3.5, "y":0}, {"label":"#", "x":4.5, "y":0}, {"label":"$", "x":5.5, "y":0}, {"label":"%", "x":6.5, "y":0}, {"label":"^", "x":7.5, "y":0}, {"label":"&", "x":9.5, "y":0}, {"label":"*", "x":10.5, "y":0}, {"label":"(", "x":11.5, "y":0}, {"label":")", "x":12.5, "y":0}, {"label":"_", "x":13.5, "y":0}, {"label":"+", "x":14.5, "y":0}, {"label":"Backspace", "x":15.5, "y":0, "w":2}, {"label":"Insert", "x":18, "y":0}, {"label":"F1", "x":0, "y":1}, {"label":"Tab", "x":1.5, "y":1, "w":1.5}, {"label":"Q", "x":3, "y":1}, {"label":"W", "x":4, "y":1}, {"label":"E", "x":5, "y":1}, {"label":"R", "x":6, "y":1}, {"label":"T", "x":7, "y":1}, {"label":"Y", "x":9, "y":1}, {"label":"U", "x":10, "y":1}, {"label":"I", "x":11, "y":1}, {"label":"O", "x":12, "y":1}, {"label":"P", "x":13, "y":1}, {"label":"{", "x":14, "y":1}, {"label":"}", "x":15, "y":1}, {"label":"|", "x":16, "y":1, "w":1.5}, {"label":"Delete", "x":18, "y":1}, {"label":"F2", "x":0, "y":2}, {"label":"Caps Lock", "x":1.5, "y":2, "w":1.75}, {"label":"A", "x":3.25, "y":2}, {"label":"S", "x":4.25, "y":2}, {"label":"D", "x":5.25, "y":2}, {"label":"F", "x":6.25, "y":2}, {"label":"G", "x":7.25, "y":2}, {"label":"H", "x":9.25, "y":2}, {"label":"J", "x":10.25, "y":2}, {"label":"K", "x":11.25, "y":2}, {"label":"L", "x":12.25, "y":2}, {"label":":", "x":13.25, "y":2}, {"label":"\"", "x":14.25, "y":2}, {"label":"Enter", "x":15.25, "y":2, "w":2.25}, {"label":"F3", "x":0, "y":3}, {"label":"Shift", "x":1.5, "y":3, "w":2.25}, {"label":"Z", "x":3.75, "y":3}, {"label":"X", "x":4.75, "y":3}, {"label":"C", "x":5.75, "y":3}, {"label":"V", "x":6.75, "y":3}, {"label":"B", "x":7.75, "y":3}, {"label":"N", "x":9.75, "y":3}, {"label":"M", "x":10.75, "y":3}, {"label":"<", "x":11.75, "y":3}, {"label":">", "x":12.75, "y":3}, {"label":"?", "x":13.75, "y":3}, {"label":"Shift", "x":14.75, "y":3, "w":2.25}, {"label":"Up", "x":17, "y":3}, {"label":"F4", "x":0, "y":4}, {"label":"Ctrl", "x":1.5, "y":4, "w":1.25}, {"label":"Win", "x":2.75, "y":4, "w":1.25}, {"label":"Alt", "x":4, "y":4, "w":1.25}, {"x":5.25, "y":4, "w":2.25}, {"label":"Fn", "x":7.5, "y":4}, {"x":9.5, "y":4, "w":2.75}, {"label":"Alt", "x":12.25, "y":4, "w":1.25}, {"label":"Menu", "x":13.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":14.75, "y":4, "w":1.25}, {"label":"Left", "x":16, "y":4}, {"label":"Down", "x":17, "y":4}, {"label":"Right", "x":18, "y":4}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } \ No newline at end of file | ||
diff --git a/keyboards/sirius/uni660/keymaps/default/keymap.c b/keyboards/sirius/uni660/rev1/keymaps/default/keymap.c index 336aa8410..336aa8410 100644 --- a/keyboards/sirius/uni660/keymaps/default/keymap.c +++ b/keyboards/sirius/uni660/rev1/keymaps/default/keymap.c | |||
diff --git a/keyboards/sirius/uni660/keymaps/via/keymap.c b/keyboards/sirius/uni660/rev1/keymaps/via/keymap.c index 61bac7e4d..61bac7e4d 100644 --- a/keyboards/sirius/uni660/keymaps/via/keymap.c +++ b/keyboards/sirius/uni660/rev1/keymaps/via/keymap.c | |||
diff --git a/keyboards/sirius/uni660/rev1/keymaps/via/rules.mk b/keyboards/sirius/uni660/rev1/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/sirius/uni660/rev1/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/sirius/uni660/rev1/rev1.h b/keyboards/sirius/uni660/rev1/rev1.h new file mode 100644 index 000000000..22397b48b --- /dev/null +++ b/keyboards/sirius/uni660/rev1/rev1.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "uni660.h" | ||
| 4 | |||
| 5 | #include "quantum.h" | ||
| 6 | |||
| 7 | // This a shortcut to help you visually see your layout. | ||
| 8 | // The first section contains all of the arguments | ||
| 9 | // The second converts the arguments into a two-dimensional array | ||
| 10 | #define LAYOUT( \ | ||
| 11 | k00, k01, k02, k03, k04, k05, k06, k46, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k3f,\ | ||
| 12 | k10, k11, k12, k13, k14, k15, k16, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k2f,\ | ||
| 13 | k20, k21, k22, k23, k24, k25, k26, k28, k29, k2a, k2b, k2c, k2d, k2e,\ | ||
| 14 | k30, k31, k32, k33, k34, k35, k36, k38, k39, k3a, k3b, k3c, k3d, k3e, \ | ||
| 15 | k40, k41, k42, k43, k44, k45, k48, k49, k4a, k4c, k4d, k4e, k4f \ | ||
| 16 | ) \ | ||
| 17 | { \ | ||
| 18 | { k00, k01, k02, k03, k04, k05, k06, KC_NO, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \ | ||
| 19 | { k10, k11, k12, k13, k14, k15, k16, KC_NO, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \ | ||
| 20 | { k20, k21, k22, k23, k24, k25, k26, KC_NO, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f }, \ | ||
| 21 | { k30, k31, k32, k33, k34, k35, k36, KC_NO, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \ | ||
| 22 | { k40, k41, k42, k43, k44, k45, k46, KC_NO, k48, k49, k4a, KC_NO, k4c, k4d, k4e, k4f } \ | ||
| 23 | } | ||
diff --git a/keyboards/sirius/uni660/rev1/rules.mk b/keyboards/sirius/uni660/rev1/rules.mk new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/keyboards/sirius/uni660/rev1/rules.mk | |||
diff --git a/keyboards/sirius/uni660/rev2/ansi/ansi.h b/keyboards/sirius/uni660/rev2/ansi/ansi.h new file mode 100644 index 000000000..3e21b5c84 --- /dev/null +++ b/keyboards/sirius/uni660/rev2/ansi/ansi.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "uni660.h" | ||
| 4 | |||
| 5 | #include "quantum.h" | ||
| 6 | |||
| 7 | // This a shortcut to help you visually see your layout. | ||
| 8 | // The first section contains all of the arguments | ||
| 9 | // The second converts the arguments into a two-dimensional array | ||
| 10 | |||
| 11 | #define LAYOUT_ansi( \ | ||
| 12 | k00, k01, k02, k03, k04, k05, k06, k46, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k3f,\ | ||
| 13 | k10, k11, k12, k13, k14, k15, k16, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k2f,\ | ||
| 14 | k20, k21, k22, k23, k24, k25, k26, k28, k29, k2a, k2b, k2c, k2d, k2e,\ | ||
| 15 | k30, k31, k32, k33, k34, k35, k36, k38, k39, k3a, k3b, k3c, k3d, k3e, \ | ||
| 16 | k40, k41, k42, k43, k44, k45, k48, k49, k4a, k4c, k4d, k4e, k4f \ | ||
| 17 | ) \ | ||
| 18 | { \ | ||
| 19 | { k00, k01, k02, k03, k04, k05, k06, KC_NO, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \ | ||
| 20 | { k10, k11, k12, k13, k14, k15, k16, KC_NO, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \ | ||
| 21 | { k20, k21, k22, k23, k24, k25, k26, KC_NO, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f }, \ | ||
| 22 | { k30, k31, k32, k33, k34, k35, k36, KC_NO, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \ | ||
| 23 | { k40, k41, k42, k43, k44, k45, k46, KC_NO, k48, k49, k4a, KC_NO, k4c, k4d, k4e, k4f } \ | ||
| 24 | } | ||
diff --git a/keyboards/sirius/uni660/rev2/ansi/config.h b/keyboards/sirius/uni660/rev2/ansi/config.h new file mode 100644 index 000000000..0032f61cc --- /dev/null +++ b/keyboards/sirius/uni660/rev2/ansi/config.h | |||
| @@ -0,0 +1,78 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | |||
| 24 | #define VENDOR_ID 0x5352 // "SR" | ||
| 25 | #define PRODUCT_ID 0x0202 // Second Product Second Version | ||
| 26 | #define DEVICE_VER 0x2004 // 2020.12 | ||
| 27 | #define MANUFACTURER SiRius | ||
| 28 | #define PRODUCT SiRius Uni660 V2 | ||
| 29 | #define DESCRIPTION SiRius Uni660 V2 | ||
| 30 | |||
| 31 | /* key matrix size */ | ||
| 32 | #define MATRIX_ROWS 5 | ||
| 33 | #define MATRIX_COLS 16 | ||
| 34 | |||
| 35 | /* define if matrix has ghost */ | ||
| 36 | //#define MATRIX_HAS_GHOST | ||
| 37 | |||
| 38 | /* number of backlight levels */ | ||
| 39 | //#define BACKLIGHT_LEVELS 3 | ||
| 40 | |||
| 41 | #define ONESHOT_TIMEOUT 500 | ||
| 42 | |||
| 43 | /* | ||
| 44 | * Feature disable options | ||
| 45 | * These options are also useful to firmware size reduction. | ||
| 46 | */ | ||
| 47 | |||
| 48 | /* disable debug print */ | ||
| 49 | //#define NO_DEBUG | ||
| 50 | |||
| 51 | /* disable print */ | ||
| 52 | //#define NO_PRINT | ||
| 53 | |||
| 54 | /* disable action features */ | ||
| 55 | //#define NO_ACTION_LAYER | ||
| 56 | //#define NO_ACTION_TAPPING | ||
| 57 | //#define NO_ACTION_ONESHOT | ||
| 58 | //#define NO_ACTION_MACRO | ||
| 59 | //#define NO_ACTION_FUNCTION | ||
| 60 | |||
| 61 | //UART settings for communication with the RF microcontroller | ||
| 62 | #define SERIAL_UART_BAUD 1000000 | ||
| 63 | #define SERIAL_UART_DATA UDR1 | ||
| 64 | #define SERIAL_UART_UBRR (F_CPU / (16UL * SERIAL_UART_BAUD) - 1) | ||
| 65 | #define SERIAL_UART_TXD_READY (UCSR1A & _BV(UDRE1)) | ||
| 66 | #define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) | ||
| 67 | #define SERIAL_UART_INIT() do { \ | ||
| 68 | /* baud rate */ \ | ||
| 69 | UBRR1L = SERIAL_UART_UBRR; \ | ||
| 70 | /* baud rate */ \ | ||
| 71 | UBRR1H = SERIAL_UART_UBRR >> 8; \ | ||
| 72 | /* enable TX and RX */ \ | ||
| 73 | UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ | ||
| 74 | /* 8-bit data */ \ | ||
| 75 | UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); \ | ||
| 76 | } while(0) | ||
| 77 | |||
| 78 | #define DYNAMIC_KEYMAP_LAYER_COUNT 4 | ||
diff --git a/keyboards/sirius/uni660/rev2/ansi/info.json b/keyboards/sirius/uni660/rev2/ansi/info.json new file mode 100644 index 000000000..08d21d077 --- /dev/null +++ b/keyboards/sirius/uni660/rev2/ansi/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Uni660", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 19, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_ansi": { | ||
| 9 | "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"~", "x":1.5, "y":0}, {"label":"!", "x":2.5, "y":0}, {"label":"@", "x":3.5, "y":0}, {"label":"#", "x":4.5, "y":0}, {"label":"$", "x":5.5, "y":0}, {"label":"%", "x":6.5, "y":0}, {"label":"^", "x":7.5, "y":0}, {"label":"&", "x":9.5, "y":0}, {"label":"*", "x":10.5, "y":0}, {"label":"(", "x":11.5, "y":0}, {"label":")", "x":12.5, "y":0}, {"label":"_", "x":13.5, "y":0}, {"label":"+", "x":14.5, "y":0}, {"label":"Backspace", "x":15.5, "y":0, "w":2}, {"label":"Insert", "x":18, "y":0}, {"label":"F1", "x":0, "y":1}, {"label":"Tab", "x":1.5, "y":1, "w":1.5}, {"label":"Q", "x":3, "y":1}, {"label":"W", "x":4, "y":1}, {"label":"E", "x":5, "y":1}, {"label":"R", "x":6, "y":1}, {"label":"T", "x":7, "y":1}, {"label":"Y", "x":9, "y":1}, {"label":"U", "x":10, "y":1}, {"label":"I", "x":11, "y":1}, {"label":"O", "x":12, "y":1}, {"label":"P", "x":13, "y":1}, {"label":"{", "x":14, "y":1}, {"label":"}", "x":15, "y":1}, {"label":"|", "x":16, "y":1, "w":1.5}, {"label":"Delete", "x":18, "y":1}, {"label":"F2", "x":0, "y":2}, {"label":"Caps Lock", "x":1.5, "y":2, "w":1.75}, {"label":"A", "x":3.25, "y":2}, {"label":"S", "x":4.25, "y":2}, {"label":"D", "x":5.25, "y":2}, {"label":"F", "x":6.25, "y":2}, {"label":"G", "x":7.25, "y":2}, {"label":"H", "x":9.25, "y":2}, {"label":"J", "x":10.25, "y":2}, {"label":"K", "x":11.25, "y":2}, {"label":"L", "x":12.25, "y":2}, {"label":":", "x":13.25, "y":2}, {"label":"\"", "x":14.25, "y":2}, {"label":"Enter", "x":15.25, "y":2, "w":2.25}, {"label":"F3", "x":0, "y":3}, {"label":"Shift", "x":1.5, "y":3, "w":2.25}, {"label":"Z", "x":3.75, "y":3}, {"label":"X", "x":4.75, "y":3}, {"label":"C", "x":5.75, "y":3}, {"label":"V", "x":6.75, "y":3}, {"label":"B", "x":7.75, "y":3}, {"label":"N", "x":9.75, "y":3}, {"label":"M", "x":10.75, "y":3}, {"label":"<", "x":11.75, "y":3}, {"label":">", "x":12.75, "y":3}, {"label":"?", "x":13.75, "y":3}, {"label":"Shift", "x":14.75, "y":3, "w":2.25}, {"label":"Up", "x":17, "y":3}, {"label":"F4", "x":0, "y":4}, {"label":"Ctrl", "x":1.5, "y":4, "w":1.25}, {"label":"Win", "x":2.75, "y":4, "w":1.25}, {"label":"Alt", "x":4, "y":4, "w":1.25}, {"x":5.25, "y":4, "w":2.25}, {"label":"Fn", "x":7.5, "y":4}, {"x":9.5, "y":4, "w":2.75}, {"label":"Alt", "x":12.25, "y":4, "w":1.25}, {"label":"Menu", "x":13.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":14.75, "y":4, "w":1.25}, {"label":"Left", "x":16, "y":4}, {"label":"Down", "x":17, "y":4}, {"label":"Right", "x":18, "y":4}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } \ No newline at end of file | ||
diff --git a/keyboards/sirius/uni660/rev2/ansi/keymaps/default/keymap.c b/keyboards/sirius/uni660/rev2/ansi/keymaps/default/keymap.c new file mode 100644 index 000000000..ff45e7f2b --- /dev/null +++ b/keyboards/sirius/uni660/rev2/ansi/keymaps/default/keymap.c | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | [0] = LAYOUT_ansi( /* Base */ | ||
| 5 | KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_INS, | ||
| 6 | KC_F1, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, | ||
| 7 | KC_F2, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 8 | KC_F3, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
| 9 | KC_F4, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_DEL, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT | ||
| 10 | ), | ||
| 11 | }; | ||
diff --git a/keyboards/sirius/uni660/rev2/ansi/keymaps/via/keymap.c b/keyboards/sirius/uni660/rev2/ansi/keymaps/via/keymap.c new file mode 100644 index 000000000..26ec43d47 --- /dev/null +++ b/keyboards/sirius/uni660/rev2/ansi/keymaps/via/keymap.c | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | [0] = LAYOUT_ansi( /* Base */ | ||
| 5 | KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_INS, | ||
| 6 | KC_F1, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, | ||
| 7 | KC_F2, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 8 | KC_F3, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
| 9 | KC_F4, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_DEL, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT | ||
| 10 | ), | ||
| 11 | |||
| 12 | [1] = LAYOUT_ansi( /* Layer 1 */ | ||
| 13 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 14 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 15 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 16 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 17 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RGUI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 18 | ), | ||
| 19 | |||
| 20 | [2] = LAYOUT_ansi( /* Layer 2 */ | ||
| 21 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 22 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 23 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 24 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 25 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RGUI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 26 | ), | ||
| 27 | |||
| 28 | [3] = LAYOUT_ansi( /* Layer 3 */ | ||
| 29 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RGUI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 34 | ), | ||
| 35 | }; | ||
diff --git a/keyboards/sirius/uni660/rev2/ansi/keymaps/via/rules.mk b/keyboards/sirius/uni660/rev2/ansi/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/sirius/uni660/rev2/ansi/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/sirius/uni660/rev2/ansi/rules.mk b/keyboards/sirius/uni660/rev2/ansi/rules.mk new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/keyboards/sirius/uni660/rev2/ansi/rules.mk | |||
diff --git a/keyboards/sirius/uni660/rev2/iso/config.h b/keyboards/sirius/uni660/rev2/iso/config.h new file mode 100644 index 000000000..e31f8fb8e --- /dev/null +++ b/keyboards/sirius/uni660/rev2/iso/config.h | |||
| @@ -0,0 +1,78 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | |||
| 24 | #define VENDOR_ID 0x5352 // "SR" | ||
| 25 | #define PRODUCT_ID 0x0203 // Second Product Third Version | ||
| 26 | #define DEVICE_VER 0x2004 // 2020.12 | ||
| 27 | #define MANUFACTURER SiRius | ||
| 28 | #define PRODUCT SiRius Uni660 V2 | ||
| 29 | #define DESCRIPTION SiRius Uni660 V2 | ||
| 30 | |||
| 31 | /* key matrix size */ | ||
| 32 | #define MATRIX_ROWS 5 | ||
| 33 | #define MATRIX_COLS 16 | ||
| 34 | |||
| 35 | /* define if matrix has ghost */ | ||
| 36 | //#define MATRIX_HAS_GHOST | ||
| 37 | |||
| 38 | /* number of backlight levels */ | ||
| 39 | //#define BACKLIGHT_LEVELS 3 | ||
| 40 | |||
| 41 | #define ONESHOT_TIMEOUT 500 | ||
| 42 | |||
| 43 | /* | ||
| 44 | * Feature disable options | ||
| 45 | * These options are also useful to firmware size reduction. | ||
| 46 | */ | ||
| 47 | |||
| 48 | /* disable debug print */ | ||
| 49 | //#define NO_DEBUG | ||
| 50 | |||
| 51 | /* disable print */ | ||
| 52 | //#define NO_PRINT | ||
| 53 | |||
| 54 | /* disable action features */ | ||
| 55 | //#define NO_ACTION_LAYER | ||
| 56 | //#define NO_ACTION_TAPPING | ||
| 57 | //#define NO_ACTION_ONESHOT | ||
| 58 | //#define NO_ACTION_MACRO | ||
| 59 | //#define NO_ACTION_FUNCTION | ||
| 60 | |||
| 61 | //UART settings for communication with the RF microcontroller | ||
| 62 | #define SERIAL_UART_BAUD 1000000 | ||
| 63 | #define SERIAL_UART_DATA UDR1 | ||
| 64 | #define SERIAL_UART_UBRR (F_CPU / (16UL * SERIAL_UART_BAUD) - 1) | ||
| 65 | #define SERIAL_UART_TXD_READY (UCSR1A & _BV(UDRE1)) | ||
| 66 | #define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) | ||
| 67 | #define SERIAL_UART_INIT() do { \ | ||
| 68 | /* baud rate */ \ | ||
| 69 | UBRR1L = SERIAL_UART_UBRR; \ | ||
| 70 | /* baud rate */ \ | ||
| 71 | UBRR1H = SERIAL_UART_UBRR >> 8; \ | ||
| 72 | /* enable TX and RX */ \ | ||
| 73 | UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ | ||
| 74 | /* 8-bit data */ \ | ||
| 75 | UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); \ | ||
| 76 | } while(0) | ||
| 77 | |||
| 78 | #define DYNAMIC_KEYMAP_LAYER_COUNT 4 | ||
diff --git a/keyboards/sirius/uni660/rev2/iso/info.json b/keyboards/sirius/uni660/rev2/iso/info.json new file mode 100644 index 000000000..cd32c7369 --- /dev/null +++ b/keyboards/sirius/uni660/rev2/iso/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Uni660", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 19, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_iso": { | ||
| 9 | "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"\u00ac", "x":1.5, "y":0}, {"label":"!", "x":2.5, "y":0}, {"label":"\"", "x":3.5, "y":0}, {"label":"\u00a3", "x":4.5, "y":0}, {"label":"$", "x":5.5, "y":0}, {"label":"%", "x":6.5, "y":0}, {"label":"^", "x":7.5, "y":0}, {"label":"&", "x":9.5, "y":0}, {"label":"*", "x":10.5, "y":0}, {"label":"(", "x":11.5, "y":0}, {"label":")", "x":12.5, "y":0}, {"label":"_", "x":13.5, "y":0}, {"label":"+", "x":14.5, "y":0}, {"label":"Backspace", "x":15.5, "y":0, "w":2}, {"label":"Insert", "x":18, "y":0}, {"label":"F1", "x":0, "y":1}, {"label":"Tab", "x":1.5, "y":1, "w":1.5}, {"label":"Q", "x":3, "y":1}, {"label":"W", "x":4, "y":1}, {"label":"E", "x":5, "y":1}, {"label":"R", "x":6, "y":1}, {"label":"T", "x":7, "y":1}, {"label":"Y", "x":9, "y":1}, {"label":"U", "x":10, "y":1}, {"label":"I", "x":11, "y":1}, {"label":"O", "x":12, "y":1}, {"label":"P", "x":13, "y":1}, {"label":"{", "x":14, "y":1}, {"label":"}", "x":15, "y":1}, {"label":"Enter", "x":16.25, "y":1, "w":1.25, "h":2}, {"label":"Delete", "x":18, "y":1}, {"label":"F2", "x":0, "y":2}, {"label":"Caps Lock", "x":1.5, "y":2, "w":1.75}, {"label":"A", "x":3.25, "y":2}, {"label":"S", "x":4.25, "y":2}, {"label":"D", "x":5.25, "y":2}, {"label":"F", "x":6.25, "y":2}, {"label":"G", "x":7.25, "y":2}, {"label":"H", "x":9.25, "y":2}, {"label":"J", "x":10.25, "y":2}, {"label":"K", "x":11.25, "y":2}, {"label":"L", "x":12.25, "y":2}, {"label":":", "x":13.25, "y":2}, {"label":"@", "x":14.25, "y":2}, {"label":"~", "x":15.25, "y":2}, {"label":"F3", "x":0, "y":3}, {"label":"Shift", "x":1.5, "y":3, "w":1.25}, {"label":"|", "x":2.75, "y":3}, {"label":"Z", "x":3.75, "y":3}, {"label":"X", "x":4.75, "y":3}, {"label":"C", "x":5.75, "y":3}, {"label":"V", "x":6.75, "y":3}, {"label":"B", "x":7.75, "y":3}, {"label":"N", "x":9.75, "y":3}, {"label":"M", "x":10.75, "y":3}, {"label":"<", "x":11.75, "y":3}, {"label":">", "x":12.75, "y":3}, {"label":"?", "x":13.75, "y":3}, {"label":"Shift", "x":14.75, "y":3, "w":2.25}, {"label":"Up", "x":17, "y":3}, {"label":"F4", "x":0, "y":4}, {"label":"Ctrl", "x":1.5, "y":4, "w":1.25}, {"label":"Win", "x":2.75, "y":4, "w":1.25}, {"label":"Alt", "x":4, "y":4, "w":1.25}, {"x":5.25, "y":4, "w":2.25}, {"label":"Fn", "x":7.5, "y":4}, {"x":9.5, "y":4, "w":2.75}, {"label":"Alt", "x":12.25, "y":4, "w":1.25}, {"label":"Menu", "x":13.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":14.75, "y":4, "w":1.25}, {"label":"Left", "x":16, "y":4}, {"label":"Down", "x":17, "y":4}, {"label":"Right", "x":18, "y":4}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } \ No newline at end of file | ||
diff --git a/keyboards/sirius/uni660/rev2/iso/iso.h b/keyboards/sirius/uni660/rev2/iso/iso.h new file mode 100644 index 000000000..b38bdfc93 --- /dev/null +++ b/keyboards/sirius/uni660/rev2/iso/iso.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "uni660.h" | ||
| 4 | |||
| 5 | #include "quantum.h" | ||
| 6 | |||
| 7 | // This a shortcut to help you visually see your layout. | ||
| 8 | // The first section contains all of the arguments | ||
| 9 | // The second converts the arguments into a two-dimensional array | ||
| 10 | |||
| 11 | #define LAYOUT_iso( \ | ||
| 12 | k00, k01, k02, k03, k04, k05, k06, k46, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k3f,\ | ||
| 13 | k10, k11, k12, k13, k14, k15, k16, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k2f,\ | ||
| 14 | k20, k21, k22, k23, k24, k25, k26, k28, k29, k2a, k2b, k2c, k2d, k2e,\ | ||
| 15 | k30, k31, k37, k32, k33, k34, k35, k36, k38, k39, k3a, k3b, k3c, k3d, k3e, \ | ||
| 16 | k40, k41, k42, k43, k44, k45, k48, k49, k4a, k4c, k4d, k4e, k4f \ | ||
| 17 | ) \ | ||
| 18 | { \ | ||
| 19 | { k00, k01, k02, k03, k04, k05, k06, KC_NO, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \ | ||
| 20 | { k10, k11, k12, k13, k14, k15, k16, KC_NO, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \ | ||
| 21 | { k20, k21, k22, k23, k24, k25, k26, KC_NO, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f }, \ | ||
| 22 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \ | ||
| 23 | { k40, k41, k42, k43, k44, k45, k46, KC_NO, k48, k49, k4a, KC_NO, k4c, k4d, k4e, k4f } \ | ||
| 24 | } | ||
diff --git a/keyboards/sirius/uni660/rev2/iso/keymaps/default/keymap.c b/keyboards/sirius/uni660/rev2/iso/keymaps/default/keymap.c new file mode 100644 index 000000000..de8630eaa --- /dev/null +++ b/keyboards/sirius/uni660/rev2/iso/keymaps/default/keymap.c | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | [0] = LAYOUT_iso( /* Base */ | ||
| 5 | KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_INS, | ||
| 6 | KC_F1, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, | ||
| 7 | KC_F2, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 8 | KC_F3, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
| 9 | KC_F4, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_DEL, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT | ||
| 10 | ), | ||
| 11 | }; | ||
diff --git a/keyboards/sirius/uni660/rev2/iso/keymaps/via/keymap.c b/keyboards/sirius/uni660/rev2/iso/keymaps/via/keymap.c new file mode 100644 index 000000000..ac1d7c6d5 --- /dev/null +++ b/keyboards/sirius/uni660/rev2/iso/keymaps/via/keymap.c | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | [0] = LAYOUT_iso( /* Base */ | ||
| 5 | KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_INS, | ||
| 6 | KC_F1, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, | ||
| 7 | KC_F2, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 8 | KC_F3, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
| 9 | KC_F4, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_DEL, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT | ||
| 10 | ), | ||
| 11 | |||
| 12 | [1] = LAYOUT_iso( /* Layer 1 */ | ||
| 13 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 14 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 15 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 16 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 17 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RGUI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 18 | ), | ||
| 19 | |||
| 20 | [2] = LAYOUT_iso( /* Layer 2 */ | ||
| 21 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 22 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 23 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 24 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 25 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RGUI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 26 | ), | ||
| 27 | |||
| 28 | [3] = LAYOUT_iso( /* Layer 3 */ | ||
| 29 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RGUI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 34 | ), | ||
| 35 | }; | ||
diff --git a/keyboards/sirius/uni660/rev2/iso/keymaps/via/rules.mk b/keyboards/sirius/uni660/rev2/iso/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/sirius/uni660/rev2/iso/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/sirius/uni660/rev2/iso/rules.mk b/keyboards/sirius/uni660/rev2/iso/rules.mk new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/keyboards/sirius/uni660/rev2/iso/rules.mk | |||
diff --git a/keyboards/sirius/uni660/rules.mk b/keyboards/sirius/uni660/rules.mk index 920d8a83d..243916fa7 100644 --- a/keyboards/sirius/uni660/rules.mk +++ b/keyboards/sirius/uni660/rules.mk | |||
| @@ -30,3 +30,4 @@ UNICODE_ENABLE = yes # Unicode | |||
| 30 | 30 | ||
| 31 | # project specific files | 31 | # project specific files |
| 32 | SRC += matrix.c | 32 | SRC += matrix.c |
| 33 | |||
diff --git a/keyboards/sirius/uni660/uni660.h b/keyboards/sirius/uni660/uni660.h index 81743adbd..75813db7b 100644 --- a/keyboards/sirius/uni660/uni660.h +++ b/keyboards/sirius/uni660/uni660.h | |||
| @@ -2,6 +2,14 @@ | |||
| 2 | 2 | ||
| 3 | #include "quantum.h" | 3 | #include "quantum.h" |
| 4 | 4 | ||
| 5 | #ifdef KEYBOARD_sirius_uni660_rev1 | ||
| 6 | #include "rev1.h" | ||
| 7 | #elif KEYBOARD_sirius_uni660_rev2_iso | ||
| 8 | #include "iso.h" | ||
| 9 | #elif KEYBOARD_sirius_uni660_rev2_ansi | ||
| 10 | #include "ansi.h" | ||
| 11 | #endif | ||
| 12 | |||
| 5 | #define red_led_off writePinHigh(F5) | 13 | #define red_led_off writePinHigh(F5) |
| 6 | #define red_led_on writePinLow(F5) | 14 | #define red_led_on writePinLow(F5) |
| 7 | #define blu_led_off writePinHigh(F4) | 15 | #define blu_led_off writePinHigh(F4) |
| @@ -41,21 +49,3 @@ | |||
| 41 | #define set_led_cyan PORTF = PORTF & ~(1<<LED_R) | (1<<LED_B) | (1<<LED_G) | 49 | #define set_led_cyan PORTF = PORTF & ~(1<<LED_R) | (1<<LED_B) | (1<<LED_G) |
| 42 | #define set_led_white PORTF |= (1<<LED_B) | (1<<LED_R) | (1<<LED_G) | 50 | #define set_led_white PORTF |= (1<<LED_B) | (1<<LED_R) | (1<<LED_G) |
| 43 | */ | 51 | */ |
| 44 | |||
| 45 | // This a shortcut to help you visually see your layout. | ||
| 46 | // The first section contains all of the arguments | ||
| 47 | // The second converts the arguments into a two-dimensional array | ||
| 48 | #define LAYOUT( \ | ||
| 49 | k00, k01, k02, k03, k04, k05, k06, k46, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k3f,\ | ||
| 50 | k10, k11, k12, k13, k14, k15, k16, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k2f,\ | ||
| 51 | k20, k21, k22, k23, k24, k25, k26, k28, k29, k2a, k2b, k2c, k2d, k2e,\ | ||
| 52 | k30, k31, k32, k33, k34, k35, k36, k38, k39, k3a, k3b, k3c, k3d, k3e, \ | ||
| 53 | k40, k41, k42, k43, k44, k45, k48, k49, k4a, k4c, k4d, k4e, k4f \ | ||
| 54 | ) \ | ||
| 55 | { \ | ||
| 56 | { k00, k01, k02, k03, k04, k05, k06, KC_NO, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \ | ||
| 57 | { k10, k11, k12, k13, k14, k15, k16, KC_NO, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \ | ||
| 58 | { k20, k21, k22, k23, k24, k25, k26, KC_NO, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f }, \ | ||
| 59 | { k30, k31, k32, k33, k34, k35, k36, KC_NO, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \ | ||
| 60 | { k40, k41, k42, k43, k44, k45, k46, KC_NO, k48, k49, k4a, KC_NO, k4c, k4d, k4e, k4f } \ | ||
| 61 | } | ||
diff --git a/keyboards/wete/keymaps/via/config.h b/keyboards/wete/keymaps/via/config.h new file mode 100644 index 000000000..4dadf6a16 --- /dev/null +++ b/keyboards/wete/keymaps/via/config.h | |||
| @@ -0,0 +1 @@ | |||
| #define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047 | |||
diff --git a/keyboards/wete/keymaps/via/keymap.c b/keyboards/wete/keymaps/via/keymap.c new file mode 100644 index 000000000..0f1a0bedb --- /dev/null +++ b/keyboards/wete/keymaps/via/keymap.c | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012,2013 Jun Wako <wakojun@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #include QMK_KEYBOARD_H | ||
| 19 | |||
| 20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 21 | [0] = LAYOUT_ansi_rhnp( | ||
| 22 | KC_INSERT, KC_PSCREEN, KC_PAUSE, KC_SLCK, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, | ||
| 23 | KC_NUMLOCK, KC_KP_SLASH, KC_KP_ASTERISK, KC_KP_MINUS, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, | ||
| 24 | KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_PLUS, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_END, | ||
| 25 | KC_KP_4, KC_KP_5, KC_KP_6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, KC_PGUP, | ||
| 26 | KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_ENTER, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, | ||
| 27 | KC_KP_0, KC_KP_DOT, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT | ||
| 28 | ), | ||
| 29 | [1] = LAYOUT_ansi_rhnp( | ||
| 30 | KC_NO, KC_NO, KC_NO, KC_NO, BL_TOGG, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, RESET, | ||
| 31 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 32 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 33 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 34 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, BL_INC, KC_NO, | ||
| 35 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, BL_OFF, BL_DEC, BL_ON | ||
| 36 | ), | ||
| 37 | [2] = LAYOUT_ansi_rhnp( | ||
| 38 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 39 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 40 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 41 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 42 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 43 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO | ||
| 44 | ), | ||
| 45 | [3] = LAYOUT_ansi_rhnp( | ||
| 46 | KC_NO, KC_NO, KC_NO, KC_NO, BL_TOGG, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 47 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 48 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 49 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 50 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 51 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO | ||
| 52 | ) | ||
| 53 | }; | ||
diff --git a/keyboards/wete/keymaps/via/rules.mk b/keyboards/wete/keymaps/via/rules.mk new file mode 100644 index 000000000..ee1e4ceeb --- /dev/null +++ b/keyboards/wete/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | BOOTMAGIC_ENABLE = lite | ||
diff --git a/keyboards/wete/wete.h b/keyboards/wete/wete.h index e9f44e185..46daf6d6f 100644 --- a/keyboards/wete/wete.h +++ b/keyboards/wete/wete.h | |||
| @@ -16,14 +16,14 @@ | |||
| 16 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2i, k2j, \ | 16 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2i, k2j, \ |
| 17 | k30, k31, k32, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3i, k3j, \ | 17 | k30, k31, k32, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3i, k3j, \ |
| 18 | k40, k41, k42, k43, k44, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, k4h, k4i, k4j, \ | 18 | k40, k41, k42, k43, k44, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, k4h, k4i, k4j, \ |
| 19 | k50, k52, k54, k55, k56, k5a, k5d, k5e, k5h, k5i, k5j \ | 19 | k50, k52, k54, k55, k56, k5a, k5d, k5f, k5h, k5i, k5j \ |
| 20 | ) { \ | 20 | ) { \ |
| 21 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, XXX, k0a, k0b, k0c, k0d, XXX, k0f, k0g, k0h, k0i, k0j }, \ | 21 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, XXX, k0a, k0b, k0c, k0d, XXX, k0f, k0g, k0h, k0i, k0j }, \ |
| 22 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, XXX, k1j }, \ | 22 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, XXX, k1j }, \ |
| 23 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, XXX, k2i, k2j }, \ | 23 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, XXX, k2i, k2j }, \ |
| 24 | { k30, k31, k32, XXX, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, XXX, XXX, k3i, k3j }, \ | 24 | { k30, k31, k32, XXX, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, XXX, XXX, k3i, k3j }, \ |
| 25 | { k40, k41, k42, k43, k44, XXX, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, XXX, k4h, k4i, k4j }, \ | 25 | { k40, k41, k42, k43, k44, XXX, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, XXX, k4h, k4i, k4j }, \ |
| 26 | { k50, XXX, k52, XXX, k54, k55, k56, XXX, XXX, XXX, k5a, XXX, XXX, k5d, k5e, XXX, XXX, k5h, k5i, k5j } \ | 26 | { k50, XXX, k52, XXX, k54, k55, k56, XXX, XXX, XXX, k5a, XXX, XXX, k5d, XXX, k5f, XXX, k5h, k5i, k5j } \ |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | // ANSI layout | 29 | // ANSI layout |
| @@ -37,14 +37,14 @@ | |||
| 37 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2i, k2j, \ | 37 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2i, k2j, \ |
| 38 | k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3i, k3j, \ | 38 | k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3i, k3j, \ |
| 39 | k40, k41, k42, k43, k44, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, k4h, k4i, k4j, \ | 39 | k40, k41, k42, k43, k44, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, k4h, k4i, k4j, \ |
| 40 | k51, k52, k54, k55, k56, k5a, k5d, k5e, k5h, k5i, k5j \ | 40 | k51, k52, k54, k55, k56, k5a, k5d, k5f, k5h, k5i, k5j \ |
| 41 | ) { \ | 41 | ) { \ |
| 42 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, XXX, k0a, k0b, k0c, k0d, XXX, k0f, k0g, k0h, k0i, k0j }, \ | 42 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, XXX, k0a, k0b, k0c, k0d, XXX, k0f, k0g, k0h, k0i, k0j }, \ |
| 43 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, XXX, k1j }, \ | 43 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, XXX, k1j }, \ |
| 44 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, XXX, k2i, k2j }, \ | 44 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, XXX, k2i, k2j }, \ |
| 45 | { XXX, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, XXX, XXX, k3i, k3j }, \ | 45 | { XXX, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, XXX, XXX, k3i, k3j }, \ |
| 46 | { k40, k41, k42, k43, k44, XXX, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, XXX, k4h, k4i, k4j }, \ | 46 | { k40, k41, k42, k43, k44, XXX, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, XXX, k4h, k4i, k4j }, \ |
| 47 | { XXX, k51, k52, XXX, k54, k55, k56, XXX, XXX, XXX, k5a, XXX, XXX, k5d, k5e, XXX, XXX, k5h, k5i, k5j } \ | 47 | { XXX, k51, k52, XXX, k54, k55, k56, XXX, XXX, XXX, k5a, XXX, XXX, k5d, XXX, k5f, XXX, k5h, k5i, k5j } \ |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | // ANSI layout | 50 | // ANSI layout |
| @@ -58,14 +58,14 @@ | |||
| 58 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2i, k2j, \ | 58 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2i, k2j, \ |
| 59 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3i, k3j, \ | 59 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3i, k3j, \ |
| 60 | k40, k41, k42, k43, k44, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, k4h, k4i, k4j, \ | 60 | k40, k41, k42, k43, k44, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, k4h, k4i, k4j, \ |
| 61 | k50, k51, k52, k53, k54, k55, k56, k5a, k5d, k5e, k5h, k5i, k5j \ | 61 | k50, k51, k52, k53, k54, k55, k56, k5a, k5d, k5f, k5h, k5i, k5j \ |
| 62 | ) { \ | 62 | ) { \ |
| 63 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, XXX, k0a, k0b, k0c, k0d, XXX, k0f, k0g, k0h, k0i, k0j }, \ | 63 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, XXX, k0a, k0b, k0c, k0d, XXX, k0f, k0g, k0h, k0i, k0j }, \ |
| 64 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, XXX, k1j }, \ | 64 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, XXX, k1j }, \ |
| 65 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, XXX, k2i, k2j }, \ | 65 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, XXX, k2i, k2j }, \ |
| 66 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, XXX, XXX, k3i, k3j }, \ | 66 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, XXX, XXX, k3i, k3j }, \ |
| 67 | { k40, k41, k42, k43, k44, XXX, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, XXX, k4h, k4i, k4j }, \ | 67 | { k40, k41, k42, k43, k44, XXX, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, XXX, k4h, k4i, k4j }, \ |
| 68 | { k50, k51, k52, k53, k54, k55, k56, XXX, XXX, XXX, k5a, XXX, XXX, k5d, k5e, XXX, XXX, k5h, k5i, k5j } \ | 68 | { k50, k51, k52, k53, k54, k55, k56, XXX, XXX, XXX, k5a, XXX, XXX, k5d, XXX, k5f, XXX, k5h, k5i, k5j } \ |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | 71 | ||
| @@ -82,14 +82,14 @@ | |||
| 82 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2i, k2j, \ | 82 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2i, k2j, \ |
| 83 | k30, k31, k32, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3i, k3j, \ | 83 | k30, k31, k32, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3i, k3j, \ |
| 84 | k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, k4h, k4i, k4j, \ | 84 | k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, k4h, k4i, k4j, \ |
| 85 | k50, k52, k54, k55, k56, k5a, k5d, k5e, k5h, k5i, k5j \ | 85 | k50, k52, k54, k55, k56, k5a, k5d, k5f, k5h, k5i, k5j \ |
| 86 | ) { \ | 86 | ) { \ |
| 87 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, XXX, k0a, k0b, k0c, k0d, XXX, k0f, k0g, k0h, k0i, k0j }, \ | 87 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, XXX, k0a, k0b, k0c, k0d, XXX, k0f, k0g, k0h, k0i, k0j }, \ |
| 88 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, XXX, k1j }, \ | 88 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, XXX, k1j }, \ |
| 89 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, XXX, k2i, k2j }, \ | 89 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, XXX, k2i, k2j }, \ |
| 90 | { k30, k31, k32, XXX, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, XXX, XXX, k3i, k3j }, \ | 90 | { k30, k31, k32, XXX, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, XXX, XXX, k3i, k3j }, \ |
| 91 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, XXX, k4h, k4i, k4j }, \ | 91 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, XXX, k4h, k4i, k4j }, \ |
| 92 | { k50, XXX, k52, XXX, k54, k55, k56, XXX, XXX, XXX, k5a, XXX, XXX, k5d, k5e, XXX, XXX, k5h, k5i, k5j } \ | 92 | { k50, XXX, k52, XXX, k54, k55, k56, XXX, XXX, XXX, k5a, XXX, XXX, k5d, XXX, k5f, XXX, k5h, k5i, k5j } \ |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | // ISO layout | 95 | // ISO layout |
| @@ -104,14 +104,14 @@ | |||
| 104 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2i, k2j, \ | 104 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2i, k2j, \ |
| 105 | k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3i, k3j, \ | 105 | k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3i, k3j, \ |
| 106 | k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, k4h, k4i, k4j, \ | 106 | k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, k4h, k4i, k4j, \ |
| 107 | k51, k52, k54, k55, k56, k5a, k5d, k5e, k5h, k5i, k5j \ | 107 | k51, k52, k54, k55, k56, k5a, k5d, k5f, k5h, k5i, k5j \ |
| 108 | ) { \ | 108 | ) { \ |
| 109 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, XXX, k0a, k0b, k0c, k0d, XXX, k0f, k0g, k0h, k0i, k0j }, \ | 109 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, XXX, k0a, k0b, k0c, k0d, XXX, k0f, k0g, k0h, k0i, k0j }, \ |
| 110 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, XXX, k1j }, \ | 110 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, XXX, k1j }, \ |
| 111 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, XXX, k2i, k2j }, \ | 111 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, XXX, k2i, k2j }, \ |
| 112 | { XXX, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, XXX, XXX, k3i, k3j }, \ | 112 | { XXX, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, XXX, XXX, k3i, k3j }, \ |
| 113 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, XXX, k4h, k4i, k4j }, \ | 113 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, XXX, k4h, k4i, k4j }, \ |
| 114 | { XXX, k51, k52, XXX, k54, k55, k56, XXX, XXX, XXX, k5a, XXX, XXX, k5d, k5e, XXX, XXX, k5h, k5i, k5j } \ | 114 | { XXX, k51, k52, XXX, k54, k55, k56, XXX, XXX, XXX, k5a, XXX, XXX, k5d, XXX, k5f, XXX, k5h, k5i, k5j } \ |
| 115 | } | 115 | } |
| 116 | 116 | ||
| 117 | // ISO layout | 117 | // ISO layout |
| @@ -126,14 +126,14 @@ | |||
| 126 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2i, k2j, \ | 126 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2i, k2j, \ |
| 127 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3i, k3j, \ | 127 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3i, k3j, \ |
| 128 | k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, k4h, k4i, k4j, \ | 128 | k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, k4h, k4i, k4j, \ |
| 129 | k50, k51, k52, k53, k54, k55, k56, k5a, k5d, k5e, k5h, k5i, k5j \ | 129 | k50, k51, k52, k53, k54, k55, k56, k5a, k5d, k5f, k5h, k5i, k5j \ |
| 130 | ) { \ | 130 | ) { \ |
| 131 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, XXX, k0a, k0b, k0c, k0d, XXX, k0f, k0g, k0h, k0i, k0j }, \ | 131 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, XXX, k0a, k0b, k0c, k0d, XXX, k0f, k0g, k0h, k0i, k0j }, \ |
| 132 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, XXX, k1j }, \ | 132 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, XXX, k1j }, \ |
| 133 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, XXX, k2i, k2j }, \ | 133 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, XXX, k2i, k2j }, \ |
| 134 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, XXX, XXX, k3i, k3j }, \ | 134 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, XXX, XXX, k3i, k3j }, \ |
| 135 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, XXX, k4h, k4i, k4j }, \ | 135 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, k4f, XXX, k4h, k4i, k4j }, \ |
| 136 | { k50, k51, k52, k53, k54, k55, k56, XXX, XXX, XXX, k5a, XXX, XXX, k5d, k5e, XXX, XXX, k5h, k5i, k5j } \ | 136 | { k50, k51, k52, k53, k54, k55, k56, XXX, XXX, XXX, k5a, XXX, XXX, k5d, XXX, k5f, XXX, k5h, k5i, k5j } \ |
| 137 | } | 137 | } |
| 138 | 138 | ||
| 139 | //////////////////////////////// JIS //////////////////////////////// | 139 | //////////////////////////////// JIS //////////////////////////////// |
diff --git a/keyboards/yd60mq/info.json b/keyboards/yd60mq/info.json index 816d653bc..60a62af7a 100644 --- a/keyboards/yd60mq/info.json +++ b/keyboards/yd60mq/info.json | |||
| @@ -144,6 +144,77 @@ | |||
| 144 | {"x":12.5, "y":4, "w":1.25}, | 144 | {"x":12.5, "y":4, "w":1.25}, |
| 145 | {"x":13.75, "y":4, "w":1.25} | 145 | {"x":13.75, "y":4, "w":1.25} |
| 146 | ] | 146 | ] |
| 147 | }, | ||
| 148 | "LAYOUT_60_iso": { | ||
| 149 | "key_count": 62, | ||
| 150 | "layout": [ | ||
| 151 | {"x":0, "y":0}, | ||
| 152 | {"x":1, "y":0}, | ||
| 153 | {"x":2, "y":0}, | ||
| 154 | {"x":3, "y":0}, | ||
| 155 | {"x":4, "y":0}, | ||
| 156 | {"x":5, "y":0}, | ||
| 157 | {"x":6, "y":0}, | ||
| 158 | {"x":7, "y":0}, | ||
| 159 | {"x":8, "y":0}, | ||
| 160 | {"x":9, "y":0}, | ||
| 161 | {"x":10, "y":0}, | ||
| 162 | {"x":11, "y":0}, | ||
| 163 | {"x":12, "y":0}, | ||
| 164 | {"x":13, "y":0, "w":2}, | ||
| 165 | |||
| 166 | {"x":0, "y":1, "w":1.5}, | ||
| 167 | {"x":1.5, "y":1}, | ||
| 168 | {"x":2.5, "y":1}, | ||
| 169 | {"x":3.5, "y":1}, | ||
| 170 | {"x":4.5, "y":1}, | ||
| 171 | {"x":5.5, "y":1}, | ||
| 172 | {"x":6.5, "y":1}, | ||
| 173 | {"x":7.5, "y":1}, | ||
| 174 | {"x":8.5, "y":1}, | ||
| 175 | {"x":9.5, "y":1}, | ||
| 176 | {"x":10.5, "y":1}, | ||
| 177 | {"x":11.5, "y":1}, | ||
| 178 | {"x":12.5, "y":1}, | ||
| 179 | |||
| 180 | {"x":0, "y":2, "w":1.75}, | ||
| 181 | {"x":1.75, "y":2}, | ||
| 182 | {"x":2.75, "y":2}, | ||
| 183 | {"x":3.75, "y":2}, | ||
| 184 | {"x":4.75, "y":2}, | ||
| 185 | {"x":5.75, "y":2}, | ||
| 186 | {"x":6.75, "y":2}, | ||
| 187 | {"x":7.75, "y":2}, | ||
| 188 | {"x":8.75, "y":2}, | ||
| 189 | {"x":9.75, "y":2}, | ||
| 190 | {"x":10.75, "y":2}, | ||
| 191 | {"x":11.75, "y":2}, | ||
| 192 | {"x":12.75, "y":2}, | ||
| 193 | {"x":13.75, "y":1, "w":1.25, "h":2}, | ||
| 194 | |||
| 195 | {"x":0, "y":3, "w":1.25}, | ||
| 196 | {"x":1.25, "y":3}, | ||
| 197 | {"x":2.25, "y":3}, | ||
| 198 | {"x":3.25, "y":3}, | ||
| 199 | {"x":4.25, "y":3}, | ||
| 200 | {"x":5.25, "y":3}, | ||
| 201 | {"x":6.25, "y":3}, | ||
| 202 | {"x":7.25, "y":3}, | ||
| 203 | {"x":8.25, "y":3}, | ||
| 204 | {"x":9.25, "y":3}, | ||
| 205 | {"x":10.25, "y":3}, | ||
| 206 | {"x":11.25, "y":3}, | ||
| 207 | {"x":12.25, "y":3, "w":2.75}, | ||
| 208 | |||
| 209 | {"x":0, "y":4, "w":1.25}, | ||
| 210 | {"x":1.25, "y":4, "w":1.25}, | ||
| 211 | {"x":2.5, "y":4, "w":1.25}, | ||
| 212 | {"x":3.75, "y":4, "w":6.25}, | ||
| 213 | {"x":10, "y":4, "w":1.25}, | ||
| 214 | {"x":11.25, "y":4, "w":1.25}, | ||
| 215 | {"x":12.5, "y":4, "w":1.25}, | ||
| 216 | {"x":13.75, "y":4, "w":1.25} | ||
| 217 | ] | ||
| 147 | } | 218 | } |
| 148 | } | 219 | } |
| 149 | } | 220 | } |
diff --git a/keyboards/yd60mq/keymaps/iso/keymap.c b/keyboards/yd60mq/keymaps/iso/keymap.c new file mode 100644 index 000000000..9a4debed7 --- /dev/null +++ b/keyboards/yd60mq/keymaps/iso/keymap.c | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | enum layer_names { | ||
| 4 | _BL, | ||
| 5 | _FL, | ||
| 6 | }; | ||
| 7 | |||
| 8 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 9 | |||
| 10 | //,: Base Layer | ||
| 11 | [0] = LAYOUT_60_iso( | ||
| 12 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, | ||
| 13 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, | ||
| 14 | MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, | ||
| 15 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, | ||
| 16 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, LT(1,KC_RGHT) | ||
| 17 | ), | ||
| 18 | |||
| 19 | //,: Function Layer | ||
| 20 | [1] = LAYOUT_60_iso( | ||
| 21 | KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, | ||
| 22 | XXXXXXX, KC_BTN1, KC_MS_U, KC_BTN2, KC_WH_U, XXXXXXX, XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, KC_PGUP, KC_HOME, KC_PSCR, | ||
| 23 | KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_D, RGB_HUI, RGB_SAI, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_END, XXXXXXX, KC_MNXT, | ||
| 24 | KC_TRNS, RGB_MOD, RGB_RMOD, RGB_VAI, RGB_VAD, RGB_HUD, RGB_SAD, XXXXXXX, KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY, KC_MPRV, | ||
| 25 | KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, RGB_SPI, RGB_SPD, XXXXXXX, KC_TRNS | ||
| 26 | ) | ||
| 27 | |||
| 28 | }; \ No newline at end of file | ||
diff --git a/keyboards/yd60mq/rules.mk b/keyboards/yd60mq/rules.mk index 98b13aca4..6619c187f 100644 --- a/keyboards/yd60mq/rules.mk +++ b/keyboards/yd60mq/rules.mk | |||
| @@ -31,6 +31,6 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs |
| 33 | 33 | ||
| 34 | LAYOUTS = 60_ansi | 34 | LAYOUTS = 60_ansi 60_iso |
| 35 | 35 | ||
| 36 | DEFAULT_FOLDER = yd60mq/12led | 36 | DEFAULT_FOLDER = yd60mq/12led |
diff --git a/keyboards/yd60mq/yd60mq.h b/keyboards/yd60mq/yd60mq.h index 0f6fde965..6b3824baa 100644 --- a/keyboards/yd60mq/yd60mq.h +++ b/keyboards/yd60mq/yd60mq.h | |||
| @@ -30,4 +30,19 @@ | |||
| 30 | { K40, K41, K42, KC_NO, KC_NO, KC_NO, KC_NO, K47, KC_NO, K49, K4A, KC_NO, K4C, K4D, KC_NO } \ | 30 | { K40, K41, K42, KC_NO, KC_NO, KC_NO, KC_NO, K47, KC_NO, K49, K4A, KC_NO, K4C, K4D, KC_NO } \ |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | #define LAYOUT_60_iso( \ | ||
| 34 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, \ | ||
| 35 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1a, K1b, K1c, \ | ||
| 36 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2a, K2b, K2c, K1d, \ | ||
| 37 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3a, K3b, K3d, \ | ||
| 38 | K40, K41, K42, K47, K49, K4A, K4C, K4D \ | ||
| 39 | ) { \ | ||
| 40 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, KC_NO, K0E }, \ | ||
| 41 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1a, K1b, K1c, KC_NO, }, \ | ||
| 42 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2a, K2b, K2c, K1d }, \ | ||
| 43 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3a, K3b, KC_NO, K3d, KC_NO }, \ | ||
| 44 | { K40, K41, K42, KC_NO, KC_NO, KC_NO, KC_NO, K47, KC_NO, K49, K4A, KC_NO, K4C, K4D, KC_NO } \ | ||
| 45 | } | ||
| 46 | |||
| 47 | |||
| 33 | #define LAYOUT LAYOUT_all | 48 | #define LAYOUT LAYOUT_all |
diff --git a/layouts/default/65_ansi_blocker_split_bs/default_65_ansi_blocker_split_bs/keymap.c b/layouts/default/65_ansi_blocker_split_bs/default_65_ansi_blocker_split_bs/keymap.c new file mode 100644 index 000000000..34e10d547 --- /dev/null +++ b/layouts/default/65_ansi_blocker_split_bs/default_65_ansi_blocker_split_bs/keymap.c | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | /* | ||
| 5 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
| 6 | * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Bsp│Bsp│Hom│ | ||
| 7 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤ | ||
| 8 | * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgU│ | ||
| 9 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ | ||
| 10 | * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgD│ | ||
| 11 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ | ||
| 12 | * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End│ | ||
| 13 | * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ | ||
| 14 | * │Ctrl│GUI │Alt │ │ Alt│Ctrl│ │ ← │ ↓ │ → │ | ||
| 15 | * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ | ||
| 16 | */ | ||
| 17 | [0] = LAYOUT_65_ansi_blocker_split_bs( | ||
| 18 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_HOME, | ||
| 19 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, | ||
| 20 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, | ||
| 21 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, | ||
| 22 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 23 | ) | ||
| 24 | }; | ||
diff --git a/layouts/default/65_ansi_blocker_split_bs/info.json b/layouts/default/65_ansi_blocker_split_bs/info.json new file mode 100644 index 000000000..a388086b1 --- /dev/null +++ b/layouts/default/65_ansi_blocker_split_bs/info.json | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "65% ANSI layout with blocker and split Backspace", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 16, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_65_ansi_blocker_split_bs": { | ||
| 9 | "layout": [ | ||
| 10 | {"x":0, "y":0}, | ||
| 11 | {"x":1, "y":0}, | ||
| 12 | {"x":2, "y":0}, | ||
| 13 | {"x":3, "y":0}, | ||
| 14 | {"x":4, "y":0}, | ||
| 15 | {"x":5, "y":0}, | ||
| 16 | {"x":6, "y":0}, | ||
| 17 | {"x":7, "y":0}, | ||
| 18 | {"x":8, "y":0}, | ||
| 19 | {"x":9, "y":0}, | ||
| 20 | {"x":10, "y":0}, | ||
| 21 | {"x":11, "y":0}, | ||
| 22 | {"x":12, "y":0}, | ||
| 23 | {"x":13, "y":0}, | ||
| 24 | {"x":14, "y":0}, | ||
| 25 | {"x":15, "y":0}, | ||
| 26 | |||
| 27 | {"x":0, "y":1, "w":1.5}, | ||
| 28 | {"x":1.5, "y":1}, | ||
| 29 | {"x":2.5, "y":1}, | ||
| 30 | {"x":3.5, "y":1}, | ||
| 31 | {"x":4.5, "y":1}, | ||
| 32 | {"x":5.5, "y":1}, | ||
| 33 | {"x":6.5, "y":1}, | ||
| 34 | {"x":7.5, "y":1}, | ||
| 35 | {"x":8.5, "y":1}, | ||
| 36 | {"x":9.5, "y":1}, | ||
| 37 | {"x":10.5, "y":1}, | ||
| 38 | {"x":11.5, "y":1}, | ||
| 39 | {"x":12.5, "y":1}, | ||
| 40 | {"x":13.5, "y":1, "w":1.5}, | ||
| 41 | {"x":15, "y":1}, | ||
| 42 | |||
| 43 | {"x":0, "y":2, "w":1.75}, | ||
| 44 | {"x":1.75, "y":2}, | ||
| 45 | {"x":2.75, "y":2}, | ||
| 46 | {"x":3.75, "y":2}, | ||
| 47 | {"x":4.75, "y":2}, | ||
| 48 | {"x":5.75, "y":2}, | ||
| 49 | {"x":6.75, "y":2}, | ||
| 50 | {"x":7.75, "y":2}, | ||
| 51 | {"x":8.75, "y":2}, | ||
| 52 | {"x":9.75, "y":2}, | ||
| 53 | {"x":10.75, "y":2}, | ||
| 54 | {"x":11.75, "y":2}, | ||
| 55 | {"x":12.75, "y":2, "w":2.25}, | ||
| 56 | {"x":15, "y":2}, | ||
| 57 | |||
| 58 | {"x":0, "y":3, "w":2.25}, | ||
| 59 | {"x":2.25, "y":3}, | ||
| 60 | {"x":3.25, "y":3}, | ||
| 61 | {"x":4.25, "y":3}, | ||
| 62 | {"x":5.25, "y":3}, | ||
| 63 | {"x":6.25, "y":3}, | ||
| 64 | {"x":7.25, "y":3}, | ||
| 65 | {"x":8.25, "y":3}, | ||
| 66 | {"x":9.25, "y":3}, | ||
| 67 | {"x":10.25, "y":3}, | ||
| 68 | {"x":11.25, "y":3}, | ||
| 69 | {"x":12.25, "y":3, "w":1.75}, | ||
| 70 | {"x":14, "y":3}, | ||
| 71 | {"x":15, "y":3}, | ||
| 72 | |||
| 73 | {"x":0, "y":4, "w":1.25}, | ||
| 74 | {"x":1.25, "y":4, "w":1.25}, | ||
| 75 | {"x":2.5, "y":4, "w":1.25}, | ||
| 76 | {"x":3.75, "y":4, "w":6.25}, | ||
| 77 | {"x":10, "y":4, "w":1.25}, | ||
| 78 | {"x":11.25, "y":4, "w":1.25}, | ||
| 79 | {"x":13, "y":4}, | ||
| 80 | {"x":14, "y":4}, | ||
| 81 | {"x":15, "y":4} | ||
| 82 | ] | ||
| 83 | } | ||
| 84 | } | ||
| 85 | } | ||
diff --git a/layouts/default/65_ansi_blocker_split_bs/layout.json b/layouts/default/65_ansi_blocker_split_bs/layout.json new file mode 100644 index 000000000..93486ce97 --- /dev/null +++ b/layouts/default/65_ansi_blocker_split_bs/layout.json | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | [{a:7},"","","","","","","","","","","","","","","",""], | ||
| 2 | [{w:1.5},"","","","","","","","","","","","","",{w:1.5},"",""], | ||
| 3 | [{w:1.75},"","","","","","","","","","","","",{w:2.25},"",""], | ||
| 4 | [{w:2.25},"","","","","","","","","","","",{w:1.75},"","",""], | ||
| 5 | [{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:6.25},"",{w:1.25},"",{w:1.25},"",{x:0.5},"","",""] | ||
diff --git a/layouts/default/65_ansi_blocker_split_bs/readme.md b/layouts/default/65_ansi_blocker_split_bs/readme.md new file mode 100644 index 000000000..7c49f42b9 --- /dev/null +++ b/layouts/default/65_ansi_blocker_split_bs/readme.md | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # 65_ansi_blocker_split_bs | ||
| 2 | |||
| 3 | LAYOUT_65_ansi_blocker_split_bs | ||
| 4 | |||
| 5 | This is the 65% ANSI layout with a blocker next to the arrows and split Backspace. | ||
diff --git a/layouts/default/65_ansi_blocker_tsangan/default_65_ansi_blocker_tsangan/keymap.c b/layouts/default/65_ansi_blocker_tsangan/default_65_ansi_blocker_tsangan/keymap.c new file mode 100644 index 000000000..ed7cec1e1 --- /dev/null +++ b/layouts/default/65_ansi_blocker_tsangan/default_65_ansi_blocker_tsangan/keymap.c | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | /* | ||
| 5 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ | ||
| 6 | * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp│Hom│ | ||
| 7 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ | ||
| 8 | * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgU│ | ||
| 9 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ | ||
| 10 | * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgD│ | ||
| 11 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ | ||
| 12 | * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End│ | ||
| 13 | * ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬─┬───┼───┼───┤ | ||
| 14 | * │Ctrl │GUI│Alt │ │ Alt│ │ ← │ ↓ │ → │ | ||
| 15 | * └─────┴───┴─────┴───────────────────────────┴─────┘ └───┴───┴───┘ | ||
| 16 | */ | ||
| 17 | [0] = LAYOUT_65_ansi_blocker_tsangan( | ||
| 18 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, | ||
| 19 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, | ||
| 20 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, | ||
| 21 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, | ||
| 22 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 23 | ) | ||
| 24 | }; | ||
diff --git a/layouts/default/65_ansi_blocker_tsangan/info.json b/layouts/default/65_ansi_blocker_tsangan/info.json new file mode 100644 index 000000000..cec0ca813 --- /dev/null +++ b/layouts/default/65_ansi_blocker_tsangan/info.json | |||
| @@ -0,0 +1,83 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "65% ANSI Tsangan layout with blocker", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 16, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_65_ansi_blocker_tsangan": { | ||
| 9 | "layout": [ | ||
| 10 | {"x":0, "y":0}, | ||
| 11 | {"x":1, "y":0}, | ||
| 12 | {"x":2, "y":0}, | ||
| 13 | {"x":3, "y":0}, | ||
| 14 | {"x":4, "y":0}, | ||
| 15 | {"x":5, "y":0}, | ||
| 16 | {"x":6, "y":0}, | ||
| 17 | {"x":7, "y":0}, | ||
| 18 | {"x":8, "y":0}, | ||
| 19 | {"x":9, "y":0}, | ||
| 20 | {"x":10, "y":0}, | ||
| 21 | {"x":11, "y":0}, | ||
| 22 | {"x":12, "y":0}, | ||
| 23 | {"x":13, "y":0, "w":2}, | ||
| 24 | {"x":15, "y":0}, | ||
| 25 | |||
| 26 | {"x":0, "y":1, "w":1.5}, | ||
| 27 | {"x":1.5, "y":1}, | ||
| 28 | {"x":2.5, "y":1}, | ||
| 29 | {"x":3.5, "y":1}, | ||
| 30 | {"x":4.5, "y":1}, | ||
| 31 | {"x":5.5, "y":1}, | ||
| 32 | {"x":6.5, "y":1}, | ||
| 33 | {"x":7.5, "y":1}, | ||
| 34 | {"x":8.5, "y":1}, | ||
| 35 | {"x":9.5, "y":1}, | ||
| 36 | {"x":10.5, "y":1}, | ||
| 37 | {"x":11.5, "y":1}, | ||
| 38 | {"x":12.5, "y":1}, | ||
| 39 | {"x":13.5, "y":1, "w":1.5}, | ||
| 40 | {"x":15, "y":1}, | ||
| 41 | |||
| 42 | {"x":0, "y":2, "w":1.75}, | ||
| 43 | {"x":1.75, "y":2}, | ||
| 44 | {"x":2.75, "y":2}, | ||
| 45 | {"x":3.75, "y":2}, | ||
| 46 | {"x":4.75, "y":2}, | ||
| 47 | {"x":5.75, "y":2}, | ||
| 48 | {"x":6.75, "y":2}, | ||
| 49 | {"x":7.75, "y":2}, | ||
| 50 | {"x":8.75, "y":2}, | ||
| 51 | {"x":9.75, "y":2}, | ||
| 52 | {"x":10.75, "y":2}, | ||
| 53 | {"x":11.75, "y":2}, | ||
| 54 | {"x":12.75, "y":2, "w":2.25}, | ||
| 55 | {"x":15, "y":2}, | ||
| 56 | |||
| 57 | {"x":0, "y":3, "w":2.25}, | ||
| 58 | {"x":2.25, "y":3}, | ||
| 59 | {"x":3.25, "y":3}, | ||
| 60 | {"x":4.25, "y":3}, | ||
| 61 | {"x":5.25, "y":3}, | ||
| 62 | {"x":6.25, "y":3}, | ||
| 63 | {"x":7.25, "y":3}, | ||
| 64 | {"x":8.25, "y":3}, | ||
| 65 | {"x":9.25, "y":3}, | ||
| 66 | {"x":10.25, "y":3}, | ||
| 67 | {"x":11.25, "y":3}, | ||
| 68 | {"x":12.25, "y":3, "w":1.75}, | ||
| 69 | {"x":14, "y":3}, | ||
| 70 | {"x":15, "y":3}, | ||
| 71 | |||
| 72 | {"x":0, "y":4, "w":1.5}, | ||
| 73 | {"x":1.5, "y":4}, | ||
| 74 | {"x":2.5, "y":4, "w":1.5}, | ||
| 75 | {"x":4, "y":4, "w":7}, | ||
| 76 | {"x":11, "y":4, "w":1.5}, | ||
| 77 | {"x":13, "y":4}, | ||
| 78 | {"x":14, "y":4}, | ||
| 79 | {"x":15, "y":4} | ||
| 80 | ] | ||
| 81 | } | ||
| 82 | } | ||
| 83 | } | ||
diff --git a/layouts/default/65_ansi_blocker_tsangan/layout.json b/layouts/default/65_ansi_blocker_tsangan/layout.json new file mode 100644 index 000000000..519b65385 --- /dev/null +++ b/layouts/default/65_ansi_blocker_tsangan/layout.json | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | [{a:7},"","","","","","","","","","","","","",{w:2},"",""], | ||
| 2 | [{w:1.5},"","","","","","","","","","","","","",{w:1.5},"",""], | ||
| 3 | [{w:1.75},"","","","","","","","","","","","",{w:2.25},"",""], | ||
| 4 | [{w:2.25},"","","","","","","","","","","",{w:1.75},"","",""], | ||
| 5 | [{w:1.5},"","",{w:1.5},"",{w:7},"",{w:1.5},"",{x:0.5},"","",""] | ||
diff --git a/layouts/default/65_ansi_blocker_tsangan/readme.md b/layouts/default/65_ansi_blocker_tsangan/readme.md new file mode 100644 index 000000000..879742fee --- /dev/null +++ b/layouts/default/65_ansi_blocker_tsangan/readme.md | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | # 65_ansi_blocker_tsangan | ||
| 2 | |||
| 3 | LAYOUT_65_ansi_blocker_tsangan | ||
| 4 | |||
| 5 | This is a Tsangan-inspired 65% ANSI layout with a blocker next to the arrows and 1.5u-1u-1.5u-7u-1.5u bottom row. | ||
| 6 | \ No newline at end of file | ||
diff --git a/util/linux_install.sh b/util/linux_install.sh index 9ef064157..d30f78655 100755 --- a/util/linux_install.sh +++ b/util/linux_install.sh | |||
| @@ -32,6 +32,7 @@ if grep ID /etc/os-release | grep -qE "fedora"; then | |||
| 32 | avr-libc \ | 32 | avr-libc \ |
| 33 | binutils-avr32-linux-gnu \ | 33 | binutils-avr32-linux-gnu \ |
| 34 | clang \ | 34 | clang \ |
| 35 | avrdude \ | ||
| 35 | dfu-util \ | 36 | dfu-util \ |
| 36 | dfu-programmer \ | 37 | dfu-programmer \ |
| 37 | diffutils \ | 38 | diffutils \ |
| @@ -67,6 +68,7 @@ elif grep ID /etc/os-release | grep -qE 'debian|ubuntu'; then | |||
| 67 | gcc-avr \ | 68 | gcc-avr \ |
| 68 | git \ | 69 | git \ |
| 69 | libnewlib-arm-none-eabi \ | 70 | libnewlib-arm-none-eabi \ |
| 71 | avrdude \ | ||
| 70 | libusb-dev \ | 72 | libusb-dev \ |
| 71 | python3 \ | 73 | python3 \ |
| 72 | python3-pip \ | 74 | python3-pip \ |
| @@ -110,6 +112,7 @@ elif grep ID /etc/os-release | grep -q gentoo; then | |||
| 110 | app-arch/unzip \ | 112 | app-arch/unzip \ |
| 111 | app-arch/zip \ | 113 | app-arch/zip \ |
| 112 | app-mobilephone/dfu-util \ | 114 | app-mobilephone/dfu-util \ |
| 115 | dev-embedded/dfu-programmer \ | ||
| 113 | dev-embedded/avrdude \ | 116 | dev-embedded/avrdude \ |
| 114 | net-misc/wget \ | 117 | net-misc/wget \ |
| 115 | sys-devel/clang \ | 118 | sys-devel/clang \ |
| @@ -126,6 +129,7 @@ elif grep ID /etc/os-release | grep -q sabayon; then | |||
| 126 | app-arch/unzip \ | 129 | app-arch/unzip \ |
| 127 | app-arch/zip \ | 130 | app-arch/zip \ |
| 128 | app-mobilephone/dfu-util \ | 131 | app-mobilephone/dfu-util \ |
| 132 | dev-embedded/dfu-programmer \ | ||
| 129 | dev-embedded/avrdude \ | 133 | dev-embedded/avrdude \ |
| 130 | dev-lang/python \ | 134 | dev-lang/python \ |
| 131 | net-misc/wget \ | 135 | net-misc/wget \ |
| @@ -151,7 +155,8 @@ elif grep ID /etc/os-release | grep -qE "opensuse|tumbleweed"; then | |||
| 151 | cross-avr-binutils \ | 155 | cross-avr-binutils \ |
| 152 | cross-arm-none-newlib-devel \ | 156 | cross-arm-none-newlib-devel \ |
| 153 | cross-arm-binutils cross-arm-none-newlib-devel \ | 157 | cross-arm-binutils cross-arm-none-newlib-devel \ |
| 154 | dfu-tool \ | 158 | avrdude \ |
| 159 | dfu-util \ | ||
| 155 | dfu-programmer \ | 160 | dfu-programmer \ |
| 156 | gcc \ | 161 | gcc \ |
| 157 | libusb-devel \ | 162 | libusb-devel \ |
| @@ -216,6 +221,7 @@ elif grep ID /etc/os-release | grep -q void; then | |||
| 216 | avr-gcc \ | 221 | avr-gcc \ |
| 217 | avr-libc \ | 222 | avr-libc \ |
| 218 | $CROSS_ARM \ | 223 | $CROSS_ARM \ |
| 224 | avrdude \ | ||
| 219 | dfu-programmer \ | 225 | dfu-programmer \ |
| 220 | dfu-util \ | 226 | dfu-util \ |
| 221 | gcc \ | 227 | gcc \ |
