File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
NintendoSwitch/Framework/UI Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ namespace PokemonAutomation{
2525
2626const bool IS_BETA_VERSION = true ;
2727const int PROGRAM_VERSION_MAJOR = 0 ;
28- const int PROGRAM_VERSION_MINOR = 60 ;
29- const int PROGRAM_VERSION_PATCH = 9 ;
28+ const int PROGRAM_VERSION_MINOR = 61 ;
29+ const int PROGRAM_VERSION_PATCH = 1 ;
3030
3131const std::string PROGRAM_VERSION_BASE =
3232 " v" + std::to_string(PROGRAM_VERSION_MAJOR) +
Original file line number Diff line number Diff line change @@ -203,11 +203,13 @@ void SwitchSystemWidget::update_ui(ProgramState state){
203203
204204void SwitchSystemWidget::key_press (QKeyEvent* event){
205205// cout << "press: " << event->nativeVirtualKey() << endl;
206+ global_keyboard_tracker ().on_key_press (*event);
206207 m_video_display->on_key_press (event);
207208}
208209
209210void SwitchSystemWidget::key_release (QKeyEvent* event){
210211// cout << "release: " << event->nativeVirtualKey() << endl;
212+ global_keyboard_tracker ().on_key_release (*event);
211213 m_video_display->on_key_release (event);
212214}
213215
@@ -221,13 +223,11 @@ void SwitchSystemWidget::focus_out(QFocusEvent* event){
221223
222224void SwitchSystemWidget::keyPressEvent (QKeyEvent* event){
223225// cout << "SwitchSystemWidget::keyPressEvent()" << endl;
224- global_keyboard_tracker ().on_key_press (*event);
225226 key_press (event);
226227// QWidget::keyPressEvent(event);
227228}
228229void SwitchSystemWidget::keyReleaseEvent (QKeyEvent* event){
229230// cout << "SwitchSystemWidget::keyReleaseEvent()" << endl;
230- global_keyboard_tracker ().on_key_release (*event);
231231 key_release (event);
232232// QWidget::keyReleaseEvent(event);
233233}
You can’t perform that action at this time.
0 commit comments