Skip to content

Commit 97a0363

Browse files
committed
feat: implemented ActionSetLayers
1 parent b0eb680 commit 97a0363

2 files changed

Lines changed: 506 additions & 158 deletions

File tree

dll/dll/steam_controller.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,13 @@ struct Controller_Action {
3131
ControllerHandle_t controller_handle{};
3232
struct Controller_Map active_map{};
3333
ControllerDigitalActionHandle_t active_set{};
34+
std::map<ControllerActionSetHandle_t, struct Controller_Map> active_layers{};
3435

3536
Controller_Action(ControllerHandle_t controller_handle);
3637

3738
void activate_action_set(ControllerDigitalActionHandle_t active_set, std::map<ControllerActionSetHandle_t, struct Controller_Map> &controller_maps);
39+
void activate_action_set_layer(ControllerActionSetHandle_t active_layer, std::map<ControllerActionSetHandle_t, struct Controller_Map> &controller_maps);
40+
void deactivate_action_set_layer(ControllerActionSetHandle_t active_layer);
3841
std::set<int> button_id(ControllerDigitalActionHandle_t handle);
3942
std::pair<std::set<int>, enum EInputSourceMode> analog_id(ControllerAnalogActionHandle_t handle);
4043
};

0 commit comments

Comments
 (0)