project-robius / robrix

Robrix: a multi-platform Matrix chat client written in Rust using the Makepad UI toolkit and the Robius app dev framework
MIT License
120 stars 19 forks source link

Add Makepad feature to determine if a primary modifier key is pressed #252

Closed kevinaboos closed 1 week ago

kevinaboos commented 1 week ago

The primary modifier key is Command on macOs and Ctrl on all other platforms. We now use this to add a shortcut that sends a message when you press PrimaryModifier + Return/Enter in the message input box.