Controlling insertion of models with keyboard and meaning of "raw value of key pressed"
In the KeyEvent class, there is a variable called key. In documentation it is given that it is the raw value of key pressed. Can anyone explain the meaning of that with some examples? Also how can I write plugin for keyboard arrow key press to insert models in gazebo? Thank You.
Asked by cadbury on 2020-05-21 01:21:25 UTC
Answers
Can anyone explain the meaning of that with some examples?
We use Qt's key codes in a decimal format.
So for example, Qt::Key_A
corresponds to the upper-case A
(Shift + A), which is 0x41 hexadecimal / 65 decimal.
Asked by chapulina on 2020-06-09 14:02:49 UTC
Comments
Thanks for the reply :)
Asked by cadbury on 2020-06-10 02:14:15 UTC
Comments