Qt/input: add LED color picker to pad settings dialog

This commit is contained in:
Megamouse 2019-05-09 21:31:43 +02:00
parent 7ead021aa7
commit fce9d6a7b8
10 changed files with 136 additions and 10 deletions

View file

@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "PadHandler.h"
cfg_input g_cfg_input;
@ -263,6 +263,11 @@ bool PadHandlerBase::has_deadzones()
return b_has_deadzones;
}
bool PadHandlerBase::has_led()
{
return b_has_led;
}
std::string PadHandlerBase::get_config_dir(pad_handler type)
{
return fs::get_config_dir() + "/InputConfigs/" + fmt::format("%s", type) + "/";