1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Fix broken keypad handling (mixed up keys)

- While here, add LICENSE

Submitted by:	きくちゃん <kikuchan98 at gmail dot com>
MFH:		2015Q2
This commit is contained in:
Dmitry Marakasov 2015-05-07 09:10:20 +00:00
parent ca6a7c5faf
commit 38b9facd27
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385602
2 changed files with 15 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= flobopuyo
PORTVERSION= 0.20
PORTREVISION= 15
PORTREVISION= 16
CATEGORIES= games
MASTER_SITES= http://www.ios-software.com/flobopuyo/ \
http://mirror.amdmi3.ru/distfiles/
@ -11,6 +11,9 @@ MASTER_SITES= http://www.ios-software.com/flobopuyo/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Clone of the famous PuyoPuyo
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= bison gmake dos2unix tar:tgz
DOS2UNIX_FILES= IosVector.cpp PuyoGame.cpp
USE_SDL= sdl mixer image

View File

@ -0,0 +1,11 @@
--- InputManager.cpp.orig 2004-10-09 07:41:12.000000000 +0900
+++ InputManager.cpp 2015-05-06 22:08:05.341688383 +0900
@@ -164,7 +164,7 @@
}
int JoystickAxisSwitch::id() const {
- return 3000 + which * 50 + axis + (maximum?1:0);
+ return 3000 + which * 50 + axis * 2 + (maximum?1:0);
}
bool JoystickAxisSwitch::isArrowUp() const {