Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0f9ab5e

Browse files
Alejandro Garcíatacaswell
authored andcommitted
Add Caps Lock key to Qt backend SPECIAL_KEY dictionary
1 parent 0da9d1e commit 0f9ab5e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/matplotlib/backends/backend_qt5.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
QtCore.Qt.Key_Meta: 'meta',
2929
QtCore.Qt.Key_Super_L: 'super',
3030
QtCore.Qt.Key_Super_R: 'super',
31+
QtCore.Qt.Key_CapsLock: 'caps_lock',
3132
QtCore.Qt.Key_Return: 'enter',
3233
QtCore.Qt.Key_Left: 'left',
3334
QtCore.Qt.Key_Up: 'up',

0 commit comments

Comments
 (0)