mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
vr:: two new actions
This commit is contained in:
parent
60a037265f
commit
7e3ecab8ed
6
vr.cpp
6
vr.cpp
@ -454,6 +454,12 @@ vector<digital_action_data> dads = {
|
||||
digital_action_data("/actions/game/in/MoveRight", [] { return (cmode && sm::NORMAL); }, [] (bool last, bool curr) {
|
||||
move_according_to(vr::TrackedControllerRole_RightHand, last, curr);
|
||||
}),
|
||||
digital_action_data("/actions/game/in/Drop", [] { return (cmode && sm::NORMAL); }, [] (bool last, bool curr) {
|
||||
if(curr && !last) dialog::queue_key('g');
|
||||
}),
|
||||
digital_action_data("/actions/game/in/Skip turn", [] { return (cmode && sm::NORMAL); }, [] (bool last, bool curr) {
|
||||
if(curr && !last) dialog::queue_key('s');
|
||||
}),
|
||||
digital_action_data("/actions/game/in/EnterMenu", [] { return (cmode && sm::NORMAL); }, [] (bool last, bool curr) {
|
||||
if(curr && !last) dialog::queue_key(PSEUDOKEY_MENU);
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user