macro_action: switch from KC_NO to KC_A
parent
6f64ef627c
commit
056d36a43b
|
|
@ -5,11 +5,11 @@ from PyQt5.QtCore import QObject, pyqtSignal, Qt
|
||||||
from PyQt5.QtWidgets import QLineEdit, QToolButton, QComboBox, QWidget, QSizePolicy
|
from PyQt5.QtWidgets import QLineEdit, QToolButton, QComboBox, QWidget, QSizePolicy
|
||||||
|
|
||||||
from flowlayout import FlowLayout
|
from flowlayout import FlowLayout
|
||||||
from keycodes import KEYCODES_SPECIAL, KEYCODES_BASIC
|
from keycodes import KEYCODES_BASIC
|
||||||
from util import tr
|
from util import tr
|
||||||
|
|
||||||
|
|
||||||
KC_NO = KEYCODES_SPECIAL[0]
|
KC_A = KEYCODES_BASIC[0]
|
||||||
|
|
||||||
SS_TAP_CODE = 1
|
SS_TAP_CODE = 1
|
||||||
SS_DOWN_CODE = 2
|
SS_DOWN_CODE = 2
|
||||||
|
|
@ -107,7 +107,7 @@ class ActionSequence(BasicAction):
|
||||||
self.layout_container.deleteLater()
|
self.layout_container.deleteLater()
|
||||||
|
|
||||||
def on_add(self):
|
def on_add(self):
|
||||||
self.sequence.append(KC_NO)
|
self.sequence.append(KC_A)
|
||||||
self.recreate_sequence()
|
self.recreate_sequence()
|
||||||
self.changed.emit()
|
self.changed.emit()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue