1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 06:57:45 +00:00

Ports: Add FreeDink port

This commit is contained in:
Brendan Coles 2021-10-28 11:27:43 +00:00 committed by Andreas Kling
parent 287bbabbc1
commit 3ce4d0f89a
4 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- freedink-109.6/autotools/config.sub 2018-03-01 08:34:41.000000000 -0800
+++ freedink-109.6/autotools/config.sub 2021-04-09 10:52:45.687169960 -0700
@@ -1409,6 +1409,7 @@
# Each alternative MUST END IN A *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ | -serenity* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
| -sym* | -kopensolaris* | -plan9* \

View file

@ -0,0 +1,13 @@
--- freedink-109.6/src/input.cpp 2021-10-24 21:47:29.904647862 -0700
+++ freedink-109.6/src/input.cpp 2021-10-24 21:47:32.528649774 -0700
@@ -89,10 +89,6 @@
// It also keeps the mouse within the window in software mode.
SDL_SetHint(SDL_HINT_MOUSE_RELATIVE_MODE_WARP, "1");
- // TODO: don't attempt to simulate mouse events from touch events -
- // fake mouse events often are de-centered
- SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0");
-
/* Touch devices */
{
int i;