How to Create Macros?

Moderator: AdminGroup

Dirt
Posts: 33
Joined: Sat Jan 27, 2018 7:57
Has thanked: 14 times
Been thanked: 5 times

How to Create Macros?

Postby Dirt » Mon Apr 29, 2019 4:05

I'm having trouble trying to create a repeating macro through the VKBDevCfg. I can't even get as far as the macro even activating at all.
I've referenced the .pdf manual and still couldn't get any macros to work.
Anyone have any incite?

Grip: MCG Pro
Base: Gunfighter MkII
VKBDevCfg: v0.90.06
NJoy32 FW: v1.96A
FW: v1.96B
Gunfighter MkII w/MCG-Pro
Soft Cams X&Y
#10 Springs X&Y
FW: v1.976
Devconfig: v0.90.35

Gunfighter MkII w/Kosmosima Premium Left
Soft Cams X&Y
#10 Springs X&Y
FW: v1.976

T-Rudder Mk.IV Pedals
Soft Cam Side
High Spring Tension Setting

User avatar
fallout9
Posts: 5180
Joined: Wed Oct 03, 2018 20:37
Has thanked: 208 times
Been thanked: 1218 times

Re: How to Create Macros?

Postby fallout9 » Mon Apr 29, 2019 5:38

Go to Profile -. Physical layer and mark the Poll box. Press the joystick button you want to macro to identify it on the buttons map. Click mouse on the button. In the new window press the Logical layer box (the one connected to the physical button by a green line). Choose Macro from the drop down menu. Press Set (Buttons) to save the changes.
Go to Macro tab and set up your inputs in horizontal order. If your line is longer than 4 inputs mark the box at the end of the line. When done press Set (under Device group).
You could create several macros by assigning them numbers.
Attachments
1.JPG
2.JPG
3.JPG

Dirt
Posts: 33
Joined: Sat Jan 27, 2018 7:57
Has thanked: 14 times
Been thanked: 5 times

Re: How to Create Macros?

Postby Dirt » Mon Apr 29, 2019 9:49

Thanks, but I still can't get the macro to even be bindable in game.
Gunfighter MkII w/MCG-Pro
Soft Cams X&Y
#10 Springs X&Y
FW: v1.976
Devconfig: v0.90.35

Gunfighter MkII w/Kosmosima Premium Left
Soft Cams X&Y
#10 Springs X&Y
FW: v1.976

T-Rudder Mk.IV Pedals
Soft Cam Side
High Spring Tension Setting

rtrski
Posts: 280
Joined: Mon Sep 11, 2017 0:20
Has thanked: 101 times
Been thanked: 135 times

Re: How to Create Macros?

Postby rtrski » Mon Apr 29, 2019 18:08

I'm not sure you understand how macros work.

You bind a single control input to some function in your game. E.g. trigger button 1 is fire guns, secondary trigger 2 is fire missiles.

for the macro you want to program a series of control inputs that have assignments in the game to another button of the joystick. E.g.stick button 3 performs a sequence of missile, gun, missile by providing logical outputs when pressed (2,1,2).

in that sense button 3 does not show up as its own logical individual key press to the game.
Last edited by rtrski on Mon Apr 29, 2019 18:47, edited 1 time in total.
RH VKB GF Mk III + Modern Combat Grip *ULTIMATE* (12/17 GFII , upgraded), _powered_ deploy!
LH VKB GF Mk III + Kosmosima Prem (02/19 GFII, upgraded), *lateral* mounted
Feet: Slaw Viper RX Pedals [Sorry, VKB, too gorgeous]

Drano
Posts: 313
Joined: Sun Oct 01, 2017 5:00
Location: Representin' the 302
Has thanked: 20 times
Been thanked: 86 times

Re: How to Create Macros?

Postby Drano » Mon Apr 29, 2019 18:09

I'm guessing if you're seeing the macros tab you've added the user=developer line to the cfg file of VKBDevconfig? And you've selected the keyboard in the global tab? Otherwise it won't be able to "type".

I'm not at my PC so bear with me. And it's been a while since I edited my macros but it took me a while to get it too!

OK from the macros tab. Make a test macro like in the pic below. In the first row make four key presses a, b, c, d.

Press "set"--important. This sends the macro info to the stick memory.

This will be macro 1.
Pick a button and assign macro 1 to it. Click "set" - - important. Ok let's test it out.

OK go to the test tab and click on the pane with the stick and FW info on it. A cursor should be flashing where you clicked. Hit the button. You should see abcd.

The next macro will be macro 2, obviously. But let's say you need more than 4 characters? If you made row 2 e, f, g, h you can continue it into row 3 with I, j, that is still macro 2. Put blanks in the other two boxes in row 3.

Now the next macro will be macro 4. Why not 3? It's the third one? Because that macro STARTS in row 4. Whatever row you begin your macro in becomes its number for programming purposes.

That's off the top of my head. Hope I got that right!
Gunfighter MkI w/MkIII update + MCG-Pro Grip
Avia S Cams
2x #30A Springs
FW:v2.13F
Devconfig: v92.78
Zbootloader: v2.01

Asus Strix X570-E Gaming
Ryzen9 5800X3D
Asus Strix 3080 12GB
32GB Corsair Vengeance PC3600
EVGA G6 1000W
Reverb G2V2
Win10/64

User avatar
Victorus
Posts: 1677
Joined: Wed Sep 21, 2011 13:25
Has thanked: 374 times
Been thanked: 257 times

Re: How to Create Macros?

Postby Victorus » Mon Apr 29, 2019 20:12

Look at screenshots. Macro tab contains some macro.
macro_tab.png

Logical layer. Several buttons assigned to run macro.
logical_layer.png

Quick logical layer wizard. Button #63 runs macro #1.
QLLW.png

How to assign keystroke to macro unit.
macro_.png

Important!!! Common tab. Enabled keyboard mapping (Map checkbox) and Classic mapping mode selected.
common.png

Also you can use joystick buttons as is without mapping.
Руководство пользователя по контроллерам VKB (VKB controllers User Guide) Ru&En
https://disk.yandex.ru/d/LlqiYtIrIetBOQ

Dirt
Posts: 33
Joined: Sat Jan 27, 2018 7:57
Has thanked: 14 times
Been thanked: 5 times

Re: How to Create Macros?

Postby Dirt » Tue Apr 30, 2019 2:34

rtrski wrote:
Dirt wrote:Thanks, but I still can't get the macro to even be bindable in game.


I'm not sure you understand how macros work.

You bind a single control input to some function in your game. E.g. trigger button 1 is fire guns, secondary trigger 2 is fire missiles.

for the macro you want to program a series of control inputs that have assignments in the game to another button of the joystick. E.g.stick button 3 performs a sequence of missile, gun, missile by providing logical outputs when pressed (2,1,2).

in that sense button 3 does not show up as its own logical individual key press to the game.



You are correct. I have basically no idea how macros work.

All I want to do is set a button to repeat input while I hold it down.
Gunfighter MkII w/MCG-Pro
Soft Cams X&Y
#10 Springs X&Y
FW: v1.976
Devconfig: v0.90.35

Gunfighter MkII w/Kosmosima Premium Left
Soft Cams X&Y
#10 Springs X&Y
FW: v1.976

T-Rudder Mk.IV Pedals
Soft Cam Side
High Spring Tension Setting

Dirt
Posts: 33
Joined: Sat Jan 27, 2018 7:57
Has thanked: 14 times
Been thanked: 5 times

Re: How to Create Macros?

Postby Dirt » Tue Apr 30, 2019 2:42

Victorus wrote:Look at screenshots. Macro tab contains some macro.
macro_tab.png

Logical layer. Several buttons assigned to run macro.
logical_layer.png

Quick logical layer wizard. Button #63 runs macro #1.
QLLW.png

How to assign keystroke to macro unit.
macro_.png

Important!!! Common tab. Enabled keyboard mapping (Map checkbox) and Classic mapping mode selected.
common.png

Also you can use joystick buttons as is without mapping.


I did everything in the pics and still can't get it to work.
Gunfighter MkII w/MCG-Pro
Soft Cams X&Y
#10 Springs X&Y
FW: v1.976
Devconfig: v0.90.35

Gunfighter MkII w/Kosmosima Premium Left
Soft Cams X&Y
#10 Springs X&Y
FW: v1.976

T-Rudder Mk.IV Pedals
Soft Cam Side
High Spring Tension Setting

rtrski
Posts: 280
Joined: Mon Sep 11, 2017 0:20
Has thanked: 101 times
Been thanked: 135 times

Re: How to Create Macros?

Postby rtrski » Tue Apr 30, 2019 3:47

Dirt wrote:
rtrski wrote:
Dirt wrote:Thanks, but I still can't get the macro to even be bindable in game.


I'm not sure you understand how macros work.

You bind a single control input to some function in your game. E.g. trigger button 1 is fire guns, secondary trigger 2 is fire missiles.

for the macro you want to program a series of control inputs that have assignments in the game to another button of the joystick. E.g.stick button 3 performs a sequence of missile, gun, missile by providing logical outputs when pressed (2,1,2).

in that sense button 3 does not show up as its own logical individual key press to the game.



You are correct. I have basically no idea how macros work.

All I want to do is set a button to repeat input while I hold it down.


Hope I didn't come across as a jerk - really not my intention.

Ok, let's back up a second. I have exactly the same stick and base as you, and I believe am on the same firmware. Can you send a pic of a) your Profile - Buttons - Physical Layer, b) your Profile - Buttons - Logical Layer, c) a brief description of the game, your other bindings to the joystick (e.g. for "normal" buttons - not those you want to work like a macro) and d) an explanation of what you want the macro to do, in game terms, and which button of the grip you want it assigned to?
RH VKB GF Mk III + Modern Combat Grip *ULTIMATE* (12/17 GFII , upgraded), _powered_ deploy!
LH VKB GF Mk III + Kosmosima Prem (02/19 GFII, upgraded), *lateral* mounted
Feet: Slaw Viper RX Pedals [Sorry, VKB, too gorgeous]

User avatar
Victorus
Posts: 1677
Joined: Wed Sep 21, 2011 13:25
Has thanked: 374 times
Been thanked: 257 times

Re: How to Create Macros?

Postby Victorus » Tue Apr 30, 2019 10:02

Dirt wrote:
rtrski wrote:
Dirt wrote:All I want to do is set a button to repeat input while I hold it down.

You can use generators.
4.3.10. Pulse generator
Generator
Description
When you press button with this function pulse sequence will be generated. Global
parameter T_Gen (see 2.3.1 on p. 18) specifies pulse frequency. The following gen
erator types can be used:
 G1,
 G8,
 GT,
 GT+,
 GTE,
 GTE+,
 GTR,
 GTR2,
G1
Generates specified number of pulses with single button press. Set this number us
ing Value counter. Checking x10 you can multiply specified number to 10. Example.
Value is equal to 7, x10 checked. 70 pulses will be generated.
https://yadi.sk/i/yRmWNwrdicqnrQ
Руководство пользователя по контроллерам VKB (VKB controllers User Guide) Ru&En
https://disk.yandex.ru/d/LlqiYtIrIetBOQ

daLikkah
Posts: 5
Joined: Sat Jun 13, 2020 13:11

Re: How to Create Macros?

Postby daLikkah » Sat Jun 13, 2020 13:57

Hey guys. I bought my first vkb gf3. It’s a pretty nice thing but the software makes me crazy. It seems to be so complicated. I used a Logitech x56 before and this was so easy to create Macros. The vkb software is so confused.

I try to create a macro with shift + f10 but if I test it —> look at the picture. There is a video somewhere who explain this staff rly good? And is it possible to switch the profile with one button ? Like a Mode button ?
Attachments
A6DA6EEB-D33F-40E8-AA86-5368982B5AB2.jpeg
A6DA6EEB-D33F-40E8-AA86-5368982B5AB2.jpeg (33.1 KiB) Viewed 7360 times
D53712D7-715B-46A8-A62A-8673D4B88FA0.jpeg
D53712D7-715B-46A8-A62A-8673D4B88FA0.jpeg (21.79 KiB) Viewed 7360 times
0FCDC645-7A38-4C01-82CF-F7BCB7E9B981.jpeg
0FCDC645-7A38-4C01-82CF-F7BCB7E9B981.jpeg (31.61 KiB) Viewed 7360 times

User avatar
fallout9
Posts: 5180
Joined: Wed Oct 03, 2018 20:37
Has thanked: 208 times
Been thanked: 1218 times

Re: How to Create Macros?

Postby fallout9 » Sat Jun 13, 2020 20:27

Your pictures are so bad I can't even tell what's happening there. You're saying that you want a macro on Shift+F10, but it looks like there are more keys assigned to each macro in your pictures.
Is it the keyboard activated in Global/Common?

daLikkah
Posts: 5
Joined: Sat Jun 13, 2020 13:11

Re: How to Create Macros?

Postby daLikkah » Sat Jun 13, 2020 23:21

Hi fallout. Yeah I’m just trying to figure it out how this software works. So I bind a button with macro 1 and it just put shift.

There should be shift + F10 in the test list for example right ?

Macro 4 is working. All 8 keys will be typed in the test list. Keyboard is active in classic mode.

Another question! Is it possible to have more profiles and switch between them ?

daLikkah
Posts: 5
Joined: Sat Jun 13, 2020 13:11

Re: How to Create Macros?

Postby daLikkah » Sat Jun 13, 2020 23:23

Better quality?
Attachments
611FBDD6-F987-4590-9D23-A1AAFCDD3FD5.jpeg
4C152388-876C-4DA3-9098-3158E21E5AA3.jpeg
80A9FAFD-4FBC-430B-93D5-A342CCBE3225.jpeg

User avatar
fallout9
Posts: 5180
Joined: Wed Oct 03, 2018 20:37
Has thanked: 208 times
Been thanked: 1218 times

Re: How to Create Macros?

Postby fallout9 » Sun Jun 14, 2020 0:12

You have assigned Macro numbers 1 and 4 to buttons, but in the Macro chart they are both Set1. Change Set to 4 for the second and press Set button on the right side. You could also adjust the time on the right side Time sets panel.
I can assure you it works, just filled up my config with your data and got these results.
Attachments
Capture.JPG


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 50 guests