Skip to content

Commit

Permalink
Merge pull request qmk#1 from schmidt-x/for_moran
Browse files Browse the repository at this point in the history
add french symbols and shit
  • Loading branch information
Chukozor committed Feb 17, 2024
2 parents 23a2790 + 8cc4715 commit a1384f9
Show file tree
Hide file tree
Showing 6 changed files with 169 additions and 427 deletions.
121 changes: 0 additions & 121 deletions keyboards/crkbd/keymaps/my_keymap/french_macros.c

This file was deleted.

16 changes: 6 additions & 10 deletions keyboards/crkbd/keymaps/my_keymap/helpers.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#include "quantum.h"
#include "keymap.h"

bool is_accent_layer(void) {
return layer_state_is(_ACCENTS);
or:
return IS_LAYER_ON(_ACCENTS); // which is just an alias
return IS_LAYER_ON(_ACCENTS);
}

bool is_shift_layer(void) {
return layer_state_is(_SFT_COLEMAK_FR);
or:
return IS_LAYER_ON(_SFT_COLEMAK_FR); // which is just an alias
}

// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
return IS_LAYER_ON(_SFT_COLEMAK_FR);
}
4 changes: 4 additions & 0 deletions keyboards/crkbd/keymaps/my_keymap/helpers.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#pragma once

bool is_accent_layer(void);
bool is_shift_layer(void);
Loading

0 comments on commit a1384f9

Please sign in to comment.