summaryrefslogtreecommitdiff
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
commit4d4a23447688030402dc1499db8a827065154136 (patch)
tree992c2f49a830b961016bcf54b0c925b19e220703 /src/input_common/input_poller.cpp
parente51b852aee249b4f462ba3a769340910aa6a88c7 (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