This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //shift + enter = " 来自:https://github.com/qmk/qmk_firmware/blob/e899cb8940da04fa2610604f0aab417db7fac119/keyboards/mitosis/keymaps/datagrok/keymap.c | |
| bool comm_shifted = false; | |
| bool ques_shifted = false; | |
| bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |
| uint8_t shifted; | |
| uint16_t s_keycode; | |
| bool *k_shifted; | |
| switch (keycode) { | |
| //特殊 shift |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style> | |
| body.grayDay { | |
| filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); | |
| -webkit-filter: grayscale(100%); } | |
| </style> | |
| <script> | |
| window.onload = function() { | |
| var grayDay = [108, 207, 219, 404, 420, 512, 815, 909, 918, 1213]; | |
| var today = new Date(); | |
| var d = (today.getMonth() + 1) * 100 + today.getDate(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/ | |
| / { | |
| shifter: 74hc595a@0 { | |
| compatible = "ti,xx74hc595a"; | |
| a-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; | |
| b-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; | |
| c-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
OlderNewer