switching right and up in get_keys()

This commit is contained in:
elicolh
2020-01-15 18:55:30 +01:00
committed by GitHub
parent c9b209e4f7
commit 77a3b492fd

View File

@@ -114,9 +114,9 @@ struct key2mp
const static key2mp keyMapping[] =
{
{ Ion::Keyboard::Key::Left, MP_ROM_QSTR(MP_QSTR_left) },
{ Ion::Keyboard::Key::Right, MP_ROM_QSTR(MP_QSTR_up) },
{ Ion::Keyboard::Key::Right, MP_ROM_QSTR(MP_QSTR_right) },
{ Ion::Keyboard::Key::Down, MP_ROM_QSTR(MP_QSTR_down) },
{ Ion::Keyboard::Key::Up, MP_ROM_QSTR(MP_QSTR_right) },
{ Ion::Keyboard::Key::Up, MP_ROM_QSTR(MP_QSTR_up) },
{ Ion::Keyboard::Key::OK, MP_ROM_QSTR(MP_QSTR_OK) },
{ Ion::Keyboard::Key::Back, MP_ROM_QSTR(MP_QSTR_back) },