summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-08-28 09:55:21 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2014-09-04 17:24:51 -0700
commit5cb5a6ecd2bce4bbe1599b50150edf3e748df7f8 (patch)
treeb665b6b0f779a4facea9784d82f2561357dee10e /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
parentf9650c52f8f6dcf5bdb78b9e114a100bf83c19b1 (diff)
Don't sleep in the event thread
The person who wrote this seemed to misunderstand how XPending and XNextEvent actually work. XNextEvent will wait in poll if there's no event yet, meaning that we don't need to sleep after we process all the events; the kernel will sleep for us. This changes indentation, so view with -w or a similar feature to understand what's actually changed here.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
0 files changed, 0 insertions, 0 deletions