Giter Club home page Giter Club logo

Comments (10)

shixiawuheng avatar shixiawuheng commented on July 26, 2024

<ActionElementMap> <actionCategoryId>0</actionCategoryId> <actionId>0</actionId> <elementType>1</elementType> <elementIdentifierId>1</elementIdentifierId> <axisRange>0</axisRange> <invert>false</invert> <axisContribution>1</axisContribution> <keyboardKeyCode>97</keyboardKeyCode> <modifierKey1>0</modifierKey1> <modifierKey2>0</modifierKey2> <modifierKey3>0</modifierKey3> <enabled>true</enabled> </ActionElementMap>

from better-genshin-impact.

shixiawuheng avatar shixiawuheng commented on July 26, 2024

但是我看了一下 在代码中很多按键都是直接使用的 User32.VK.VK_F 引入方式 如果修改键位改动将会非常大

from better-genshin-impact.

shixiawuheng avatar shixiawuheng commented on July 26, 2024

我对不会C#语法 但是我会尝试完善这一块代码 提交pr 但是可能会遥遥无期

from better-genshin-impact.

shixiawuheng avatar shixiawuheng commented on July 26, 2024

如果有人给我写个样板最好了 因为 我都不知道应该怎么去实现 像这样的配置

from better-genshin-impact.

shixiawuheng avatar shixiawuheng commented on July 26, 2024

我发现在最新的代码中 // 自定义拾取按键
private string _pickKeyName = "F";

private User32.VK _pickVk = User32.VK.VK_F; 实现了这个 是已经完成了自定义按键的实现吗?

from better-genshin-impact.

shixiawuheng avatar shixiawuheng commented on July 26, 2024

但是我好像没发现自定义按键的代码

from better-genshin-impact.

shixiawuheng avatar shixiawuheng commented on July 26, 2024

<ActionElementMap> <actionCategoryId>0</actionCategoryId> <actionId>17</actionId> <elementType>1</elementType> <elementIdentifierId>6</elementIdentifierId> <axisRange>0</axisRange> <invert>false</invert> <axisContribution>0</axisContribution> <keyboardKeyCode>102</keyboardKeyCode> <modifierKey1>0</modifierKey1> <modifierKey2>0</modifierKey2> <modifierKey3>0</modifierKey3> <enabled>true</enabled> </ActionElementMap> 这是我设置元素战技为 F 时的值 <ActionElementMap> <actionCategoryId>0</actionCategoryId> <actionId>17</actionId> <elementType>1</elementType> <elementIdentifierId>11</elementIdentifierId> <axisRange>0</axisRange> <invert>false</invert> <axisContribution>0</axisContribution> <keyboardKeyCode>107</keyboardKeyCode> <modifierKey1>0</modifierKey1> <modifierKey2>0</modifierKey2> <modifierKey3>0</modifierKey3> <enabled>true</enabled> </ActionElementMap> 这是设置为K时的值

from better-genshin-impact.

shixiawuheng avatar shixiawuheng commented on July 26, 2024

他其中好像还有一个算法

from better-genshin-impact.

emako avatar emako commented on July 26, 2024

https://github.com/babalae/better-genshin-impact/tree/main/BetterGenshinImpact/Genshin/Settings 这里有除手柄设置外的完整读取

from better-genshin-impact.

huiyadanli avatar huiyadanli commented on July 26, 2024

这个已经实现了,只是没对接而已。(当时没直接支持自定义按键的原因是,UI控件不支持选择+手动输入功能)

你直接修改配置文件 + 把对应名称的拾取按键的图像放入对应文件夹就能直接集成。

from better-genshin-impact.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.