| 129 | } |
| 130 | |
| 131 | EInputResult Input::GetNextReading(InputReading* reference, EInputKind kind, InputDevice* device, InputLayer** out_layer, InputReading** out_reading) |
| 132 | { |
| 133 | auto layers = GetLayers(); |
| 134 | for (auto layer : layers) |
| 135 | { |
| 136 | if (layer->GetNextReading(reference, kind, device, out_reading) == INPUT_RESULT_OK) |
| 137 | { |
| 138 | if (out_layer) *out_layer = layer; |
| 139 | return INPUT_RESULT_OK; |
| 140 | } |
| 141 | } |
| 142 | return INPUT_RESULT_NOT_FOUND; |
| 143 | } |
| 144 | |
| 145 | EInputResult Input::GetPreviousReading(InputReading* reference, EInputKind kind, InputDevice* device, InputLayer** out_layer, InputReading** out_reading) |
| 146 | { |
no outgoing calls
no test coverage detected