blob: 2c89064e4847e393fe7c01eadf13cc0005d68b3e (
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);
printf("%s", result->action);
return 0;
}
|