mirror of
https://github.com/moparisthebest/uinput-mapper
synced 2024-12-23 04:08:48 -05:00
Rename custom_map.h to config.h
This commit is contained in:
parent
555df71402
commit
d62c52372c
6
map.c
6
map.c
@ -21,7 +21,7 @@
|
||||
#include <linux/input.h>
|
||||
#include <linux/uinput.h>
|
||||
|
||||
#include "custom_map.h"
|
||||
#include "config.h"
|
||||
|
||||
#define UINPUT_PATH "/dev/uinput"
|
||||
|
||||
@ -105,7 +105,7 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
|
||||
#define H_CONFIGURE_JOYSTICKS
|
||||
#include "custom_map.h"
|
||||
#include "config.h"
|
||||
|
||||
/* Allocate device info */
|
||||
snprintf(uidev.name, UINPUT_MAX_NAME_SIZE, "key2joy:%d", j);
|
||||
@ -143,7 +143,7 @@ int main(int argc, char** argv) {
|
||||
switch(e.code) {
|
||||
|
||||
#define H_JOYMAP
|
||||
#include "custom_map.h"
|
||||
#include "config.h"
|
||||
|
||||
default:
|
||||
nowrite = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user