-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
775d5db
commit 1b1400c
Showing
17 changed files
with
494 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,29 @@ | ||
#ifndef config_header | ||
#define config_header | ||
#ifndef config_h | ||
#define config_h | ||
|
||
/** | ||
* The event path for the device. | ||
*/ | ||
* */ | ||
extern char eventPath[18]; | ||
|
||
/** | ||
* The hyper key; | ||
*/ | ||
* */ | ||
extern int hyperKey; | ||
|
||
/** | ||
* Map for keys and their conversion. | ||
*/ | ||
* */ | ||
extern int keymap[256]; | ||
|
||
/** | ||
* Map for permanently remapped keys. | ||
* */ | ||
extern int remap[256]; | ||
|
||
/** | ||
* Reads the configuration file. | ||
*/ | ||
* */ | ||
void readConfiguration(); | ||
|
||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#ifndef emit_header | ||
#define emit_header | ||
#ifndef emit_h | ||
#define emit_h | ||
|
||
/** | ||
* Emits a key event. | ||
* */ | ||
int emit(int type, int code, int value); | ||
|
||
#endif | ||
#endif |
Oops, something went wrong.