Skip to content

Instantly share code, notes, and snippets.

View NullSense's full-sized avatar
I could do this for the rest of my simulation

NullSense NullSense

I could do this for the rest of my simulation
View GitHub Profile
@NullSense
NullSense / bilateral_combos.patch
Created April 22, 2021 11:07
QMK Bilateral combinations patch
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index 2387f50dc8..4448ceae4b 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -51,6 +51,10 @@ int retro_tapping_counter = 0;
# include "fauxclicky.h"
#endif
+#if (BILATERAL_COMBINATIONS + 0)
+# include "quantum.h"
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
//! A demo about how to use a Surface (CPU-side image memory).
//!
//! Our demo is that we'll store where the mouse goes, and turn those pixels
//! white, so you see a "trail" of sorts.
use ber::ray::Ray;
use beryllium::*;
use nalgebra::{Point3, Vector3};