mirror of
https://github.com/moparisthebest/uinput-mapper
synced 2024-12-23 12:18: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/input.h>
|
||||||
#include <linux/uinput.h>
|
#include <linux/uinput.h>
|
||||||
|
|
||||||
#include "custom_map.h"
|
#include "config.h"
|
||||||
|
|
||||||
#define UINPUT_PATH "/dev/uinput"
|
#define UINPUT_PATH "/dev/uinput"
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ int main(int argc, char** argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define H_CONFIGURE_JOYSTICKS
|
#define H_CONFIGURE_JOYSTICKS
|
||||||
#include "custom_map.h"
|
#include "config.h"
|
||||||
|
|
||||||
/* Allocate device info */
|
/* Allocate device info */
|
||||||
snprintf(uidev.name, UINPUT_MAX_NAME_SIZE, "key2joy:%d", j);
|
snprintf(uidev.name, UINPUT_MAX_NAME_SIZE, "key2joy:%d", j);
|
||||||
@ -143,7 +143,7 @@ int main(int argc, char** argv) {
|
|||||||
switch(e.code) {
|
switch(e.code) {
|
||||||
|
|
||||||
#define H_JOYMAP
|
#define H_JOYMAP
|
||||||
#include "custom_map.h"
|
#include "config.h"
|
||||||
|
|
||||||
default:
|
default:
|
||||||
nowrite = 1;
|
nowrite = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user