Compare commits

...

1 Commits

8 changed files with 664 additions and 412 deletions

View File

@@ -909,12 +909,12 @@ config.libs = [
# it decides to do fast optimization for this one
IPLSection("keyboard", [
Object(Matching, "keyboard/tiPcKeyboard.cpp", extra_cflags=["-O4,p"]),
Object(NonMatching, "keyboard/tiCellPhone.cpp", extra_cflags=["-O4,p"]),
Object(Matching, "keyboard/tiCellPhone.cpp", extra_cflags=["-O4,p"]),
Object(NonMatching, "keyboard/tiInputForm.cpp", extra_cflags=["-O4,p"]),
Object(NonMatching, "keyboard/tiCandidateBox.cpp", extra_cflags=["-O4,p"]),
Object(Matching, "keyboard/tiToolBar.cpp", extra_cflags=["-O4,p"]),
Object(Matching, "keyboard/tiPredictLang.cpp", extra_cflags=["-O4,p"]),
Object(NonMatching, "keyboard/tiSignWindow.cpp", extra_cflags=["-O4,p"]),
Object(Matching, "keyboard/tiSignWindow.cpp", extra_cflags=["-O4,p"]),
Object(NonMatching, "keyboard/tiString.cpp", extra_cflags=["-O4,p"]),
Object(NonMatching, "keyboard/tiAtokString.cpp", extra_cflags=["-O4,p"]), # for 4.3J
Object(NonMatching, "keyboard/tiZiString.cpp", extra_cflags=["-O4,p"]), # for 4.3U and 4.3E

View File

@@ -129,7 +129,11 @@ namespace textinput {
#ifdef TIHWKEYBOARD_IMPLEMENTATION
EventObserver* getEventObserverForHardware() const { return mpEventObserver; }
#endif
#ifdef TISIGNWINDOW_IMPLEMENTATION
virtual InputForm* getInputForm();
#else
virtual InputForm* getInputForm() { return mpInputForm; }
#endif
virtual const InputForm* getInputForm() const { return mpInputForm; }
virtual keyboard::hwkey::HWKeyboard* getHWKeyboard() { return mpHWKeyboard; }

View File

@@ -18,6 +18,7 @@ struct LanguageDependency {
class Base : public KeyboardBase {
public:
Base(Manager* manager) : mpAllocator(NULL), mpManager(manager) {}
virtual ~Base();
virtual void create(MEMAllocator*) override;
virtual void init() override;
@@ -45,6 +46,8 @@ class EventHandler;
class LayoutByNW4R : public Base, public nw4rmanager::Layout, public nw4rmanager::AnmObserver {
public:
LayoutByNW4R(Manager* manager, nw4r::lyt::MultiArcResourceAccessor* accessor, EventObserver* observer, const char* layoutName)
: Base(manager), nw4rmanager::Layout(accessor, layoutName, observer), mbActive(false), mbInput(false), mpEventHandler(NULL), mpKeyboard(NULL) {}
virtual ~LayoutByNW4R();
virtual void create(MEMAllocator*) override;
virtual void init() override;
@@ -75,7 +78,9 @@ public:
class Sample : public LayoutByNW4R {
public:
virtual ~Sample();
Sample(Manager* manager, nw4r::lyt::MultiArcResourceAccessor* accessor, EventObserver* observer, const char* layoutName)
: LayoutByNW4R(manager, accessor, observer, layoutName) {}
virtual ~Sample() {}
};
class EventHandler : public nw4rmanager::TiEventHandler {

View File

@@ -155,41 +155,6 @@ namespace textinput {
{0x00040000, {&csKeySetHangul, &csKeySetUSabc, &csKeySetUSABC, &csKeySetNumber, NULL}},
};
void Base::create(MEMAllocator* allocator) {
mpAllocator = allocator;
mPreviousInputMode = 0;
mCurrentInputMode = 0;
mHoldingButton = 0;
mbInputModeLocked = false;
mbNumericWithDotMode = false;
mbNumericMode = false;
mbUpperCaseMode = true;
mbAbcMode = true;
mbLanguageKeyMode = false;
mpInputModeTable = const_cast<LanguageDependencyData*>(&csLanguageDependencyData[getLanguage()]);
u32 inputData[3] = {0, 0, 0};
sendCommand(3, inputData);
}
void Base::init() {
mPreviousInputMode = 0;
mCurrentInputMode = 0;
mHoldingButton = 0;
mbInputModeLocked = false;
mbNumericWithDotMode = false;
mbNumericMode = false;
mbUpperCaseMode = true;
mbAbcMode = true;
mbLanguageKeyMode = false;
mpInputModeTable = const_cast<LanguageDependencyData*>(&csLanguageDependencyData[getLanguage()]);
u32 inputData[3] = {0, 0, 0};
sendCommand(3, inputData);
}
void Base::calc() {}
static inline const PaneNameToCharCode* findKeyForPane(const PaneNameToCharCode* keys, const char* paneName) {
for (u16 index = 0; index < 12; index++) {
if (util::strcmp(keys[index].szPaneName, paneName)) { return &keys[index]; }
@@ -234,6 +199,66 @@ namespace textinput {
return NULL;
}
static inline void initializeTogglePane(nw4rmanager::Layout& layout, void* const& inputModeTable,
int inputMode, const char* paneName) {
char textPaneName[17];
memset(textPaneName, 0, sizeof(textPaneName));
strncpy(textPaneName, paneName, strlen(paneName));
textPaneName[0] = 'T';
nw4r::lyt::TextBox* textPane = static_cast<nw4r::lyt::TextBox*>(layout.getPane(textPaneName));
nw4r::lyt::Pane* buttonPane = layout.getPane(paneName);
const KeySet* keySet = static_cast<const LanguageDependencyData*>(inputModeTable)->keySets[inputMode];
if (keySet == NULL) {
buttonPane->SetVisible(false);
} else {
buttonPane->SetVisible(true);
textPane->SetString(static_cast<const LanguageDependencyData*>(inputModeTable)->keySets[inputMode]->szKeySetName, 0);
}
}
static inline bool isNormalCellPhoneKey(const char* paneName) {
for (int index = 0; index < 12; ++index) {
if (util::strcmp(paneName, csPaneNameNormalKey[index])) { return true; }
}
return false;
}
void Base::create(MEMAllocator* allocator) {
mpAllocator = allocator;
mPreviousInputMode = 0;
mCurrentInputMode = 0;
mHoldingButton = 0;
mbInputModeLocked = false;
mbNumericWithDotMode = false;
mbNumericMode = false;
mbUpperCaseMode = true;
mbAbcMode = true;
mbLanguageKeyMode = false;
mpInputModeTable = const_cast<LanguageDependencyData*>(&csLanguageDependencyData[getLanguage()]);
u32 inputData[3] = {0, 0, 0};
sendCommand(3, inputData);
}
void Base::init() {
mPreviousInputMode = 0;
mCurrentInputMode = 0;
mHoldingButton = 0;
mbInputModeLocked = false;
mbNumericWithDotMode = false;
mbNumericMode = false;
mbUpperCaseMode = true;
mbAbcMode = true;
mbLanguageKeyMode = false;
mpInputModeTable = const_cast<LanguageDependencyData*>(&csLanguageDependencyData[getLanguage()]);
u32 inputData[3] = {0, 0, 0};
sendCommand(3, inputData);
}
void Base::calc() {}
void Base::onKey(u32 event, void* data) {
struct KeyEvent { const char* paneName; u8 state; };
struct ConfirmInput {
@@ -350,8 +375,6 @@ namespace textinput {
}
}
Base::~Base() {}
Base::InputMode Base::getInputMode() const {
return static_cast<InputMode>(mCurrentInputMode);
}
@@ -410,6 +433,28 @@ namespace textinput {
}
}
void Base::onActive() {
u32 commandData = 0;
sendCommand(0x12, &commandData);
if (mCurrentInputMode == IM_00) {
InputModeEnabled activeData = {true};
sendCommand(0x13, &activeData);
}
if (static_cast<s32>(mCurrentInputMode) == IM_01) {
struct InactiveMode { bool enabled; } inactiveData = {false};
sendCommand(0x13, &inactiveData);
}
if (mCurrentInputMode == IM_00) {
sendCommand(6, NULL);
changeInputMode(static_cast<InputMode>(mCurrentInputMode));
}
updateFixMode();
}
bool Base::onClose() {}
void Base::changeInputMode(InputMode mode) {
@@ -436,38 +481,6 @@ namespace textinput {
sendCommand(0x29, NULL);
}
void Base::setInputMode(InputMode) {}
void Base::setUpperCaseJP(bool) {}
void Base::draw() {}
void Base::doInput() {}
bool Base::isUpperCase() {
return mbUpperCaseMode;
}
bool Base::isHoldingButton() const {
return mHoldingButton != 0;
}
bool Base::isNumericWithDot() const {
return mbNumericWithDotMode;
}
bool Base::isNumeric() const {
return mbNumericMode;
}
bool Base::isLocked() const {
return mbInputModeLocked;
}
u32 Base::getType() {
return 1;
}
bool Base::isZiActive() {
struct ActiveMode {
u32 mode;
@@ -503,28 +516,6 @@ namespace textinput {
}
}
void Base::onActive() {
u32 commandData = 0;
sendCommand(0x12, &commandData);
if (mCurrentInputMode == IM_00) {
InputModeEnabled activeData = {true};
sendCommand(0x13, &activeData);
}
if (static_cast<s32>(mCurrentInputMode) == IM_01) {
struct InactiveMode { bool enabled; } inactiveData = {false};
sendCommand(0x13, &inactiveData);
}
if (mCurrentInputMode == IM_00) {
sendCommand(6, NULL);
changeInputMode(static_cast<InputMode>(mCurrentInputMode));
}
updateFixMode();
}
void Base::doNumericMode(bool enabled) {
mbNumericMode = enabled;
if (enabled) {
@@ -603,6 +594,8 @@ namespace textinput {
}
}
void Base::setInputMode(InputMode) {}
LayoutByNW4R::~LayoutByNW4R() {
mpEventHandler->~EventHandler();
MEMFreeToAllocator(mpAllocator, mpEventHandler);
@@ -617,6 +610,8 @@ namespace textinput {
}
}
Base::~Base() {}
EventHandler::~EventHandler() {}
void LayoutByNW4R::create(MEMAllocator* allocator) {
@@ -670,24 +665,12 @@ namespace textinput {
setLanguage(getLanguage());
}
static inline void initializeTogglePane(nw4rmanager::Layout& layout, void* const& inputModeTable,
int inputMode, const char* paneName) {
char textPaneName[17];
memset(textPaneName, 0, sizeof(textPaneName));
strncpy(textPaneName, paneName, strlen(paneName));
textPaneName[0] = 'T';
nw4r::lyt::TextBox* textPane = static_cast<nw4r::lyt::TextBox*>(layout.getPane(textPaneName));
nw4r::lyt::Pane* buttonPane = layout.getPane(paneName);
const KeySet* keySet = static_cast<const LanguageDependencyData*>(inputModeTable)->keySets[inputMode];
if (keySet == NULL) {
buttonPane->SetVisible(false);
} else {
buttonPane->SetVisible(true);
textPane->SetString(static_cast<const LanguageDependencyData*>(inputModeTable)->keySets[inputMode]->szKeySetName, 0);
}
void CellPhoneAnmPane::init() {
meState = ANM_Normal;
}
CellPhoneAnmPane::~CellPhoneAnmPane() {}
void LayoutByNW4R::init() {
Base::init();
@@ -767,21 +750,27 @@ namespace textinput {
henkanPane->SetVisible(false);
}
void LayoutByNW4R::setSignWindow(signwindow::LayoutByNW4R* signWindow) {
mpSignWindow = signWindow;
void LayoutByNW4R::draw() {
nw4rmanager::Layout::draw();
}
void LayoutByNW4R::setPredictLanguageDialog(predictlang::LayoutByNW4R* dialog) {
mpPredictLanguageDialog = dialog;
}
void LayoutByNW4R::calc() {
nw4rmanager::Layout::calc();
bool LayoutByNW4R::updateInput(int channel, f32 x, f32 y, u32 trig, u32 hold, u32 release, void* data) {
return nw4rmanager::Layout::updateInput(channel, x, y, trig, hold, release, data);
nw4r::lyt::Pane* spacePane = mpLayout->GetRootPane()->FindPaneByName("P_spaceBT_JP");
nw4r::lyt::Pane* henkanPane = mpLayout->GetRootPane()->FindPaneByName("P_HENKAN_JP");
bool canConvert = mpManager->getInputForm()->canConvert();
if (canConvert) {
spacePane->SetVisible(false);
henkanPane->SetVisible(true);
} else {
spacePane->SetVisible(true);
henkanPane->SetVisible(false);
}
}
void LayoutByNW4R::update() {}
void LayoutByNW4R::onKey(u32 event, void* data) {
Base::onKey(event, data);
@@ -821,211 +810,12 @@ namespace textinput {
}
}
}
void LayoutByNW4R::onActive() {
Base::onActive();
nw4rmanager::Layout::init();
}
void LayoutByNW4R::draw() {
nw4rmanager::Layout::draw();
}
void LayoutByNW4R::calc() {
nw4rmanager::Layout::calc();
nw4r::lyt::Pane* spacePane = mpLayout->GetRootPane()->FindPaneByName("P_spaceBT_JP");
nw4r::lyt::Pane* henkanPane = mpLayout->GetRootPane()->FindPaneByName("P_HENKAN_JP");
bool canConvert = mpManager->getInputForm()->canConvert();
if (canConvert) {
spacePane->SetVisible(false);
henkanPane->SetVisible(true);
} else {
spacePane->SetVisible(true);
henkanPane->SetVisible(false);
}
}
void LayoutByNW4R::doNumericMode(bool enabled) {
mbNumericMode = enabled;
if (enabled) {
input::HKBManager::getInstance().SetModifierState(0x100, 0x100);
getLanguage();
changeInputMode(IM_03);
if (mpManager->getToolBar()) {
mpManager->getToolBar()->setQwerty(false);
}
}
if (!enabled) { return; }
{
setVisible("W_smlCptChngeBT", !enabled);
setVisible("W_CPkey_09", !enabled);
setVisible("P_CPkey_dakuten", !enabled);
setVisible("W_smlCptChngeBT", !enabled);
setVisible("W_prdcModeBT_EU", !enabled);
setVisible("W_othersBT_EU", !enabled);
setVisible("W_spaceBT_JP", !enabled);
setVisible("W_smlCptChngeBT", !enabled);
setVisible("W_othersBT_JP", !enabled);
setVisible("W_CPkey_Prdc_JP", !enabled);
setVisible("W_CPkey_09", !enabled);
setVisible("W_CPkey_11", !enabled);
setVisible("W_ChngTag_00", !enabled);
setVisible("W_ChngTag_01", !enabled);
setVisible("W_ChngTag_02", !enabled);
setVisible("W_ChngTag_03", !enabled);
}
}
void LayoutByNW4R::updatePredictLanguage(CommandReceiver::ChangePredictMode* mode) {
if (!getLanguage()) {
return;
}
if (!mode->enabled) {
setVisible("N_prdc_EU_ON", false);
setVisible("N_prdc_EU_OFF", true);
mbLanguageKeyMode = false;
} else {
setVisible("N_prdc_EU_ON", true);
setVisible("N_prdc_EU_OFF", false);
mbLanguageKeyMode = true;
}
nw4r::lyt::TextBox* textBox = static_cast<nw4r::lyt::TextBox*>(getPane("N_prdc_EU_lang"));
textBox->SetString(csszPredictLanguage[mode->predictMode], 0);
const LanguageDependencyData* inputModeTable = static_cast<const LanguageDependencyData*>(mpInputModeTable);
const KeySet* keySet = inputModeTable->keySets[mCurrentInputMode];
changeSpaceKeyTop(keySet->pPaneNameToCharCode);
}
void LayoutByNW4R::doNumericWithDotMode(bool enabled) {
doNumericMode(enabled);
setString("T_CPkey_11", L".");
setVisible("W_CPkey_11", enabled);
mbNumericWithDotMode = true;
}
void LayoutByNW4R::setLineFeedButton(bool enabled) {
mbLineFeedButton = enabled;
setVisible("W_CPkey_LF", mbLineFeedButton);
}
bool LayoutByNW4R::updateInput(input::HKBManager& hkbManager) {
if (mpManager->getToolBar()->isEnableKeytopChange()) {
const input::HKBManager::KeySet& triggeredKey = hkbManager.GetTriggeredKeySet();
if (triggeredKey.IsValid()) {
if (mHoldingButton) {
struct KeyEvent { const char* paneName; u32 state; } keyEvent = {NULL, 0};
keyEvent.paneName = mHoldingButton->szPaneName;
onKey(gui::EventHandler::ON_LEFT, &keyEvent);
}
changeAnimationAllToNormal();
mpManager->getToolBar()->setQwertyWithSE(true);
if (!mpManager->getPCKeyboard()->isABC()) { mpManager->getPCKeyboard()->setABC(true); }
}
} else {
input::HKBManager::KeySet keySet(hkbManager.GetTriggeredKeySet());
while (keySet.IsValid()) {
nw4rmanager::AnmPane* pane = NULL;
u8 key = keySet.GetKey();
u32 character = keySet.GetWChar();
switch (key) {
case 0x58:
case 0x28:
if (!(hkbManager.GetModifierState() & 4)) { pane = searchAnmPane("W_CPkey_LF"); }
break;
default:
pane = searchAnmPane(static_cast<wchar_t>(character));
break;
}
if (pane) { pane->onAnmEvent(nw4rmanager::AnmPane::PE_0); }
keySet = keySet.GetNext();
}
keySet = hkbManager.GetRepeatedKeySet();
while (keySet.IsValid()) {
nw4rmanager::AnmPane* pane = NULL;
u8 key = keySet.GetKey();
keySet.GetWChar();
switch (key) {
case 0x2A:
if (hkbManager.GetModifierState() & 4) { break; }
case 0x4C:
pane = searchAnmPane("W_CPkey_DELETE");
break;
default:
break;
}
if (pane) { pane->onAnmEvent(nw4rmanager::AnmPane::PE_0); }
keySet = keySet.GetNext();
}
}
return false;
}
void LayoutByNW4R::setPredictLanguageButton(bool enabled) {
setVisible("W_prdcModeBT_EU", enabled);
}
void LayoutByNW4R::setSignWindowButton(bool enabled) {
if (!enabled) {
setVisible("W_othersBT_EU", enabled);
setVisible("W_othersBT_JP", enabled);
return;
}
{
setVisible("W_othersBT_EU", false);
setVisible("W_othersBT_JP", false);
if (getLanguage() == JP) {
setVisible("W_othersBT_JP", true);
} else {
setVisible("W_othersBT_EU", true);
}
}
}
void LayoutByNW4R::setLangKeyActive(bool enabled) {
Base::setLangKeyActive(enabled);
if (getLanguage() == KR || getLanguage() == CN) {
setVisible("W_ChngTag_00", enabled);
setVisible("T_ChngTag_00", enabled);
}
}
void LayoutByNW4R::setInputMode(InputMode mode) {
const LanguageDependencyData* inputModeTable = static_cast<const LanguageDependencyData*>(mpInputModeTable);
if (!inputModeTable->keySets[mCurrentInputMode]) {
mode = IM_03;
}
changeInputMode(mode);
getAnmPane(IM_00)->changeAnimation(ANM_Normal);
getAnmPane(IM_01)->changeAnimation(ANM_Normal);
getAnmPane(IM_02)->changeAnimation(ANM_Normal);
getAnmPane(IM_03)->changeAnimation(ANM_Normal);
getAnmPane(static_cast<InputMode>(mCurrentInputMode))->changeAnimation(ANM_05);
mpLayout->Animate();
mpLayout->CalculateMtx(mDrawInfo);
}
void LayoutByNW4R::setUpperCaseJP(bool enabled) {
if (getLanguage() == JP) {
mbUpperCaseMode = enabled;
}
}
void LayoutByNW4R::resetHoldingButton() {
mHoldingButton = 0;
mPreviousInputMode = 0;
}
void LayoutByNW4R::setCommandReceiver(CommandReceiver* receiver) {
KeyboardBase::setCommandReceiver(receiver);
init();
}
bool LayoutByNW4R::onClose() {
initPaneLastDrawReceived();
changeAnimationAllToNormal();
@@ -1050,21 +840,6 @@ namespace textinput {
}
}
CellPhoneAnmPane* LayoutByNW4R::getAnmPane(InputMode mode) {
switch (mode) {
case IM_02:
return static_cast<CellPhoneAnmPane*>(searchAnmPane(csPaneNameToggleAnimationKey[2].name));
case IM_03:
return static_cast<CellPhoneAnmPane*>(searchAnmPane(csPaneNameToggleAnimationKey[3].name));
case IM_00:
return static_cast<CellPhoneAnmPane*>(searchAnmPane(csPaneNameToggleAnimationKey[0].name));
case IM_01:
return static_cast<CellPhoneAnmPane*>(searchAnmPane(csPaneNameToggleAnimationKey[1].name));
default:
return NULL;
}
}
void LayoutByNW4R::changeInputMode(InputMode mode) {
Base::changeInputMode(mode);
@@ -1136,6 +911,21 @@ namespace textinput {
}
}
CellPhoneAnmPane* LayoutByNW4R::getAnmPane(InputMode mode) {
switch (mode) {
case IM_02:
return static_cast<CellPhoneAnmPane*>(searchAnmPane(csPaneNameToggleAnimationKey[2].name));
case IM_03:
return static_cast<CellPhoneAnmPane*>(searchAnmPane(csPaneNameToggleAnimationKey[3].name));
case IM_00:
return static_cast<CellPhoneAnmPane*>(searchAnmPane(csPaneNameToggleAnimationKey[0].name));
case IM_01:
return static_cast<CellPhoneAnmPane*>(searchAnmPane(csPaneNameToggleAnimationKey[1].name));
default:
return NULL;
}
}
void LayoutByNW4R::throwReleaseForAll() {
CellPhoneAnmPane* pane = static_cast<CellPhoneAnmPane*>(nw4r::ut::List_GetNext(&nw4rmanager::Layout::getAnmPaneList(), NULL));
while (pane) {
@@ -1146,6 +936,10 @@ namespace textinput {
}
}
KeyType CellPhoneAnmPane::getKeyType() const {
return meKeyType;
}
void LayoutByNW4R::changeAnimationAllToNormal() {
CellPhoneAnmPane* pane = static_cast<CellPhoneAnmPane*>(nw4r::ut::List_GetNext(&nw4rmanager::Layout::getAnmPaneList(), NULL));
while (pane) {
@@ -1181,6 +975,29 @@ namespace textinput {
static_cast<inputform::Base::PredictMode>(commandData[0]), this);
}
void LayoutByNW4R::updatePredictLanguage(CommandReceiver::ChangePredictMode* mode) {
if (!getLanguage()) {
return;
}
if (!mode->enabled) {
setVisible("N_prdc_EU_ON", false);
setVisible("N_prdc_EU_OFF", true);
mbLanguageKeyMode = false;
} else {
setVisible("N_prdc_EU_ON", true);
setVisible("N_prdc_EU_OFF", false);
mbLanguageKeyMode = true;
}
nw4r::lyt::TextBox* textBox = static_cast<nw4r::lyt::TextBox*>(getPane("N_prdc_EU_lang"));
textBox->SetString(csszPredictLanguage[mode->predictMode], 0);
const LanguageDependencyData* inputModeTable = static_cast<const LanguageDependencyData*>(mpInputModeTable);
const KeySet* keySet = inputModeTable->keySets[mCurrentInputMode];
changeSpaceKeyTop(keySet->pPaneNameToCharCode);
}
void LayoutByNW4R::setAbcMode(bool enabled) {
mbUpperCaseMode = enabled;
if (enabled) {
@@ -1218,96 +1035,158 @@ namespace textinput {
mpSignWindow->open(static_cast<KeyboardBase*>(this), isNumericMode);
throwReleaseForAll();
}
static inline bool isNormalCellPhoneKey(const char* paneName) {
for (int index = 0; index < 12; ++index) {
if (util::strcmp(paneName, csPaneNameNormalKey[index])) { return true; }
void LayoutByNW4R::doNumericMode(bool enabled) {
mbNumericMode = enabled;
if (enabled) {
input::HKBManager::getInstance().SetModifierState(0x100, 0x100);
getLanguage();
changeInputMode(IM_03);
if (mpManager->getToolBar()) {
mpManager->getToolBar()->setQwerty(false);
}
}
if (!enabled) { return; }
{
setVisible("W_smlCptChngeBT", !enabled);
setVisible("W_CPkey_09", !enabled);
setVisible("P_CPkey_dakuten", !enabled);
setVisible("W_smlCptChngeBT", !enabled);
setVisible("W_prdcModeBT_EU", !enabled);
setVisible("W_othersBT_EU", !enabled);
setVisible("W_spaceBT_JP", !enabled);
setVisible("W_smlCptChngeBT", !enabled);
setVisible("W_othersBT_JP", !enabled);
setVisible("W_CPkey_Prdc_JP", !enabled);
setVisible("W_CPkey_09", !enabled);
setVisible("W_CPkey_11", !enabled);
setVisible("W_ChngTag_00", !enabled);
setVisible("W_ChngTag_01", !enabled);
setVisible("W_ChngTag_02", !enabled);
setVisible("W_ChngTag_03", !enabled);
}
return false;
}
void EventHandler::onTiEvent(gui::PaneComponent* paneComponent, u32 event, Input* input) {
const char* paneName = paneComponent->getPane()->GetName();
if (paneName[0] == 'B') {
char animationName[17];
util::replaceChar(animationName, sizeof(animationName), paneName, 0, 'W');
CellPhoneAnmPane* animation = static_cast<CellPhoneAnmPane*>(mpLayoutByNW4R->searchAnmPane(animationName));
if (animation) {
switch (static_cast<s32>(event)) {
case gui::EventHandler::ON_TRIG:
if ((input->field_0x0C & 0x800) ||
((input->field_0x0C & 0x400) && isNormalCellPhoneKey(paneName))) {
if (animation->getKeyType() == KT_ControlButton) {
nw4r::ut::List& panes = mpLayoutByNW4R->getAnmPaneList();
CellPhoneAnmPane* other = static_cast<CellPhoneAnmPane*>(nw4r::ut::List_GetNext(&panes, NULL));
while (other) {
if (other != animation && other->getKeyType() == KT_ControlButton) {
other->onAnmEvent(nw4rmanager::AnmPane::PE_5);
}
other = static_cast<CellPhoneAnmPane*>(nw4r::ut::List_GetNext(&panes, other));
}
}
animation->onAnmEvent(nw4rmanager::AnmPane::PE_0);
}
void LayoutByNW4R::doNumericWithDotMode(bool enabled) {
doNumericMode(enabled);
setString("T_CPkey_11", L".");
setVisible("W_CPkey_11", enabled);
mbNumericWithDotMode = true;
}
void LayoutByNW4R::setLineFeedButton(bool enabled) {
mbLineFeedButton = enabled;
setVisible("W_CPkey_LF", mbLineFeedButton);
}
void LayoutByNW4R::setPredictLanguageButton(bool enabled) {
setVisible("W_prdcModeBT_EU", enabled);
}
void LayoutByNW4R::setSignWindowButton(bool enabled) {
if (!enabled) {
setVisible("W_othersBT_EU", enabled);
setVisible("W_othersBT_JP", enabled);
return;
}
{
setVisible("W_othersBT_EU", false);
setVisible("W_othersBT_JP", false);
if (getLanguage() == JP) {
setVisible("W_othersBT_JP", true);
} else {
setVisible("W_othersBT_EU", true);
}
}
}
void LayoutByNW4R::setInputMode(InputMode mode) {
const LanguageDependencyData* inputModeTable = static_cast<const LanguageDependencyData*>(mpInputModeTable);
if (!inputModeTable->keySets[mCurrentInputMode]) {
mode = IM_03;
}
changeInputMode(mode);
getAnmPane(IM_00)->changeAnimation(ANM_Normal);
getAnmPane(IM_01)->changeAnimation(ANM_Normal);
getAnmPane(IM_02)->changeAnimation(ANM_Normal);
getAnmPane(IM_03)->changeAnimation(ANM_Normal);
getAnmPane(static_cast<InputMode>(mCurrentInputMode))->changeAnimation(ANM_05);
mpLayout->Animate();
mpLayout->CalculateMtx(mDrawInfo);
}
void LayoutByNW4R::setUpperCaseJP(bool enabled) {
if (getLanguage() == JP) {
mbUpperCaseMode = enabled;
}
}
bool LayoutByNW4R::updateInput(input::HKBManager& hkbManager) {
if (mpManager->getToolBar()->isEnableKeytopChange()) {
const input::HKBManager::KeySet& triggeredKey = hkbManager.GetTriggeredKeySet();
if (triggeredKey.IsValid()) {
if (mHoldingButton) {
struct KeyEvent { const char* paneName; u32 state; } keyEvent = {NULL, 0};
keyEvent.paneName = mHoldingButton->szPaneName;
onKey(gui::EventHandler::ON_LEFT, &keyEvent);
}
changeAnimationAllToNormal();
mpManager->getToolBar()->setQwertyWithSE(true);
if (!mpManager->getPCKeyboard()->isABC()) { mpManager->getPCKeyboard()->setABC(true); }
}
} else {
input::HKBManager::KeySet keySet(hkbManager.GetTriggeredKeySet());
while (keySet.IsValid()) {
nw4rmanager::AnmPane* pane = NULL;
u8 key = keySet.GetKey();
u32 character = keySet.GetWChar();
switch (key) {
case 0x58:
case 0x28:
if (!(hkbManager.GetModifierState() & 4)) { pane = searchAnmPane("W_CPkey_LF"); }
break;
case gui::EventHandler::ON_LEFT:
animation->onAnmEvent(nw4rmanager::AnmPane::PE_2);
default:
pane = searchAnmPane(static_cast<wchar_t>(character));
break;
case gui::EventHandler::ON_POINT:
mpEventObserver->onSE(static_cast<sound::SE>(4));
mpLayoutByNW4R->setPaneLastDrawReceived(animation->getPane());
animation->onAnmEvent(nw4rmanager::AnmPane::PE_1);
}
if (pane) { pane->onAnmEvent(nw4rmanager::AnmPane::PE_0); }
keySet = keySet.GetNext();
}
keySet = hkbManager.GetRepeatedKeySet();
while (keySet.IsValid()) {
nw4rmanager::AnmPane* pane = NULL;
u8 key = keySet.GetKey();
keySet.GetWChar();
switch (key) {
case 0x2A:
if (hkbManager.GetModifierState() & 4) { break; }
case 0x4C:
pane = searchAnmPane("W_CPkey_DELETE");
break;
default:
break;
}
if (pane) { pane->onAnmEvent(nw4rmanager::AnmPane::PE_0); }
keySet = keySet.GetNext();
}
}
struct KeyEvent {
const char* paneName;
u8 state;
u8 repeat;
} keyEvent = {paneName, 0, 0};
if (event == gui::EventHandler::ON_TRIG) {
if (input->field_0x0C & 0x800) {
keyEvent.state = 0;
mpLayoutByNW4R->onKey(gui::EventHandler::ON_TRIG, &keyEvent);
} else if ((input->field_0x0C & 0x400) && isNormalCellPhoneKey(paneName)) {
keyEvent.state = 1;
mpLayoutByNW4R->onKey(gui::EventHandler::ON_TRIG, &keyEvent);
paneComponent->setFlightDuration(input->field_0x00, 0);
}
}
if (event == gui::EventHandler::ON_LEFT) {
mpLayoutByNW4R->onKey(gui::EventHandler::ON_LEFT, &keyEvent);
}
if (event == gui::EventHandler::ON_MOVE && (input->field_0x10 & 0x800) &&
!(input->field_0x0C & 0x800) &&
(util::strcmp(csPaneNameNormalKey[13], paneName) || util::strcmp(csPaneNameNormalKey[16], paneName)) &&
paneComponent->isDragging(input->field_0x00)) {
u32 duration = mpLayoutByNW4R->getFlightDuration(input->field_0x00, paneName);
if (duration >= 30 && duration % 9 == 0) {
char animationName[17];
util::replaceChar(animationName, sizeof(animationName), paneName, 0, 'W');
CellPhoneAnmPane* animation = static_cast<CellPhoneAnmPane*>(mpLayoutByNW4R->searchAnmPane(animationName));
animation->onAnmEvent(nw4rmanager::AnmPane::PE_0);
mpLayoutByNW4R->onKey(gui::EventHandler::ON_TRIG, &keyEvent);
}
}
if (event == gui::EventHandler::ON_MOVE && mpLayoutByNW4R->getFlightDuration(input->field_0x00, paneName) == 90) {
keyEvent.repeat = 1;
mpLayoutByNW4R->onKey(gui::EventHandler::ON_LEFT, &keyEvent);
return false;
}
void LayoutByNW4R::setLangKeyActive(bool enabled) {
Base::setLangKeyActive(enabled);
if (getLanguage() == KR || getLanguage() == CN) {
setVisible("W_ChngTag_00", enabled);
setVisible("T_ChngTag_00", enabled);
}
}
void CellPhoneAnmPane::init() {
meState = ANM_Normal;
}
KeyType CellPhoneAnmPane::getKeyType() const {
return meKeyType;
void LayoutByNW4R::resetHoldingButton() {
mHoldingButton = 0;
mPreviousInputMode = 0;
}
void CellPhoneAnmPane::changeAnimation(u32 id) {
@@ -1451,7 +1330,126 @@ namespace textinput {
}
}
CellPhoneAnmPane::~CellPhoneAnmPane() {}
void EventHandler::onTiEvent(gui::PaneComponent* paneComponent, u32 event, Input* input) {
const char* paneName = paneComponent->getPane()->GetName();
if (paneName[0] == 'B') {
char animationName[17];
util::replaceChar(animationName, sizeof(animationName), paneName, 0, 'W');
CellPhoneAnmPane* animation = static_cast<CellPhoneAnmPane*>(mpLayoutByNW4R->searchAnmPane(animationName));
if (animation) {
switch (static_cast<s32>(event)) {
case gui::EventHandler::ON_TRIG:
if ((input->field_0x0C & 0x800) ||
((input->field_0x0C & 0x400) && isNormalCellPhoneKey(paneName))) {
if (animation->getKeyType() == KT_ControlButton) {
nw4r::ut::List& panes = mpLayoutByNW4R->getAnmPaneList();
CellPhoneAnmPane* other = static_cast<CellPhoneAnmPane*>(nw4r::ut::List_GetNext(&panes, NULL));
while (other) {
if (other != animation && other->getKeyType() == KT_ControlButton) {
other->onAnmEvent(nw4rmanager::AnmPane::PE_5);
}
other = static_cast<CellPhoneAnmPane*>(nw4r::ut::List_GetNext(&panes, other));
}
}
animation->onAnmEvent(nw4rmanager::AnmPane::PE_0);
}
break;
case gui::EventHandler::ON_LEFT:
animation->onAnmEvent(nw4rmanager::AnmPane::PE_2);
break;
case gui::EventHandler::ON_POINT:
mpEventObserver->onSE(static_cast<sound::SE>(4));
mpLayoutByNW4R->setPaneLastDrawReceived(animation->getPane());
animation->onAnmEvent(nw4rmanager::AnmPane::PE_1);
break;
default:
break;
}
}
}
struct KeyEvent {
const char* paneName;
u8 state;
u8 repeat;
} keyEvent = {paneName, 0, 0};
if (event == gui::EventHandler::ON_TRIG) {
if (input->field_0x0C & 0x800) {
keyEvent.state = 0;
mpLayoutByNW4R->onKey(gui::EventHandler::ON_TRIG, &keyEvent);
} else if ((input->field_0x0C & 0x400) && isNormalCellPhoneKey(paneName)) {
keyEvent.state = 1;
mpLayoutByNW4R->onKey(gui::EventHandler::ON_TRIG, &keyEvent);
paneComponent->setFlightDuration(input->field_0x00, 0);
}
}
if (event == gui::EventHandler::ON_LEFT) {
mpLayoutByNW4R->onKey(gui::EventHandler::ON_LEFT, &keyEvent);
}
if (event == gui::EventHandler::ON_MOVE && (input->field_0x10 & 0x800) &&
!(input->field_0x0C & 0x800) &&
(util::strcmp(csPaneNameNormalKey[13], paneName) || util::strcmp(csPaneNameNormalKey[16], paneName)) &&
paneComponent->isDragging(input->field_0x00)) {
u32 duration = mpLayoutByNW4R->getFlightDuration(input->field_0x00, paneName);
if (duration >= 30 && duration % 9 == 0) {
char animationName[17];
util::replaceChar(animationName, sizeof(animationName), paneName, 0, 'W');
CellPhoneAnmPane* animation = static_cast<CellPhoneAnmPane*>(mpLayoutByNW4R->searchAnmPane(animationName));
animation->onAnmEvent(nw4rmanager::AnmPane::PE_0);
mpLayoutByNW4R->onKey(gui::EventHandler::ON_TRIG, &keyEvent);
}
}
if (event == gui::EventHandler::ON_MOVE && mpLayoutByNW4R->getFlightDuration(input->field_0x00, paneName) == 90) {
keyEvent.repeat = 1;
mpLayoutByNW4R->onKey(gui::EventHandler::ON_LEFT, &keyEvent);
}
}
bool LayoutByNW4R::updateInput(int channel, f32 x, f32 y, u32 trig, u32 hold, u32 release, void* data) {
return nw4rmanager::Layout::updateInput(channel, x, y, trig, hold, release, data);
}
void Base::doInput() {}
bool Base::isUpperCase() {
return mbUpperCaseMode;
}
bool Base::isHoldingButton() const {
return mHoldingButton != 0;
}
bool Base::isNumericWithDot() const {
return mbNumericWithDotMode;
}
bool Base::isNumeric() const {
return mbNumericMode;
}
bool Base::isLocked() const {
return mbInputModeLocked;
}
u32 Base::getType() {
return 1;
}
void LayoutByNW4R::setSignWindow(signwindow::LayoutByNW4R* signWindow) {
mpSignWindow = signWindow;
}
void LayoutByNW4R::setPredictLanguageDialog(predictlang::LayoutByNW4R* dialog) {
mpPredictLanguageDialog = dialog;
}
void LayoutByNW4R::setCommandReceiver(CommandReceiver* receiver) {
KeyboardBase::setCommandReceiver(receiver);
init();
}
void Base::setUpperCaseJP(bool) {}
void Base::draw() {}
CellPhoneControlAnmPane::~CellPhoneControlAnmPane() {}

View File

@@ -385,7 +385,7 @@ u32 AnmPane::getKeyType() const {
void LayoutByNW4R::resetAnmSignWindow() {
for (u16 i = 0; i < 25; i++) {
searchAnmPane(csPaneToAnimationInSign[i].paneName)->init();
static_cast<AnmPane*>(searchAnmPane(csPaneToAnimationInSign[i].paneName))->init();
}
}

View File

@@ -0,0 +1,137 @@
# rx6c attempts
Branch agent/w1005/rx6c, base c6b3c56242f29b2cde863cf711954afceca4b38d. Own kbd modifier and LED functions, Getter_, and linkage of tiCellPhone and tiSignWindow. User authorizes Matching flips for these two UI units. Prior exact duplicate-index LED form is rejected and will not be retained. Existing g2 logs are unrelated and preserved.
Using unslop and writing-for-agents for this evidence log. Read levers 20-23, mwdbg README, common.md and f-round.md. Prior rx6/rx6b logs and captures remain the starting evidence; do not repeat identical trials.
## Initial link investigation
Baseline native report: SignWindow 56/56, code 7184, data 3468; CellPhone 86/86, code 19028, data 3860; kbd 18/21; www 20/21. Baseline DOL SHA1 matches, doldiff 0. Flipping both UI units initially gives 33578 different DOL bytes. SignWindow alone with getInputForm declaration only gives 20501.
The getInputForm virtual call makes MWCC emit its header inline body, but the linker already deduplicates it to the existing AddressEdit-owned definition at 8138D1AC. A declaration-only guard in tiManager.h removes emission with unchanged indirect call. Most other extra weak bodies also deduplicate. The first real linked offset shift starts at 81431A10: resetAnmSignWindow calls init through nw4rmanager::AnmPane*, emitting its empty inline init locally. That changes later functions by +4 and steals the later definition. All panes in this table are signwindow::AnmPane subclasses allocated by create; cast the lookup result to that real type before invoking init.
SignWindow .rodata has identical first 780 bytes; target owns 784 due trailing zero alignment. The 612-byte AnimationFile array is nine real 68-byte records and the next object starts at 616 in BOTH objects. No padding object or target-size change is justified. CellPhone .rodata 1320 and .sdata 112 are already byte-identical; target aggregate symbol boundaries span real consecutive arrays and local constants. Both units lack .sbss/.bss, so lever 23 does not apply.
- SignWindow reset lookup cast leaves 21 differing DOL bytes, all in five secondary-base thunks and two vtables. getInputForm was not the link blocker; .rodata padding is naturally supplied by the linker. Moving the inherited LayoutByNW4R destructor declaration among overrides did not change thunk order. Test the existing real Sample class with its empty destructor defined inline, as the CellPhone header already does; the same empty Sample destructor is defined in tiKeyboard.cpp. This permits normal vtable construction for the derived class and should retouch inherited non-destructor thunks. No invented class, object, virtual slot or force-active directive.
- cell-object-order: Place existing function definitions in target object order; group existing pure lookup helpers before methods. No function body, literal, field or compiler flag changed.
{"label": "cell-object-order", "unit": "cell", "compiled": true, "pool": true, "data": "3860", "code": "19028", "drops": {}, "functions": {"create__Q49textinput8keyboard13cellphonetype12LayoutByNW4RFP12MEMAllocator": {"score": 100.0, "insns": [333, 333], "diffs": 0}}}
- SignWindow inline Sample destructor alone leaves the same 21 bytes. Restoring the real constructor definitions for Base, LayoutByNW4R and Sample fixes all 21: these constructors already exist in tiPcKeyboardImpl.h and tiKeyboard.cpp with matching members and initialization. Sample constructor builds the derived vtable, retouching the inherited non-destructor thunks and leaving the Layout destructor thunk first. Full incremental link now has DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d and doldiff 0 bytes. No field, slot, alignment, target metadata or artificial object was added. Native create remains 221/221, ctxdiff 0, pool 30/30 identical.
- CellPhone function-order trial preserves every function body and all existing literals. All 86 functions and 3860 data bytes remain exact; create 333/333, ctxdiff 0; pool identical. Apply the ordering and link to locate any remaining ownership differences.
## Both UI units linked
CellPhone target-order definitions also link without any further code/data change. Both Matching entries enabled: doldiff 0, SHA1 26116613f624061ba99c8d1a299aaa6efa85670d. Full non-quick four-unit gate in rx6c.link-gate.txt passes with no global regressions, forbidden patterns or readability warnings. UI code stays 19028/19028 and 7184/7184, data 3860 and 3468, and gains linked code 26212. Only SignWindow includes tiSignWindow.h; tiManager.h changes are guarded by its existing TU macro. Removed blank lines left by mechanical CellPhone reorder after the first full gate; function bodies remain identical.
- led-status-out-if: Convert USB completion status through a plain status-mapping helper, with a real output or scalar return. No repeated index assignment, callback duplication, carrier, volatile or changed success predicate. Test whether an inline output delays constant-select lowering while err still coalesces to r3.
{"label": "led-status-out-if", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbd_led_handler": [99.72, 30.4]}, "functions": {"kbdProcMod": {"score": 99.90234, "insns": [256, 256], "diffs": 4}, "KBDSetModState": {"score": 99.40476, "insns": [42, 42], "diffs": 4}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 30.4, "insns": [23, 25], "diffs": 23}}}
- led-status-out-switch: Convert USB completion status through a plain status-mapping helper, with a real output or scalar return. No repeated index assignment, callback duplication, carrier, volatile or changed success predicate. Test whether an inline output delays constant-select lowering while err still coalesces to r3.
{"label": "led-status-out-switch", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbd_led_handler": [99.72, 95.6]}, "functions": {"kbdProcMod": {"score": 99.90234, "insns": [256, 256], "diffs": 4}, "KBDSetModState": {"score": 99.40476, "insns": [42, 42], "diffs": 4}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 95.6, "insns": [26, 25], "diffs": 14}}}
- led-status-out-conditional: Convert USB completion status through a plain status-mapping helper, with a real output or scalar return. No repeated index assignment, callback duplication, carrier, volatile or changed success predicate. Test whether an inline output delays constant-select lowering while err still coalesces to r3.
{"label": "led-status-out-conditional", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbd_led_handler": [99.72, 30.4]}, "functions": {"kbdProcMod": {"score": 99.90234, "insns": [256, 256], "diffs": 4}, "KBDSetModState": {"score": 99.40476, "insns": [42, 42], "diffs": 4}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 30.4, "insns": [23, 25], "diffs": 23}}}
- led-status-return-if: Convert USB completion status through a plain status-mapping helper, with a real output or scalar return. No repeated index assignment, callback duplication, carrier, volatile or changed success predicate. Test whether an inline output delays constant-select lowering while err still coalesces to r3.
{"label": "led-status-return-if", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbd_led_handler": [99.72, 30.4]}, "functions": {"kbdProcMod": {"score": 99.90234, "insns": [256, 256], "diffs": 4}, "KBDSetModState": {"score": 99.40476, "insns": [42, 42], "diffs": 4}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 30.4, "insns": [23, 25], "diffs": 23}}}
- led-status-return-switch: Convert USB completion status through a plain status-mapping helper, with a real output or scalar return. No repeated index assignment, callback duplication, carrier, volatile or changed success predicate. Test whether an inline output delays constant-select lowering while err still coalesces to r3.
{"label": "led-status-return-switch", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbd_led_handler": [99.72, 95.6]}, "functions": {"kbdProcMod": {"score": 99.90234, "insns": [256, 256], "diffs": 4}, "KBDSetModState": {"score": 99.40476, "insns": [42, 42], "diffs": 4}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 95.6, "insns": [26, 25], "diffs": 14}}}
- led-status-return-conditional: Convert USB completion status through a plain status-mapping helper, with a real output or scalar return. No repeated index assignment, callback duplication, carrier, volatile or changed success predicate. Test whether an inline output delays constant-select lowering while err still coalesces to r3.
{"label": "led-status-return-conditional", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbd_led_handler": [99.72, 30.4]}, "functions": {"kbdProcMod": {"score": 99.90234, "insns": [256, 256], "diffs": 4}, "KBDSetModState": {"score": 99.40476, "insns": [42, 42], "diffs": 4}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 30.4, "insns": [23, 25], "diffs": 23}}}
- mod-member-locks: Update the actual lock/physical field on the existing modifier word, instead of forming an old-union copy. Every bit remains identical and the interrupt interval is unchanged. Test whether the memory-update lowering creates the old value before the shared destination address, reversing the measured simplify priority in both standalone setter and its inlined ProcMod copy.
{"label": "mod-member-locks", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbdProcMod": [99.90234, 95.54297], "KBDSetModState": [99.40476, 97.38095]}, "functions": {"kbdProcMod": {"score": 95.54297, "insns": [253, 256], "diffs": 48}, "KBDSetModState": {"score": 97.38095, "insns": [42, 42], "diffs": 7}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 99.72, "insns": [25, 25], "diffs": 3}}}
- mod-member-physical: Update the actual lock/physical field on the existing modifier word, instead of forming an old-union copy. Every bit remains identical and the interrupt interval is unchanged. Test whether the memory-update lowering creates the old value before the shared destination address, reversing the measured simplify priority in both standalone setter and its inlined ProcMod copy.
{"label": "mod-member-physical", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbdProcMod": [99.90234, 95.05469], "KBDSetModState": [99.40476, 98.690475]}, "functions": {"kbdProcMod": {"score": 95.05469, "insns": [253, 256], "diffs": 47}, "KBDSetModState": {"score": 98.690475, "insns": [42, 42], "diffs": 7}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 99.72, "insns": [25, 25], "diffs": 3}}}
- mod-compound-scalar: Update the actual lock/physical field on the existing modifier word, instead of forming an old-union copy. Every bit remains identical and the interrupt interval is unchanged. Test whether the memory-update lowering creates the old value before the shared destination address, reversing the measured simplify priority in both standalone setter and its inlined ProcMod copy.
{"label": "mod-compound-scalar", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbdProcMod": [99.90234, 99.140625], "KBDSetModState": [99.40476, 94.04762]}, "functions": {"kbdProcMod": {"score": 99.140625, "insns": [256, 256], "diffs": 5}, "KBDSetModState": {"score": 94.04762, "insns": [42, 42], "diffs": 7}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 99.72, "insns": [25, 25], "diffs": 3}}}
- mod-member-locks-helper: Update the actual lock/physical field on the existing modifier word, instead of forming an old-union copy. Every bit remains identical and the interrupt interval is unchanged. Test whether the memory-update lowering creates the old value before the shared destination address, reversing the measured simplify priority in both standalone setter and its inlined ProcMod copy.
{"label": "mod-member-locks-helper", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbdProcMod": [99.90234, 95.54297], "KBDSetModState": [99.40476, 97.38095]}, "functions": {"kbdProcMod": {"score": 95.54297, "insns": [253, 256], "diffs": 48}, "KBDSetModState": {"score": 97.38095, "insns": [42, 42], "diffs": 7}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 99.72, "insns": [25, 25], "diffs": 3}}}
- led-parameter-failure: A success-to-error conversion accepts the caller-specific failure code. Unlike the previous fixed-constant helper, its standalone input is not a two-constant select; after inlining the LED caller still supplies only 0/7. This tests lever 18d without repeated statements or extra callback/index work.
{"label": "led-parameter-failure", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbd_led_handler": [99.72, 30.4]}, "functions": {"kbdProcMod": {"score": 99.90234, "insns": [256, 256], "diffs": 4}, "KBDSetModState": {"score": 99.40476, "insns": [42, 42], "diffs": 4}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 30.4, "insns": [23, 25], "diffs": 23}}}
- led-parameter-failure-const: A success-to-error conversion accepts the caller-specific failure code. Unlike the previous fixed-constant helper, its standalone input is not a two-constant select; after inlining the LED caller still supplies only 0/7. This tests lever 18d without repeated statements or extra callback/index work.
{"label": "led-parameter-failure-const", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbd_led_handler": [99.72, 30.4]}, "functions": {"kbdProcMod": {"score": 99.90234, "insns": [256, 256], "diffs": 4}, "KBDSetModState": {"score": 99.40476, "insns": [42, 42], "diffs": 4}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 30.4, "insns": [23, 25], "diffs": 23}}}
- led-parameter-both: A success-to-error conversion accepts the caller-specific failure code. Unlike the previous fixed-constant helper, its standalone input is not a two-constant select; after inlining the LED caller still supplies only 0/7. This tests lever 18d without repeated statements or extra callback/index work.
{"label": "led-parameter-both", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbd_led_handler": [99.72, 30.4]}, "functions": {"kbdProcMod": {"score": 99.90234, "insns": [256, 256], "diffs": 4}, "KBDSetModState": {"score": 99.40476, "insns": [42, 42], "diffs": 4}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 30.4, "insns": [23, 25], "diffs": 23}}}
- led-parameter-both-const: A success-to-error conversion accepts the caller-specific failure code. Unlike the previous fixed-constant helper, its standalone input is not a two-constant select; after inlining the LED caller still supplies only 0/7. This tests lever 18d without repeated statements or extra callback/index work.
{"label": "led-parameter-both-const", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbd_led_handler": [99.72, 30.4]}, "functions": {"kbdProcMod": {"score": 99.90234, "insns": [256, 256], "diffs": 4}, "KBDSetModState": {"score": 99.40476, "insns": [42, 42], "diffs": 4}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 30.4, "insns": [23, 25], "diffs": 23}}}
- led-parameter-output: A success-to-error conversion accepts the caller-specific failure code. Unlike the previous fixed-constant helper, its standalone input is not a two-constant select; after inlining the LED caller still supplies only 0/7. This tests lever 18d without repeated statements or extra callback/index work.
{"label": "led-parameter-output", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbd_led_handler": [99.72, 30.4]}, "functions": {"kbdProcMod": {"score": 99.90234, "insns": [256, 256], "diffs": 4}, "KBDSetModState": {"score": 99.40476, "insns": [42, 42], "diffs": 4}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 30.4, "insns": [23, 25], "diffs": 23}}}
- led-parameter-output-const: A success-to-error conversion accepts the caller-specific failure code. Unlike the previous fixed-constant helper, its standalone input is not a two-constant select; after inlining the LED caller still supplies only 0/7. This tests lever 18d without repeated statements or extra callback/index work.
{"label": "led-parameter-output-const", "unit": "kbd", "compiled": true, "pool": true, "data": "5296", "code": "4472", "drops": {"kbd_led_handler": [99.72, 30.4]}, "functions": {"kbdProcMod": {"score": 99.90234, "insns": [256, 256], "diffs": 4}, "KBDSetModState": {"score": 99.40476, "insns": [42, 42], "diffs": 4}, "kbdEventHandler": {"score": 100.0, "insns": [186, 186], "diffs": 0}, "kbd_led_handler": {"score": 30.4, "insns": [23, 25], "diffs": 23}}}
- www-f3-current-replay: Revalidate the requested f3 source on rx6c headers/compiler before changing allocator provenance. This is a seed, not a retained gain.
{"label": "www-f3-current-replay", "unit": "www", "compiled": true, "pool": true, "data": "3856", "code": "3740", "drops": {}, "functions": {"Getter___Q23www10wiisettingFP14WWWJSPluginObjPCcP16WWWJSPluginValue": {"score": 99.9179, "insns": [609, 609], "diffs": 9}}}
- www-js-output-pointer: Move the complete masked-string result operation into the existing helper, taking the real JS result object. The final pString reload remains after the same calls. Test whether result-parameter coalescing changes buffer or counter priority; no carrier or cached mutable global.
{"label": "www-js-output-pointer", "unit": "www", "compiled": true, "pool": true, "data": "3856", "code": "3740", "drops": {}, "functions": {"Getter___Q23www10wiisettingFP14WWWJSPluginObjPCcP16WWWJSPluginValue": {"score": 99.9179, "insns": [609, 609], "diffs": 9}}}
- www-js-output-reference: Move the complete masked-string result operation into the existing helper, taking the real JS result object. The final pString reload remains after the same calls. Test whether result-parameter coalescing changes buffer or counter priority; no carrier or cached mutable global.
{"label": "www-js-output-reference", "unit": "www", "compiled": true, "pool": true, "data": "3856", "code": "3740", "drops": {}, "functions": {"Getter___Q23www10wiisettingFP14WWWJSPluginObjPCcP16WWWJSPluginValue": {"score": 99.9179, "insns": [609, 609], "diffs": 9}}}
- www-country-lookup: Factor the actual per-row country lookup/predicate while keeping language evaluation inside every iteration and preserving the no-match path. This changes inline argument/result provenance around the country counter without inventing a fallback or forcing register reuse.
{"label": "www-country-lookup", "unit": "www", "compiled": true, "pool": true, "data": "3856", "code": "3740", "drops": {}, "functions": {"Getter___Q23www10wiisettingFP14WWWJSPluginObjPCcP16WWWJSPluginValue": {"score": 99.9179, "insns": [609, 609], "diffs": 9}}}
- www-country-predicate: Factor the actual per-row country lookup/predicate while keeping language evaluation inside every iteration and preserving the no-match path. This changes inline argument/result provenance around the country counter without inventing a fallback or forcing register reuse.
{"label": "www-country-predicate", "unit": "www", "compiled": true, "pool": true, "data": "3856", "code": "3740", "drops": {"Getter___Q23www10wiisettingFP14WWWJSPluginObjPCcP16WWWJSPluginValue": [99.86043, 99.48276]}, "functions": {"Getter___Q23www10wiisettingFP14WWWJSPluginObjPCcP16WWWJSPluginValue": {"score": 99.48276, "insns": [611, 609], "diffs": 46}}}
- www-country-entry: Factor the actual per-row country lookup/predicate while keeping language evaluation inside every iteration and preserving the no-match path. This changes inline argument/result provenance around the country counter without inventing a fallback or forcing register reuse.
{"label": "www-country-entry", "unit": "www", "compiled": true, "pool": true, "data": "3856", "code": "3740", "drops": {"Getter___Q23www10wiisettingFP14WWWJSPluginObjPCcP16WWWJSPluginValue": [99.86043, 99.85222]}, "functions": {"Getter___Q23www10wiisettingFP14WWWJSPluginObjPCcP16WWWJSPluginValue": {"score": 99.85222, "insns": [609, 609], "diffs": 14}}}
## LED and modifier capture results
The new LED status helpers have no duplicate index assignment. if/ternary forms, including caller-supplied failure codes and const primitive parameters, lower to 23 instructions and 30.4%. Switch output/return helpers emit 26 instructions and 95.6%. In the captured output-switch form, err v34 coalesces directly to physical r3. Before coloring the branch is already `bt cr0,2,B4`, followed by a separate branch-only B3; the allocator does not choose this polarity. Target uses `bne` directly to the error constant and has only 25 instructions. This confirms the problem is CFG lowering before allocation, not an err register choice. Both new error helper families are rejected; the original 99.72% source remains. The user-rejected duplicate-index form is not restored.
For the modifier pair, four fresh real-field updates preserve pools and data but fail instruction matching. Direct `.bits.locks` writes change the old loaded word into the insert destination. KBDSetModState uses v48 for the address, v49 for the old/merged word and v44 for incoming lock bits. Simplify degrees are 4,2,6 respectively. Reverse coloring gives v49 r0 with legal mask 0x1ff1, v48 r4 with 0x1ff0, and v44 r5 with 0x1fe0. No relevant values coalesce. Address r4 is now right, but the instruction writes lock bits into old r0 with a shifted rlwimi, while target masks the incoming word into r0 and inserts old physical bits from r5. It is seven diffs at 42 instructions, 97.38095%; the inlined ProcMod also loses three instructions. Direct physical-field and scalar compound updates likewise regress. Do not exchange an allocator match for different operations.
The normal target mapping remains address r4, old state r5, masked/merged value r0. Prior validated baseline setter address v48 is simplified at degree 5 before old v49 at degree 3, so reverse coloring gives old r4 and address r5. ProcMod repeats this as v181/v182. The plain helper, union copy, pointer/index and declaration experiments from rx6/rx6b remain exhausted, including three complete 1200-second searches. These fresh semantic field updates add evidence, not a match. All new compiler captures are compared against the normal whole-unit object before use.
- led capture: `build/rx6c/trials/led-status-out-switch/capture-kbd_led_handler`, whole native object identical.
- mod capture: `build/rx6c/trials/mod-member-locks/capture-KBDSetModState`, whole native object identical.
## Link ordering validation
All 75 explicit CellPhone method bodies are byte-for-byte identical as source strings before and after reordering. Only declaration order and existing helper placement changed. The linker retains all 86 target functions at their exact target addresses. SignWindow retains all 56 target functions at their exact addresses, including the secondary-base thunks. Machine evidence: build/rx6c/ui-linked-symbol-validation.json.
Raw symorder still reports mismatches for zero-size compiler section labels, target aggregate extents that include alignment or consecutive real constants, and weak inline definitions that the linker discards. These are not fixed by padding or deleting real methods. The linked address comparison and whole-DOL zero-byte diff resolve them. SignWindow's 612/616 AnimationFile symbol difference is four bytes of alignment before the next object, which is already at offset 616. CellPhone's control/toggle animation arrays occupy exactly the same 752-byte target aggregate, including their natural alignment. Neither unit has .sbss/.bss.
## Getter allocator confirmation
Fresh f3 replay remains 99.9179%, 609/609 instructions, nine register differences. Five new honest helper trials cover the complete JS output operation by pointer/reference, a country-table lookup, a country predicate and a language/index lookup. The output helpers and single-index lookup retain nine diffs; predicate creates 611 instructions and the two-parameter lookup gives 14 diffs at 609. No trial is installed.
Capture build/rx6c/trials/www-js-output-pointer/capture is byte-identical to its normal compiler object. Target mask buffer is r25 and country counter r31. The new result-object helper still produces mask buffer v41, simplified at degree 17, and country counter v35 at degree 22. v41 colors while r25 is not in the saved-register pool: legal mask 0xd0000000 chooses r28. Then retVal v39, degree 28, requests saved r25. Finally v35 sees mask 0x86000000 and takes r25, not target r31. These relevant webs have no accepted coalescing. Moving the genuine JS output operation across the inline boundary therefore leaves the same priority graph as f3. The signature changed, but the allocator cause did not.
Reused search evidence: rx6b records three completed 1200-second runs, seeds 605/622/661, spanning maskStoredSecurityKey through Getter_, with 395/383/396 trials and no improvement. Earlier f3 seeds 6/22/61 also completed. Modifier seeds 6/22/61 likewise completed in rx6. The new trials do not establish a better starting state, so identical exhausted searches were not repeated. Every open function has at least three new compiled source variants this round, plus the prior search/capture record.
The fresh ProcMod real-lock-field capture is also whole-object identical to the normal compiler. It reuses existing channel address v45 at r31, simplified at degree 14 and needing the first saved register. Old/merged value v179 has degree 3 and takes r0 from mask 0x1ff1; lock input v178 has degree 4 and takes r4 from 0x1ff0. This explains both the three removed address instructions and the wrong insert direction. The same source change therefore cannot solve the standalone and inlined target pair.
## Final verification and retained scope
The final non-quick four-unit gate, rx6c.final-gate.txt, prints GATE PASS. It rebuilt 43U from clean outputs and reports zero baseline regressions, forbidden-pattern additions and readability warnings. A separate comparison against the exact rx6c starting report also has zero function regressions and changes measures only for tiCellPhone and tiSignWindow. Final native ctxdiff is 333/333, zero diffs for CellPhone create, and 221/221, zero diffs for SignWindow create. Whole-DOL doldiff is zero bytes with both files 3867904 bytes; SHA1 26116613f624061ba99c8d1a299aaa6efa85670d.
| Unit | Exact functions before -> after | Code before -> after | Data before -> after | Linked code before -> after |
| --- | --- | --- | --- | --- |
| tiCellPhone | 86 -> 86 / 86 | 19028 -> 19028 | 3860 -> 3860 | 0 -> 19028 |
| tiSignWindow | 56 -> 56 / 56 | 7184 -> 7184 | 3468 -> 3468 | 0 -> 7184 |
| kbd_lib | 18 -> 18 / 21 | 4472 -> 4472 | 5296 -> 5296 | 0 -> 0 |
| www_wiisetting | 20 -> 20 / 21 | 3740 -> 3740 | 3856 -> 3856 | 0 -> 0 |
The UI units gain 7328 linked data bytes as well as 26212 linked code bytes. No open function gains an accepted exact match this round. kbdProcMod stays 99.90234%, four diffs; KBDSetModState stays 99.40476%, four; LED stays 99.72%, three branch/constant diffs. Getter stays 99.86043%, fourteen diffs in the retained tree; its requested f3 trial is 99.9179%, nine register diffs, and remains scratch only.
Retained source/configuration files: configure.py, include/keyboard/tiManager.h, include/keyboard/tiSignWindow.h, src/keyboard/tiCellPhone.cpp and src/keyboard/tiSignWindow.cpp. Evidence files are this log, rx6c.link-gate.txt and rx6c.final-gate.txt. Keyboard C and Getter C++ source are unchanged. Existing g2 logs are untouched. Private sources, result JSON, target disassemblies, native objects and four validated allocator captures remain under build/rx6c. No push, PR, merge, rebase or other-worktree edit.
This round contains 23 private full-unit trial builds, all 23 compiled, plus the native UI linkage trials and two clean full gates.

View File

@@ -0,0 +1,54 @@
full build: ok
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
[src/keyboard/tiCellPhone] pool: IDENTICAL
[src/keyboard/tiCellPhone] objdiff: code 19028/19028 data 3860/3860 functions 86/86 fuzzy 100.0000 linked code 19028
[src/keyboard/tiCellPhone] instruction-exact functions: 86/86
[src/keyboard/tiCellPhone] section .ctors size 4 match 100.0
[src/keyboard/tiCellPhone] section .data size 2416 match 100.0
[src/keyboard/tiCellPhone] section .rodata size 1320 match 100.0
[src/keyboard/tiCellPhone] section .sdata size 112 match 100.0
[src/keyboard/tiCellPhone] section .sdata2 size 8 match 100.0
[src/keyboard/tiCellPhone] section .text size 19028 match 100.0
[src/keyboard/tiCellPhone] baseline: code 19028/19028 data 3860 functions 86 fuzzy 100.0000
[src/keyboard/tiSignWindow] pool: IDENTICAL
[src/keyboard/tiSignWindow] objdiff: code 7184/7184 data 3468/3468 functions 56/56 fuzzy 100.0000 linked code 7184
[src/keyboard/tiSignWindow] instruction-exact functions: 56/56
[src/keyboard/tiSignWindow] section .ctors size 4 match 100.0
[src/keyboard/tiSignWindow] section .data size 2672 match 100.0
[src/keyboard/tiSignWindow] section .rodata size 784 match 100.0
[src/keyboard/tiSignWindow] section .sdata size 8 match 100.0
[src/keyboard/tiSignWindow] section .text size 7184 match 100.0
[src/keyboard/tiSignWindow] baseline: code 7184/7184 data 3468 functions 56 fuzzy 100.0000
[libs/RVL_SDK/src/kbd/kbd_lib] pool: IDENTICAL
[libs/RVL_SDK/src/kbd/kbd_lib] objdiff: code 4472/5764 data 5296/5296 functions 18/21 fuzzy 99.9604 linked code 0
[libs/RVL_SDK/src/kbd/kbd_lib] instruction-exact functions: 18/21
[libs/RVL_SDK/src/kbd/kbd_lib] section .bss size 3968 match 100.0
[libs/RVL_SDK/src/kbd/kbd_lib] section .data size 1304 match 100.0
[libs/RVL_SDK/src/kbd/kbd_lib] section .sbss size 16 match 100.0
[libs/RVL_SDK/src/kbd/kbd_lib] section .sdata size 8 match 100.0
[libs/RVL_SDK/src/kbd/kbd_lib] section .text size 5764 match 99.96044
[libs/RVL_SDK/src/kbd/kbd_lib] below 100: kbdProcMod 99.90234
[libs/RVL_SDK/src/kbd/kbd_lib] below 100: kbd_led_handler 99.72
[libs/RVL_SDK/src/kbd/kbd_lib] below 100: KBDSetModState 99.40476
[libs/RVL_SDK/src/kbd/kbd_lib] baseline: code 4472/5764 data 5296 functions 18 fuzzy 99.9604
[src/iplwww/www_wiisetting] pool: IDENTICAL
[src/iplwww/www_wiisetting] objdiff: code 3740/6176 data 3856/3856 functions 20/21 fuzzy 99.9450 linked code 0
[src/iplwww/www_wiisetting] instruction-exact functions: 20/21
[src/iplwww/www_wiisetting] section .bss size 104 match 100.0
[src/iplwww/www_wiisetting] section .data size 2576 match 100.0
[src/iplwww/www_wiisetting] section .rodata size 792 match 100.0
[src/iplwww/www_wiisetting] section .sbss size 32 match 100.0
[src/iplwww/www_wiisetting] section .sdata size 320 match 100.0
[src/iplwww/www_wiisetting] section .sdata2 size 32 match 100.0
[src/iplwww/www_wiisetting] section .text size 6176 match 99.94495
[src/iplwww/www_wiisetting] below 100: Getter___Q23www10wiisettingFP14WWWJSPluginObjPCcP16WWWJSPluginValue 99.86043
[src/iplwww/www_wiisetting] baseline: code 3740/6176 data 3856 functions 20 fuzzy 99.9450
regressions vs baseline: 0
global matched_code_percent: 93.42503 -> 93.42503
global fuzzy_match_percent: 99.79027 -> 99.79027
global complete_code_percent: 78.39139 -> 79.26653
global matched_data_percent: 99.99410 -> 99.99410
forbidden patterns added (net, per file): 0
readability warnings (net, per file; must be 0 in the final result): 0
note: config touched: configure.py (orchestrator reviews every config/symbols change)
GATE PASS

View File

@@ -0,0 +1,54 @@
full build: ok
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
[src/keyboard/tiCellPhone] pool: IDENTICAL
[src/keyboard/tiCellPhone] objdiff: code 19028/19028 data 3860/3860 functions 86/86 fuzzy 100.0000 linked code 19028
[src/keyboard/tiCellPhone] instruction-exact functions: 86/86
[src/keyboard/tiCellPhone] section .ctors size 4 match 100.0
[src/keyboard/tiCellPhone] section .data size 2416 match 100.0
[src/keyboard/tiCellPhone] section .rodata size 1320 match 100.0
[src/keyboard/tiCellPhone] section .sdata size 112 match 100.0
[src/keyboard/tiCellPhone] section .sdata2 size 8 match 100.0
[src/keyboard/tiCellPhone] section .text size 19028 match 100.0
[src/keyboard/tiCellPhone] baseline: code 19028/19028 data 3860 functions 86 fuzzy 100.0000
[src/keyboard/tiSignWindow] pool: IDENTICAL
[src/keyboard/tiSignWindow] objdiff: code 7184/7184 data 3468/3468 functions 56/56 fuzzy 100.0000 linked code 7184
[src/keyboard/tiSignWindow] instruction-exact functions: 56/56
[src/keyboard/tiSignWindow] section .ctors size 4 match 100.0
[src/keyboard/tiSignWindow] section .data size 2672 match 100.0
[src/keyboard/tiSignWindow] section .rodata size 784 match 100.0
[src/keyboard/tiSignWindow] section .sdata size 8 match 100.0
[src/keyboard/tiSignWindow] section .text size 7184 match 100.0
[src/keyboard/tiSignWindow] baseline: code 7184/7184 data 3468 functions 56 fuzzy 100.0000
[libs/RVL_SDK/src/kbd/kbd_lib] pool: IDENTICAL
[libs/RVL_SDK/src/kbd/kbd_lib] objdiff: code 4472/5764 data 5296/5296 functions 18/21 fuzzy 99.9604 linked code 0
[libs/RVL_SDK/src/kbd/kbd_lib] instruction-exact functions: 18/21
[libs/RVL_SDK/src/kbd/kbd_lib] section .bss size 3968 match 100.0
[libs/RVL_SDK/src/kbd/kbd_lib] section .data size 1304 match 100.0
[libs/RVL_SDK/src/kbd/kbd_lib] section .sbss size 16 match 100.0
[libs/RVL_SDK/src/kbd/kbd_lib] section .sdata size 8 match 100.0
[libs/RVL_SDK/src/kbd/kbd_lib] section .text size 5764 match 99.96044
[libs/RVL_SDK/src/kbd/kbd_lib] below 100: kbdProcMod 99.90234
[libs/RVL_SDK/src/kbd/kbd_lib] below 100: kbd_led_handler 99.72
[libs/RVL_SDK/src/kbd/kbd_lib] below 100: KBDSetModState 99.40476
[libs/RVL_SDK/src/kbd/kbd_lib] baseline: code 4472/5764 data 5296 functions 18 fuzzy 99.9604
[src/iplwww/www_wiisetting] pool: IDENTICAL
[src/iplwww/www_wiisetting] objdiff: code 3740/6176 data 3856/3856 functions 20/21 fuzzy 99.9450 linked code 0
[src/iplwww/www_wiisetting] instruction-exact functions: 20/21
[src/iplwww/www_wiisetting] section .bss size 104 match 100.0
[src/iplwww/www_wiisetting] section .data size 2576 match 100.0
[src/iplwww/www_wiisetting] section .rodata size 792 match 100.0
[src/iplwww/www_wiisetting] section .sbss size 32 match 100.0
[src/iplwww/www_wiisetting] section .sdata size 320 match 100.0
[src/iplwww/www_wiisetting] section .sdata2 size 32 match 100.0
[src/iplwww/www_wiisetting] section .text size 6176 match 99.94495
[src/iplwww/www_wiisetting] below 100: Getter___Q23www10wiisettingFP14WWWJSPluginObjPCcP16WWWJSPluginValue 99.86043
[src/iplwww/www_wiisetting] baseline: code 3740/6176 data 3856 functions 20 fuzzy 99.9450
regressions vs baseline: 0
global matched_code_percent: 93.42503 -> 93.42503
global fuzzy_match_percent: 99.79027 -> 99.79027
global complete_code_percent: 78.39139 -> 79.26653
global matched_data_percent: 99.99410 -> 99.99410
forbidden patterns added (net, per file): 0
readability warnings (net, per file; must be 0 in the final result): 0
note: config touched: configure.py (orchestrator reviews every config/symbols change)
GATE PASS