mirror of https://github.com/OpenIPC/firmware.git
22 lines
743 B
Diff
22 lines
743 B
Diff
diff -drupN a/include/media/rc-map.h b/include/media/rc-map.h
|
|
--- a/include/media/rc-map.h 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/include/media/rc-map.h 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -138,6 +138,9 @@ struct rc_map {
|
|
enum rc_type rc_type;
|
|
const char *name;
|
|
spinlock_t lock;
|
|
+#ifdef CONFIG_SUNXI_KEYMAPPING_SUPPORT
|
|
+ void *mapping;
|
|
+#endif
|
|
};
|
|
|
|
/**
|
|
@@ -287,6 +290,7 @@ struct rc_map *rc_map_get(const char *na
|
|
#define RC_MAP_WINFAST "rc-winfast"
|
|
#define RC_MAP_WINFAST_USBII_DELUXE "rc-winfast-usbii-deluxe"
|
|
#define RC_MAP_SU3000 "rc-su3000"
|
|
+#define RC_MAP_AW_NEC "rc-aw-nec"
|
|
|
|
/*
|
|
* Please, do not just append newer Remote Controller names at the end.
|