You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. First of all, congrats on the project. Amazing stuff. It does what it proposes and is also very easy for beginners like me to learn how to use. I'm currently using it on a project of mine.
So, I've noticed a lack of support for the numerical keys on the numpad. On further inspection, this happens because they aren't listed in the Key enum in src/keyboard.rs
So in order to add numpad support, it is just a matter of listing the NumpadX key enumeration and later, inside the function, add dq::Keycode::NumpadX => Key::NumpadX for each key. Since these changes were so simple, I've already implemented them in this fork. I've also added them as motion key alternatives in the space invaders example.
The text was updated successfully, but these errors were encountered:
Hi. First of all, congrats on the project. Amazing stuff. It does what it proposes and is also very easy for beginners like me to learn how to use. I'm currently using it on a project of mine.
So, I've noticed a lack of support for the numerical keys on the numpad. On further inspection, this happens because they aren't listed in the
Key
enum insrc/keyboard.rs
and below, on the same file,
So in order to add numpad support, it is just a matter of listing the
NumpadX
key enumeration and later, inside the function, adddq::Keycode::NumpadX => Key::NumpadX
for each key. Since these changes were so simple, I've already implemented them in this fork. I've also added them as motion key alternatives in the space invaders example.The text was updated successfully, but these errors were encountered: