summaryrefslogtreecommitdiffstats
path: root/users/davidkristoffersen/hardware/split_space.h
blob: a9736b5ca1b3249676ee6ef26e67c1718cee2995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2022 David Kristoffersen (@davidkristoffersen)
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once

#include "davidkristoffersen.h"

#define KC_RSPC KC_SPACE

#ifdef SPLIT_SPACE
#    define KC_LSPC LT(NUMPAD, KC_NO)
#else
#   define KC_LSPC KC_SPACE
#endif

void handle_split_space(uint16_t keycode);