ControlMapper: Change the callbacks to be more suitable for the upcoming refactor. (#17209)
* ControlMapper: Change the callbacks to be more suitable for the upcoming refactor. * SetAllButtons: Separate bits to set and bits to clear. * Oops, missed committing some files somehow
This commit is contained in:
parent
d65afcc7f0
commit
26bf40c497
8 changed files with 171 additions and 182 deletions
|
@ -1,10 +1,11 @@
|
|||
#include <algorithm>
|
||||
|
||||
#include "UI/JoystickHistoryView.h"
|
||||
|
||||
#include "Common/UI/Context.h"
|
||||
#include "Common/UI/UI.h"
|
||||
|
||||
// From ControlMapper.h
|
||||
void ConvertAnalogStick(float &x, float &y);
|
||||
#include "Core/ControlMapper.h"
|
||||
|
||||
void JoystickHistoryView::Draw(UIContext &dc) {
|
||||
const AtlasImage *image = dc.Draw()->GetAtlas()->getImage(ImageID("I_CROSS"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue