-
Notifications
You must be signed in to change notification settings - Fork 8
1.1: Upgrade instructions
Stanislav Markin edited this page Aug 25, 2024
·
5 revisions
// page_updated: 2024-08-25
// lib_version: 0.4.0
- replace
sm_td.h
with newer version - remove
smtd_state smtd_states[]
andsize_t smtd_states_size
- move all sm_td keycodes close together in your enum, and wrap them with
SMTD_KEYCODES_BEGIN
andSMTD_KEYCODES_END
, so that every sm_td keycode will be inside BEGIN and END
- replace
sm_td.h
with newer version
- replace
sm_td.h
with newer version - replace
get_smtd_timeout_default(keycode, timeout)
calls withget_smtd_timeout_default(timeout)
- replace
smtd_feature_enabled_default(keycode, feature)
calls withsmtd_feature_enabled_default(feature)
- replace
sm_td.h
with newer version - remove every SMTD_ACTION_INIT_UNDO. If you need any UNDO action, put in SMTD_ACTION_TAP instead
- rename
SMTD_ACTION_INIT
→SMTD_ACTION_TOUCH
- rename
SMTD_TIMEOUT_JOIN
→SMTD_TIMEOUT_FOLLOWING_TAP
- rename
SMTD_TIMEOUT_TAP
→SMTD_TIMEOUT_SEQUENCE
- rename
SMTD_TIMEOUT_INIT
→SMTD_TIMEOUT_TAP
- rename
SMTD_INIT_TERM
→SMTD_GLOBAL_TAP_TERM
- rename
SMTD_TAP_TERM
→SMTD_GLOBAL_SEQUENCE_TERM
- rename
SMTD_JOIN_TERM
→SMTD_GLOBAL_FOLLOWING_TAP_TERM
- rename
SMTD_RELEASE_TERM
→SMTD_GLOBAL_RELEASE_TERM