Skip to content

Conversation

@Schr3da
Copy link

@Schr3da Schr3da commented Dec 16, 2023

  • Added Steamdeck action controls
  • Added Steamdeck support via feature steamdeck
  • Added feature based compilation for windows size to meet steamdeck

match key {
Key::X => Some(Button::Cross),
Key::C => Some(Button::Circle),
Key::X | Key::Escape => Some(Button::Cross),
Copy link
Owner

Choose a reason for hiding this comment

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

Hmm Escape is currently used for switching between the editor and the game 🤔

Copy link
Author

Choose a reason for hiding this comment

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

Per default steamdeck button is mapped to escape - It does not cause any big issue.
As I have tested it before

VirtualKeyCode::Escape => Some(Self::Escape),
VirtualKeyCode::LAlt => Some(Self::Alt),
VirtualKeyCode::Space => Some(Self::Space),
VirtualKeyCode::Space => Some(Self::Enter),
Copy link
Owner

Choose a reason for hiding this comment

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

Why this change?

Copy link
Author

Choose a reason for hiding this comment

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

Otherwise it wont work on the steamdeck

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.

2 participants