promotional bannermobile promotional banner

DirectTouch

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

screenshot_game.webp

Description

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.

The DirectTouch Team

Forgeborn tier frameprofile avatar
  • 19
    Followers
  • 7
    Projects
  • 273.8K
    Downloads

More from AndreasMeloneView all