data(tiHwKeyboard): fix .rodata order for country maps #543
Reference in New Issue
Block a user
Delete Branch "agent/data/tiHwKeyboard"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Moves the
scCountryMap_EU,scCountryMap_NonEU, andcontrolKeysdefinitions insrc/keyboard/tiHwKeyboard.cppfrom betweenupdateTriggerKey_andupdateTappingShift_to immediately before thesetLanguageasm function (afterupdateShift). Array contents are unchanged.The HWKeyboard methods emit the
KeyInputDataaggregate constant (@6525) into.rodata; placing the country maps andcontrolKeysafter them makes.rodataemission order match the original:@6525, EU, NonEU,controlKeys.Measurements
.rodatafuzzy ~90.9% -> 100%;matched_data~208/504 (~40%) -> ~472/504 (~93.7%).sdatasection pad (3 vs 8) and.sdata2symbol split (8+8 vs 8+4). Not adding unreferenced padding, per PR #484 feedback.pool_diff: N/A / strings identical; this change is definition order only.26116613f624061ba99c8d1a299aaa6efa85670d(unchanged;tiHwKeyboard.cppisNonMatchingand not linked).Notes
setLanguage;controlKeysis used inupdateTriggerKey_.git diffis 17 deletions / 18 insertions of the same lines (one blank-line separator beforesetLanguage).Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.