Hello,
I got my NXT Premium a few days ago, great product VKB!
While programming buttons, ive reached an apparently unsolvable situation, so I wanted to ask if what I'm trying is even possible with VKBDevCfg.
Im trying to have the ministick work in two modes:
- mode 1 as relative axes (5,6) for camera rotation with center push as axes reset (=resets axes 5,6)
- mode 2 as absolute axes (7,8) for TDC movement with center push as a logical button (so it can be binded in game)
A physical button would toggle between mode 1 and mode 2.
This is where I am now...
I have a physical button, that performs physical action AUX Axes (swap between axes 5,6 and 7,8). So far good, the axes switching works.
Then I have ministick center push physical button that is supposed to do:
- If axes 5,6 are currently on, Rel Axes (reset axes 5,6)
- If axes 7,8 are currently on, ordinary logical button
I dont see how to make this happen. Perhaps it cant be done.
Ive been trying playing around with shifts and subshifts, but those can choose only between logical buttons/actions - and Rel Axes is a physical button action. Ive tried playing with booleans, but those again can only activate logical buttons/actions, they cant activate physical buttons or perform physical actions.
Any ideas?
Shift-dependent physical layer actions
Moderator: AdminGroup
-
- Posts: 2
- Joined: Fri Mar 05, 2021 15:06
- Been thanked: 1 time
-
- Posts: 2
- Joined: Fri Mar 05, 2021 15:06
- Been thanked: 1 time
Re: Shift-dependent physical layer actions
Nevermind, i found it out. If someone else needs this in the future, here is how.
The mode selector button toggles subshift 5.
Center push button activates two logical buttons, depending on presence or absence of subshift 5.
Physical action AUX Axes (Swap) is mapped to an unused physical button.
Physical action Rel Axes (Reset) is mapped to another unused physical button.
Two physical actions Boolean are mapped to two unused physical buttons.
First one checks presence or absence of subshift 5 and accordingly activates physical button with AUX Axes (boolean operation JMP).
Second one checks state of a logical button activated by center push button in case of presence of subshift5; if active, boolean activates physical button with Rel Axes.
At this point, there is only one logical button left to be mapped by your game: the one of the two activated by center push button, that we havent used yet. In my case, this logical button gets bound to TDC depress.
The mode selector button toggles subshift 5.
Center push button activates two logical buttons, depending on presence or absence of subshift 5.
Physical action AUX Axes (Swap) is mapped to an unused physical button.
Physical action Rel Axes (Reset) is mapped to another unused physical button.
Two physical actions Boolean are mapped to two unused physical buttons.
First one checks presence or absence of subshift 5 and accordingly activates physical button with AUX Axes (boolean operation JMP).
Second one checks state of a logical button activated by center push button in case of presence of subshift5; if active, boolean activates physical button with Rel Axes.
At this point, there is only one logical button left to be mapped by your game: the one of the two activated by center push button, that we havent used yet. In my case, this logical button gets bound to TDC depress.
Who is online
Users browsing this forum: No registered users and 244 guests