aboutsummaryrefslogtreecommitdiffstats
path: root/includer.c
blob: c1bc51af1195037e0582701864d6708f98a2f1e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include "dome_key_map.h"

#define SIZE 2

int main() {
	HeadphoneButton buttons[SIZE] = {HeadphoneButton_Play, HeadphoneButton_Down};
	Trigger trigger = {
		.buttons = buttons,
		.length = SIZE
	};
	const CKeyActionResult *result = c_run_key_action(trigger, NULL);
	printf("%s", result->action);

	return 0;
}