2012-06-15 07:03:47 +02:00
|
|
|
/* ----------------------------------------------------------------------------
|
2012-07-31 23:48:31 +02:00
|
|
|
* key functions : private : exports
|
2012-06-15 07:03:47 +02:00
|
|
|
*
|
2012-07-31 23:48:31 +02:00
|
|
|
* Things to be used only by keyfunctions. Exported so layouts can use these
|
|
|
|
* functions to help define their own, if they like.
|
2012-06-15 07:03:47 +02:00
|
|
|
* ----------------------------------------------------------------------------
|
|
|
|
* Copyright (c) 2012 Ben Blazak <benblazak.dev@gmail.com>
|
|
|
|
* Released under The MIT License (MIT) (see "license.md")
|
|
|
|
* Project located at <https://github.com/benblazak/ergodox-firmware>
|
|
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
|
2012-07-31 23:48:31 +02:00
|
|
|
#ifndef LIB__KEY_FUNCTIONS__INTERNAL_h
|
2016-02-04 07:35:27 +01:00
|
|
|
#define LIB__KEY_FUNCTIONS__INTERNAL_h
|
2012-06-15 07:03:47 +02:00
|
|
|
|
2016-02-04 07:35:27 +01:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
2016-06-11 21:13:46 +02:00
|
|
|
#include "../../keyboard/ergodox/matrix.h"
|
2012-07-31 23:48:31 +02:00
|
|
|
|
2016-02-04 07:35:27 +01:00
|
|
|
// --------------------------------------------------------------------
|
2012-07-31 23:48:31 +02:00
|
|
|
|
2016-02-04 08:20:48 +01:00
|
|
|
void _kbfun_press_release (bool press, uint8_t keycode);
|
|
|
|
bool _kbfun_is_pressed (uint8_t keycode);
|
|
|
|
void _kbfun_mediakey_press_release (bool press, uint8_t keycode);
|
|
|
|
uint8_t _kbfun_get_keycode (void);
|
2012-06-15 07:03:47 +02:00
|
|
|
|
|
|
|
#endif
|