mirror of
https://github.com/xiaozhou233/OrangeX-Client.git
synced 2026-12-05 21:15:53 +08:00
Refactor: Route key input through EventBus
- Post EventKey from 1.8.9 KeyBinding/GuiScreen hooks - Hook 26.2 KeyboardHandler#keyPress so keys fire while walking - Normalize 26.2 GLFW key codes to 1.8.9 LWJGL 2 codes - Drive the GUI toggle from InputController instead of tick polling
This commit is contained in:
1 parent
70d8a854ea
commit
a84b04877d
18 files changed
+352
-164
No files matched your search
+2
-1
@@ -289,8 +289,9 @@ OrangeX/src/main/java/cn/xiaozhou233/orangex/
|
||||
├── facade/
|
||||
│ ├── TickEvents.java
|
||||
│ ├── Render2DEvents.java
|
||||
│ ├── KeyEvents.java
|
||||
│ └── InputEvents.java
|
||||
└── impl/EventTickPre.java, EventTickPost.java, EventRender2D.java
|
||||
└── impl/EventTickPre.java, EventTickPost.java, EventRender2D.java, EventKey.java
|
||||
|
||||
OrangeX/src/main/java/orangexbridge/
|
||||
├── Hooks.java 注入代码统一入口
|
||||
|
||||
Reference in new issue
Block a user