| 143 | } |
| 144 | |
| 145 | EInputResult Input::GetPreviousReading(InputReading* reference, EInputKind kind, InputDevice* device, InputLayer** out_layer, InputReading** out_reading) |
| 146 | { |
| 147 | auto layers = GetLayers(); |
| 148 | for (auto layer : layers) |
| 149 | { |
| 150 | if (layer->GetPreviousReading(reference, kind, device, out_reading) == INPUT_RESULT_OK) |
| 151 | { |
| 152 | if (out_layer) *out_layer = layer; |
| 153 | return INPUT_RESULT_OK; |
| 154 | } |
| 155 | } |
| 156 | return INPUT_RESULT_NOT_FOUND; |
| 157 | } |
| 158 | |
| 159 | } // namespace input |
| 160 | } // namespace skr |
no outgoing calls
no test coverage detected