Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keymapping module architectural refactor #120

Merged
merged 6 commits into from Sep 25, 2023

Conversation

XuYicong
Copy link
Member

A giant step towards fixing any keymapping bug, trust me bro(

So finally we have some software diagrams. We have class inheritance graph, state transition graph and data flow diagram. By the way, anyone knows a better diagram tool than a crowded draft paper?

Data Flow Diagram: (What happens when you press any key in game)
IMG_20230919_071327

Class Inheritance Graph: (Different event adapters for different device and different control mode)
IMG_20230919_071448

State Transition Graph: (Smart Keymapping corresponds to Click state. When that is disabled, only three states: Off, Editor and Camera)
IMG_20230919_071353

Copy link
Member

@IsaacMarovitz IsaacMarovitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work as always!

Copy link
Member

@ohaiibuzzle ohaiibuzzle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Member

@JoseMoreville JoseMoreville left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job xyct

@XuYicong XuYicong marked this pull request as draft September 23, 2023 19:55
@smallrodya

This comment was marked as spam.

@XuYicong XuYicong marked this pull request as ready for review September 25, 2023 00:46
@JoseMoreville
Copy link
Member

Hi @XuYicong you can use excalidraw or tldraw for diagrams. I'm sure both of these tools will be useful for you in the future.

https://www.tldraw.com/

https://excalidraw.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants