Should have been caps as these are const

This commit is contained in:
Kyle Brown 2018-10-11 19:14:23 -07:00
parent e6ddaf847f
commit 37aeeac10a
2 changed files with 5 additions and 5 deletions

View File

@ -150,7 +150,7 @@ class UnicodeModes:
class LeaderMode: class LeaderMode:
Default = 0 DEFAULT = 0
Default_Active = 1 DEFAULT_ACTIVE = 1
Enter = 2 ENTER = 2
Enter_Active = 3 ENTER_ACTIVE = 3

View File

@ -90,7 +90,7 @@ class InternalState:
import kmk_keyboard_user import kmk_keyboard_user
self.unicode_mode = getattr(kmk_keyboard_user, 'unicode_mode', UnicodeModes.NOOP) self.unicode_mode = getattr(kmk_keyboard_user, 'unicode_mode', UnicodeModes.NOOP)
self.tap_time = getattr(kmk_keyboard_user, 'tap_time', 300) self.tap_time = getattr(kmk_keyboard_user, 'tap_time', 300)
self.leader_mode = getattr(kmk_keyboard_user, 'leader_mode', LeaderMode.Enter) self.leader_mode = getattr(kmk_keyboard_user, 'leader_mode', LeaderMode.ENTER)
self.LEADER_DICTIONARY = getattr(kmk_keyboard_user, 'LEADER_DICTIONARY', {}) self.LEADER_DICTIONARY = getattr(kmk_keyboard_user, 'LEADER_DICTIONARY', {})
self.preserve_intermediate_states = preserve_intermediate_states self.preserve_intermediate_states = preserve_intermediate_states