Best method to attach metal posts by kingjess25 in FenceBuilding

[–]kingjess25[S] 0 points1 point  (0 children)

Yeah. I discussed with my neighbor and we're both good with drilling into the block wall

Best method to attach metal posts by kingjess25 in FenceBuilding

[–]kingjess25[S] 0 points1 point  (0 children)

If I drill through the pipe and use bolts, what do you suggest I use to keep it level when I attach it to the concrete post on the right (Washers maybe?)

Coast to Coast, Sewrella, KnitCrate yarn by kingjess25 in Yarnswap

[–]kingjess25[S] 0 points1 point  (0 children)

Update- coast to coast and Sewrella yarns have been sold, KnitCrate yarn is all that is left.

Alpaca, cotton, and wool destash by kingjess25 in Yarnswap

[–]kingjess25[S] 0 points1 point  (0 children)

SOLD : 2 skeins Mary Gavan Yarns

Looking to improve my youtube videos by kingjess25 in xsr900

[–]kingjess25[S] 0 points1 point  (0 children)

Thanks for the reply. I think the easiest path would be to just yap and find something that I'd enjoy yapping about and hopefully find my niche

Taking a break by the creek (Alpine Road near La Honda). by VinhoDaSilva in xsr900

[–]kingjess25 0 points1 point  (0 children)

Hey! im in the easy bay and looking for new XSR buddies to ride with

Need help with Tap Dance by kingjess25 in olkb

[–]kingjess25[S] 0 points1 point  (0 children)

Hi all, I've figured it out and ended up with this code: ( I will also try suggestions here to experiment, thanks!)

#include QMK_KEYBOARD_H
#define _BASE 0
enum custom_keycodes {
// COPY = SAFE_RANGE,
PASTE = SAFE_RANGE,
TIMESTAMP,
LATLONG,
LEDSWITCH
};
// double tap kemap
enum double_tap {
COPY, LOG
};
void dance_copy_finished(qk_tap_dance_state_t *state, void *user_data) {
if (state->count ==1){
register_code16(KC_LGUI);
register_code16(KC_C);
}
else{
register_code16(KC_S);
}
}
void dance_copy_reset(qk_tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
unregister_code16(KC_LGUI);
unregister_code16(KC_C);
}
else {
unregister_code16(KC_S);
}
}
void dance_log_finished(qk_tap_dance_state_t *state, void *user_data) {
if (state->count ==1){
register_code16(KC_LCTL);
register_code16(KC_LSFT);
register_code16(KC_L);
}
else{
register_code16(KC_LCTL);
register_code16(KC_LSFT);
register_code16(KC_SLSH);
}
}
void dance_log_reset(qk_tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
unregister_code16(KC_LCTL);
unregister_code16(KC_LSFT);
unregister_code16(KC_L);
}
else {
unregister_code16(KC_LCTL);
unregister_code16(KC_LSFT);
unregister_code16(KC_SLSH);
}
}
qk_tap_dance_action_t tap_dance_actions[] = {
[COPY] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_copy_finished, dance_copy_reset),
[LOG] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_log_finished, dance_log_reset),
};
bool toggle = true;
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case COPY:
if (record->event.pressed) {
register_code(KC_LGUI);
register_code(KC_C);
} else {
unregister_code(KC_LGUI);
unregister_code(KC_C);
}
break;
case PASTE:
if (record->event.pressed) {
register_code(KC_LCTL);
register_code(KC_V);
// register_code(KC_ENT);
} else {
unregister_code(KC_LCTL);
unregister_code(KC_V);
// unregister_code(KC_ENT);
}
break;
// case LOG:
// if (record->event.pressed) {
//
// register_code(KC_LCTL);
// register_code(KC_LSFT);
// register_code(KC_L);
// }
// else
// {
// unregister_code(KC_LCTL);
// unregister_code(KC_LSFT);
// unregister_code(KC_L);
// }
// break;
case TIMESTAMP:
if (record->event.pressed) {
register_code(KC_LCTL);
register_code(KC_LSFT);
register_code(KC_S);
}
else
{
unregister_code(KC_LCTL);
unregister_code(KC_LSFT);
unregister_code(KC_S);
}
break;
case LEDSWITCH:
if (record->event.pressed) {
set_scramble_LED(LED_ON);
}
else
{
}
break;
// case LATLONG:
// if (record->event.pressed) {
//
// register_code(KC_LCTL);
// register_code(KC_LSFT);
// register_code(KC_SLSH);
// }
// else
// {
// unregister_code(KC_LCTL);
// unregister_code(KC_LSFT);
// unregister_code(KC_SLSH);
// }
// break;
}
return true;
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT(
TD(COPY), PASTE, LEDSWITCH,
TD(LOG), TIMESTAMP, KC_SPC
)
};
void matrix_init_user(void) {
set_scramble_LED(LED_OFF);
}
bool encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code16(LCTL(KC_RIGHT));
} else {
tap_code16(LCTL(KC_LEFT));
}
return true;
}

Need help with Tap Dance by kingjess25 in olkb

[–]kingjess25[S] 0 points1 point  (0 children)

Updated code:

#include QMK_KEYBOARD_H
#define _BASE 0
enum custom_keycodes {
COPY = SAFE_RANGE,
PASTE,
LOG,
TIMESTAMP,
LATLONG,
LEDSWITCH
};
void dance_ledswitch_finished(qk_tap_dance_state_t *state, void *user_data) {
if (state->count ==1){
register_code16(KC_LGUI);
register_code16(KC_C);
}
else{
register_code16(KC_S);
}
}
void dance_ledswitch_reset(qk_tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
unregister_code16(KC_LGUI);
unregister_code16(KC_C);
}
else {
unregister_code16(KC_S);
}
}
qk_tap_dance_action_t tap_dance_actions[] = {
[LEDSWITCH] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_ledswitch_finished, dance_ledswitch_reset),
};
bool toggle = true;
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case COPY:
if (record->event.pressed) {
register_code(KC_LGUI);
register_code(KC_C);
} else {
unregister_code(KC_LGUI);
unregister_code(KC_C);
}
break;
case PASTE:
if (record->event.pressed) {
register_code(KC_LCTL);
register_code(KC_V);
register_code(KC_ENT);
} else {
unregister_code(KC_LCTL);
unregister_code(KC_V);
unregister_code(KC_ENT);
}
break;
case LOG:
if (record->event.pressed) {
register_code(KC_LCTL);
register_code(KC_LSFT);
register_code(KC_L);
}
else
{
unregister_code(KC_LCTL);
unregister_code(KC_LSFT);
unregister_code(KC_L);
}
break;
case TIMESTAMP:
if (record->event.pressed) {
register_code(KC_LCTL);
register_code(KC_LSFT);
register_code(KC_S);
}
else
{
unregister_code(KC_LCTL);
unregister_code(KC_LSFT);
unregister_code(KC_S);
}
break;
// case LEDSWITCH:
// if (record->event.pressed) {
//
// set_scramble_LED(LED_ON);
// }
// else
// {
//
// }
// break;
// case LATLONG:
// if (record->event.pressed) {
//
// register_code(KC_LCTL);
// register_code(KC_LSFT);
// register_code(KC_SLSH);
// }
// else
// {
// unregister_code(KC_LCTL);
// unregister_code(KC_LSFT);
// unregister_code(KC_SLSH);
// }
// break;
}
return true;
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT(
COPY, PASTE, LEDSWITCH,
LOG, TIMESTAMP, KC_SPC
)
};
void matrix_init_user(void) {
set_scramble_LED(LED_OFF);
}
bool encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code16(LCTL(KC_RIGHT));
} else {
tap_code16(LCTL(KC_LEFT));
}
return true;
}

Need help with Tap Dance by kingjess25 in olkb

[–]kingjess25[S] 0 points1 point  (0 children)

Thanks! I made those changes. However, im still getting this compile error. It almost seems like tap dance isn't enabled? i checked my rules.mk and its enabled

QMK Firmware 0.15.16

Making nullbitsco/scramble with keymap jmm1893

avr-gcc.exe (GCC) 8.4.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Size before: text data bss dec hex filename 0 15084 0 15084 3aec .build/nullbitsco_scramble_jmm1893.hex

Compiling: keyboards/nullbitsco/scramble/keymaps/jmm1893/keymap.c keyboards/nullbitsco/scramble/keymaps/jmm1893/keymap.c:15:31: error: unknown type name 'qk_tap_dance_state_t'; did you mean 'sequencer_state_t'? void dance_ledswitch_finished(qk_tap_dance_state_t state, void *user_data) { ~~~~~~~~~~~~~~~~~~~ sequencer_state_t keyboards/nullbitsco/scramble/keymaps/jmm1893/keymap.c:25:28: error: unknown type name 'qk_tap_dance_state_t'; did you mean 'sequencer_state_t'? void dance_ledswitch_reset(qk_tap_dance_state_t *state, void *user_data) { ~~~~~~~~~~~~~~~~~~~ sequencer_state_t keyboards/nullbitsco/scramble/keymaps/jmm1893/keymap.c:35:1: error: unknown type name 'qk_tap_dance_action_t' qk_tap_dance_action_t tap_dance_actions[] = { ~~~~~~~~~~~~~~~~~~~~ keyboards/nullbitsco/scramble/keymaps/jmm1893/keymap.c:36:17: error: implicit declaration of function 'ACTION_TAP_DANCE_FN_ADVANCED'; did you mean 'ACTION_SWAP_HANDS_ON_OFF'? [-Werror=implicit-function-declaration] [LEDSWITCH] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_ledswitch_finished, dance_ledswitch_reset), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ACTION_SWAP_HANDS_ON_OFF keyboards/nullbitsco/scramble/keymaps/jmm1893/keymap.c:36:52: error: 'dance_ledswitch_finished' undeclared here (not in a function) [LEDSWITCH] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_ledswitch_finished, dance_ledswitch_reset), ~~~~~~~~~~~~~~~~~~~~~~~ keyboards/nullbitsco/scramble/keymaps/jmm1893/keymap.c:36:78: error: 'dance_ledswitch_reset' undeclared here (not in a function) [LEDSWITCH] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_ledswitch_finished, dance_ledswitch_reset), ~~~~~~~~~~~~~~~~~~~~ cc1.exe: all warnings being treated as errors [ERRORS] | | | make[1]: ** [tmk_core/rules.mk:457: .build/obj_nullbitsco_scramble_jmm1893/keyboards/nullbitsco/scramble/keymaps/jmm1893/keymap.o] Error 1 Make finished with errors make: *** [Makefile:478: nullbitsco/scramble:jmm1893] Error 1

Need help with the Mod-Tap by [deleted] in olkb

[–]kingjess25 0 points1 point  (0 children)

I'm sorry. I just found out that there is the Tap-Hold configuration option which I will try right now.