From 2653dfaf6c57f788c2c466ab7f3136acccb2734a Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Thu, 22 Jul 2010 15:50:41 +0800 Subject: [PATCH] [gmenu2x] update input.conf file Signed-off-by: Xiangfu Liu --- gmenu2x/Makefile | 15 ++++++--------- gmenu2x/files/input.conf | 12 ++++++++++++ 2 files changed, 18 insertions(+), 9 deletions(-) create mode 100755 gmenu2x/files/input.conf diff --git a/gmenu2x/Makefile b/gmenu2x/Makefile index e07ddda..25ee1eb 100644 --- a/gmenu2x/Makefile +++ b/gmenu2x/Makefile @@ -64,7 +64,7 @@ define Package/gmenu2x/install $(INSTALL_BIN) \ $(PKG_INSTALL_DIR)/usr/bin/gmenu2x \ $(1)/usr/share/gmenu2x/ - + $(INSTALL_BIN) \ $(PKG_BUILD_DIR)/gmenu2x.sh \ $(1)/usr/bin/gmenu2x @@ -72,16 +72,13 @@ define Package/gmenu2x/install $(CP) \ $(PKG_BUILD_DIR)/pandora/* \ $(1)/usr/share/gmenu2x/ - + + $(CP) \ + ./files/input.conf \ + $(1)/usr/share/gmenu2x/ + rm -rf \ $(1)/usr/share/gmenu2x/sections/{emulators,games} - -# $(INSTALL_DATA) \ -# $(PKG_INSTALL_DIR)/usr/share/gmenu2x/* \ -# $(1)/usr/share/gmenu2x/ -# -# $(PKG_INSTALL_DIR)/usr/bin/gmenu2x \ -# $(1)/usr/bin endef $(eval $(call BuildPackage,gmenu2x)) diff --git a/gmenu2x/files/input.conf b/gmenu2x/files/input.conf new file mode 100755 index 0000000..52b9408 --- /dev/null +++ b/gmenu2x/files/input.conf @@ -0,0 +1,12 @@ +a=keyboard,104 #NanoNote H +b=keyboard,13 #NanoNote Enter +x=keyboard,120 #NanoNote X +y=keyboard,121 #NanoNote Y +l=keyboard,108 #NanoNote L +r=keyboard,9 #NanoNote Tab +select=keyboard,283 #Nanonote F2 +start=keyboard,115 #NanoNote S +up=keyboard,273 +down=keyboard,274 +left=keyboard,276 +right=keyboard,275