/GenshinKey

Mapping keyboard to Genshin Impact functions on MacBook M1

Primary LanguageSwiftMIT LicenseMIT

GenshinKey

Release

Keyboard controls for Genshin Imapact on Apple Silicon Macs.

Project Info

The project is inspired by AmongKey by andresavic, a lot of thanks to him!

Cause Genshin Impact only support using game controller (e.g. DS4) currently, so I came up the idea to modified keyboard to in-game control.

Mapping Functions

Key Description
W, A, S, D Movement of the Player
V Normal Attack
E E skill
Q Q skill
R Run
Space Jump
Esc Game Menu
J Jobs List
M Map
B Open Backpack
C Characters Menu
1, 2, 3 Switch to Character 1, 2, 3

Issues & TODO

The most ideal situation is to simulate game controllers input signal, but currently I have no idea how to do this, and because I'm not familiar with Swift lang, it might be some buggy if you press other key when rotating perspective.

The program has only been tested on Macbook Air M1, not sure if it can successfully works on Macbook Pro version.

If you have any interesting idea or want to contribute, any help is appreciate!