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
Currently QPanda3D_Key_translation uses type PyQt5.QtCore.Qt.Key as dictionary key values. However, left and right shift etc. cannot be distinguished in this way since these keys are mapped to same name by Qt.
Is it a good idea to use integer scan codes instead in the dictionary, so that lshift and rshift can send different messages?
Currently
QPanda3D_Key_translation
uses typePyQt5.QtCore.Qt.Key
as dictionary key values. However, left and right shift etc. cannot be distinguished in this way since these keys are mapped to same name by Qt.Is it a good idea to use integer scan codes instead in the dictionary, so that
lshift
andrshift
can send different messages?some related discussions are here:
https://forum.qt.io/topic/36639/read-keyboard-input-that-can-differ-between-left-shift-and-right-shift-key
https://stackoverflow.com/questions/44813630/detecting-the-right-shift-key-in-qt
The text was updated successfully, but these errors were encountered: