/XtMapper

Keymapper for Android x86

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

XtMapper

XtMapper, a free and open source keymapper.
Play your Android games with keyboard and mouse on Bliss OS

Features:

  • Multi-touch emulation
  • Emulate a touch pointer with mouse - Useful for games that only accept touch events and not mouse clicks.
  • Emulate a D-pad with W,A,S,D or arrow keys
  • Keyboard events to touch - And editing config with GUI
  • Aim with mouse in FPS games (shooting mode)
  • Pinch-to-zoom gesture using ctrl key + move mouse or ctrl + scroll wheel
  • Smooth pixel by pixel scrolling emulation for mouse wheel
  • Swipes with keyboard keys

Video Demonstration

Development

Build

  • Run ./gradlew assembleDebug at the base directory of the project

If you want to contribute code, please base your commits on the latest dev branch.

  • Touch emulation is handled by TouchPointer.java and Input.java.
  • InputService.java runs separately from the app as an elevated java process using app_process and adb shell/root.

Help and support

Feel free to file an issue.
Some useful discord servers (related):
BlissLabs: https://discord.com/invite/F9n5gbdNy2
AndroidEmu: https://discord.gg/mRpT4Qq
SupremeGamers: https://aopc.dev/discord

Credits

Open source libraries used:

Some code from the scrcpy project was used for implementing multi-touch support in the keymapper.

Copyright and License

This project is licensed under the GPL v3.
Do not publish unofficial APKs to the play store.

XtMapper
Copyright (C) 2022 Xtr126

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 3.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License 
along with this program. If not, see https://www.gnu.org/licenses/.