跳到正文

DirectTouch

作者:AndreasMelone

A fast, reliable and launcher-independent proxy implementation for the TouchController mod!

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

DirectTouch

A fast, reliable and launcher-independent proxy implementation for the Touch Controller mod
.
TouchController on PojavLauncher using DirectTouch

What launchers does this work on?

The mod has been tested on and is guaranteed to work on:

Features

The DirectTouch mod is made for seamless integration into the gameplay process.

Due to that, it does not provide any features or configuration of its own: it simply makes TouchController work,
and it does this in an optimal way, that is faster, more reliable and does not require a launcher to support the mod!

Usage

  • Download the jar for your version of TouchController
    • If you are using TouchController 0.3.1-alpha (1.21.1 or newer) then download directtouch-<X.Y.Z>-tc0.3.1-alpha<W>-<loader>.jar
    • If you are using TouchController 0.2.1-beta (1.21 or older) then download directtouch-<X.Y.Z>-tc0.2.1-beta<W>-<loader>.jar
    • X.Y.Z corresponds to the version of DirectTouch, W is the release of TouchController (e.g. 0.3.1-alpha03 ← this is W) and loader is your modloader (e.g. fabric)
  • Put it into your mods/ directory, alongside the TouchController mod
  • Launch and enjoy!

What is this useful for?

In order for TouchController to work, the launcher you are using has to implement some of its functionality itself.

Not all launchers can do that for various reasons, this mod’s main purpose is to target such cases.

Additionally, although unverified, it may also have slightly lower input latency than the original TouchController proxy.

How does it work?

DirectTouch establishes a connection to the launcher using PojIntegr,
which utilizes the similar mechanisms launchers use for GLFW.

It creates a bridge using JNI (Java Native Interface), which is a way for Java programs to communicate with native code.

DirectTouch does this on the launcher side, as well as the game side, establishing common ground in native code,
into which both sides are able to call.

Credits

Logo concept made by FLX

Logo is an edited version of the TouchController logo

Licenses

This project is licensed under LGPL-3.0

TouchController is licensed under LGPL-3.0

Amethyst Android, fragments of code from which are included in the mod, is licensed under LGPL-3.0

This project is not affiliated with, endorsed by, or supported by TouchController or its development team.

常见问题

DirectTouch 支持哪些 Minecraft 版本?

DirectTouch 支持 Minecraft Java 版 1.16.5–26.2,共 17 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

DirectTouch 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

AndreasMelone 的其他作品

查看全部 →