P3 Speller, change matrix during a run
Posted: 17 Mar 2011, 07:47
Hello,
I'm trying to implement a T9 System (writing with just nine buttons, and additional word proposals) to the P3 Speller. So that if the numer of menus is just one, the Matrix gets repainted after each SelectedTarget.
Therefore, i added some Code to P3SpellerTask::OnEnter() Function,
Created a new ChangeMat() Function that inserts my new Values (from Parameters and a additional Map). The ChangeMat() Function is implemented close to the P3SpellerTask::LoadMenu() Function. So the values are written to pTextStimulus->Settext and were added to ioStimuli, rowSet and colSet.
And of course i reuse the mDisplay.Show() and mDisplay.Update() funktion from the StimulusTask.-h / -cpp. This was possible after i set them to 'public'.
Unfortunately the matrix stays the same after the whole new implemented procedure. Does anyone know a relief?
Tanks for reading and answers...
I'm trying to implement a T9 System (writing with just nine buttons, and additional word proposals) to the P3 Speller. So that if the numer of menus is just one, the Matrix gets repainted after each SelectedTarget.
Therefore, i added some Code to P3SpellerTask::OnEnter() Function,
Created a new ChangeMat() Function that inserts my new Values (from Parameters and a additional Map). The ChangeMat() Function is implemented close to the P3SpellerTask::LoadMenu() Function. So the values are written to pTextStimulus->Settext and were added to ioStimuli, rowSet and colSet.
And of course i reuse the mDisplay.Show() and mDisplay.Update() funktion from the StimulusTask.-h / -cpp. This was possible after i set them to 'public'.
Unfortunately the matrix stays the same after the whole new implemented procedure. Does anyone know a relief?
Tanks for reading and answers...