aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/input_poller.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-12-13 09:50:48 -0500
committerLioncash <mathew1800@gmail.com>2021-12-13 09:57:51 -0500
commit14f7f359574df05eeba7310409a1db787805c279 (patch)
tree992c2f49a830b961016bcf54b0c925b19e220703 /src/input_common/input_poller.cpp
parente7c5737e2ed4c7516eeaf6c736a8d6ed360dbdbc (diff)
input_engine: Avoid redundant map lookups
We can use iterators to avoid looking up into maps twice in the getter functions. At the same time we can also avoid copying the ControllerData structs, since they're 264 bytes in size.
Diffstat (limited to 'src/input_common/input_poller.cpp')
0 files changed, 0 insertions, 0 deletions