]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - tmk_core/common/action.c
usb_hid: Change to USB_Host_Shield_2.0 of tmk repo
[max/tmk_keyboard.git] / tmk_core / common / action.c
index 305816d4f0ccbcaad729f87663767415b527741f..9b139d48b155828b0aa9845f9e564c92d04d0b7e 100644 (file)
@@ -492,6 +492,12 @@ void unregister_code(uint8_t code)
     }
 }
 
+void type_code(uint8_t code)
+{
+    register_code(code);
+    unregister_code(code);
+}
+
 void register_mods(uint8_t mods)
 {
     if (mods) {