,-----------------------------------------. ,-----------------------------------------.
| F1 | F2 | F3 | F4 | F5 | F6 | | F1 | F2 | F3 | F4 | F5 | F6 |
|------+------+------+------+------+------' `------+------+------+------+------+------|
| 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 |
,-------------+------+------+------+------+------+------. ,------+------+------+------+------+------+-------------.
| { | } | Q | W | E | R | T | Esc | | App | Y | U | I | O | P | - | = |
|------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
| ` | Caps | A | S | D | F | G | Tab | | Enter| H | J | K | L | ; | ' | \ |
This file contains 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
uint32_t tmp_layer_state = 0; | |
bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |
switch (keycode) { | |
case LT(SYMB, KC_LANG2): | |
if (record->event.pressed) { | |
tmp_layer_state = layer_state; | |
} else if (tmp_layer_state == layer_state) { | |
register_code(KC_F16); | |
unregister_code(KC_F16); |
This file contains 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
;KC_LANG1 -> 変換、KC_LANG2 -> 無変換 | |
sc071 Up::Send,{vk1Dsc07B} | |
sc072 Up::Send,{vk1Csc079} |
This file contains 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
#define MOD_LCTL 0x1 | |
#define MOD_LGUI 0x2 | |
#define MOD_LSFT 0x4 | |
#define MOD_LALT 0x8 | |
static uint16_t mod_state = 0; | |
// {mod_state, remap_src, remap_dest} | |
const uint16_t key_combo[][3] = { | |
{(MOD_LCTL|MOD_LGUI), KC_H, KC_LEFT}, |
This file contains 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
import lombok.AccessLevel; | |
import lombok.AllArgsConstructor; | |
import lombok.NonNull; | |
import java.util.Iterator; | |
import java.util.Spliterator; | |
import java.util.Spliterators; | |
import java.util.function.BiFunction; | |
import java.util.function.Consumer; | |
import java.util.stream.Stream; |
This file contains 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
import javafx.concurrent.Service; | |
import javafx.concurrent.Task; | |
import org.bytedeco.javacpp.opencv_core.*; | |
import org.bytedeco.javacpp.opencv_videoio.*; | |
import static org.bytedeco.javacpp.opencv_videoio.CV_CAP_PROP_FRAME_HEIGHT; | |
import static org.bytedeco.javacpp.opencv_videoio.CV_CAP_PROP_FRAME_WIDTH; | |
public class VideoCaptureServiceSample extends Service<Mat> { | |
private final VideoCapture videoCapture; |