diff options
-rw-r--r-- | ui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -444,12 +444,12 @@ void RecoveryUI::ProcessRel(input_device* dev, int code, int value) { // key event. dev->rel_sum += value; if (dev->rel_sum > 3) { - process_key(dev, KEY_DOWN, 1); // press down key - process_key(dev, KEY_DOWN, 0); // and release it + ProcessKey(dev, KEY_DOWN, 1); // press down key + ProcessKey(dev, KEY_DOWN, 0); // and release it dev->rel_sum = 0; } else if (dev->rel_sum < -3) { - process_key(dev, KEY_UP, 1); // press up key - process_key(dev, KEY_UP, 0); // and release it + ProcessKey(dev, KEY_UP, 1); // press up key + ProcessKey(dev, KEY_UP, 0); // and release it dev->rel_sum = 0; } } |