| 13 | } |
| 14 | |
| 15 | bool MaatouchInput::parse(const json::value& config) |
| 16 | { |
| 17 | static const std::string kDefaultPackage = "com.shxyke.MaaTouch.App"; |
| 18 | package_name_ = config.get("prebuilt", "maatouch", "package", kDefaultPackage); |
| 19 | |
| 20 | return invoke_app_->parse(config) && MtouchHelper::parse(config); |
| 21 | } |
| 22 | |
| 23 | bool MaatouchInput::init() |
| 24 | { |