#include "global.h" #include "InputFilter.h" #include "RageLog.h" #include "RageInput.h" #include "RageUtil.h" #include "RageThreads.h" #include "Preference.h" #include "Foreach.h" #include namespace { /* Maintain a set of all interesting buttons: buttons which are being held * down, or which were held down and need a RELEASE event. We use this to * optimize InputFilter::Update, so we don't have to process every button * we know about when most of them aren't in use. This set is protected * by queuemutex. */ typedef pair Button; set