1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 13:10:37 +02:00

[gmenu2x] update input.conf file

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-07-22 15:50:41 +08:00
parent 52eafe1ce5
commit 2653dfaf6c
2 changed files with 18 additions and 9 deletions

View File

@ -64,7 +64,7 @@ define Package/gmenu2x/install
$(INSTALL_BIN) \ $(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/usr/bin/gmenu2x \ $(PKG_INSTALL_DIR)/usr/bin/gmenu2x \
$(1)/usr/share/gmenu2x/ $(1)/usr/share/gmenu2x/
$(INSTALL_BIN) \ $(INSTALL_BIN) \
$(PKG_BUILD_DIR)/gmenu2x.sh \ $(PKG_BUILD_DIR)/gmenu2x.sh \
$(1)/usr/bin/gmenu2x $(1)/usr/bin/gmenu2x
@ -72,16 +72,13 @@ define Package/gmenu2x/install
$(CP) \ $(CP) \
$(PKG_BUILD_DIR)/pandora/* \ $(PKG_BUILD_DIR)/pandora/* \
$(1)/usr/share/gmenu2x/ $(1)/usr/share/gmenu2x/
$(CP) \
./files/input.conf \
$(1)/usr/share/gmenu2x/
rm -rf \ rm -rf \
$(1)/usr/share/gmenu2x/sections/{emulators,games} $(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 endef
$(eval $(call BuildPackage,gmenu2x)) $(eval $(call BuildPackage,gmenu2x))

12
gmenu2x/files/input.conf Executable file
View File

@ -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