简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย

导读切换到宽版
Online Supporting

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1017|回复: 5

Przelacznik - multiple instances of key with knob (MiraBox N3)

[复制链接]

3

主题

52

回帖

298

积分

中级会员

积分
298
发表于 2024-9-11 16:42:24 | 显示全部楼层 |阅读模式
本帖最后由 Ryszard 于 2024-10-5 16:30 编辑

I wrote my first test plugin for the StreamDock N3 device. It probably has many imperfections - as is the case with the first test program. I didn't want to write a typical "Hello World" program, so I wrote something like this:

https://drive.google.com/file/d/ ... ZC/view?usp=sharing


CONFIGURATION

The plugin consists of three elements:

Przelacznik - key assignment:
   Supports multiple instances of configurable actions for a specific button on the device.

   Settings:
     Aktywna pozycja - currently active button instance (No. on the position configuration list) - it is switched by the slider knob set to the "Wybieranie" mode (method of operation)

   Settings for individual positions:
      Tytul                       - text displayed on the button
                                             If the following special identifiers are entered in the title, then in the case of multiple actions, they will be displayed accordingly:
                                             if the [%] sign is entered, it shows the percentage progress of the multiplicity,
                                             if [#] it shows the iteration number,
                                             if [$] it shows the number of iterations,
                                             if [#$] it shows the iteration number from the number of multiplicities (e.g. 5 -> 10),
                                             if [#%] it shows the iteration number and the percentage progress (e.g. 5 = 25%)
      Ikona                       - icon displayed on the button
      Akcje                       - actions performed after pressing the button, separated by the | character
                                          [0]                                     - displaying the alert icon (icon according to API SDK)
                                          [1]                                     - displaying the OK icon (icon according to API SDK)
                                          [* multiplier *]                    - multiple execution of the action during its subsequent executions - applies only to the knob rotation action
                                          [x multiplicity x]                 - multiple execution of the command (defined separately for the actions below)
                                          [! ms !]  ]                           - pause in ms (1/1000s)
                                          [ALT][CTRL][SHIFT]text   - simulation of keystrokesse
                                          [I file I]                              - temporarily displaying an icon on the device key   
                                          [N]                                    - actions are performed until the next button press or knob turn
                                          [O]                                    - next actions will be performed until the button is pressed or the knob is turned - only works for knob actions
                                          [P]                                    - interrupts the operation of parameters [Q], [O]                                    
                                          [Q]                                   - next actions will be performed until the button is pressed or the knob is turned
                                          [R]                                   - refresh button                                    
                                          [T text T]                         - temporarily displaying an inscription on the device key
                                          [W]command                  - launch Windows command
                                          [Z]                                   - switching the active button instance to the next defined instance
                                          [z number z]                    - switching the instance of the active button to the instance of the specified one number
      Krotność                              - multiple execution of the action when quickly turning the knob left or right (definition in Przekretnik settings)
      Tytuł - obrót gałki w lewo     - text displayed temporarily on the button when turning the knob to the left
      Ikona - obrót gałki w lewo    - icon displayed temporarily on the button when turning the knob to the left
      Akcje - obrót gałki w lewo    - actions performed when turning the knob to the left (configuration options as for button actions)
      Tytuł - obrót gałki w prawo   - text displayed temporarily on the button when turning the knob to the right
      Ikona - obrót gałki w prawo  - icon displayed temporarily on the button when turning the knob to the right
      Akcje - obrót gałki w prawo  - actions performed when turning the knob to the right (configuration options as for actions button)
      Tytuł - naciśnięcie gałki        - caption displayed temporarily on the button when the knob is pressed
      Ikona - naciśnięcie gałki       - icon displayed temporarily on the button when the knob is pressed
      Akcje - naciśnięcie gałki       - actions performed when the knob is pressed (configuration options are the same as for button actions)

Przesowak - assigned to the knob:
   Allows you to select an instance of the active button's action and move between buttons (change the active button).

   Settings:
   Sposób działania     - ability to select the method of operation of the knob. Specifies whether the associated button should switch the active instance or switch between buttons. This setting can be set here or changed (switch between them) by pressing this knob.

Przekretnik - assigned to the knob:
   Allows you to perform additional actions assigned to the instance of the active button.

   Settings:
      Czas                     - time in which the number of knob pulses is counted (in milliseconds) to trigger the action multiple
      Ilość                      - number of pulses that triggers the action multiple (multiple defined in the Twister configuration - the multiplicity setting for each instance may be different)

OPERATION

After defining multiple action instances for the button, we use the knob with the assigned "Przekretnik" to perform selected actions (turning or pressing the knob).
To change the active action instance for the active button, we can use the knob with the assigned "Przesowak" and the active "Wybieranie" mode.
To change the active button, we can press it (then the "Akcje" assigned to it will also be performed) or select it using the knob with the assigned "Przesuwak" and the active "Przewijanie" mode (you can switch between modes by pressing the knob) - then the actions assigned to the button will not be performed.

SUMMARY

The plugin was written to test the possibilities of optimizing Stream Dock devices for easy handling of many actions.
Since the application does not support Polish, all texts are in Polish (instead of English).
Since this is a test application, no other language versions or other modifications are planned.


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

5

主题

19

回帖

365

积分

管理员

积分
365
发表于 2024-9-16 10:27:48 | 显示全部楼层
great!

3

主题

52

回帖

298

积分

中级会员

积分
298
 楼主| 发表于 2024-10-27 00:23:45 | 显示全部楼层
本帖最后由 Ryszard 于 2024-10-28 03:54 编辑

I have added an improvement - in case of connecting two devices at the same time StreamDock N3 + StreamDock 293S. Both the knobs and the display for the Przelacznik plugin support both devices at the same time. You can display on the 293S display the data configured for buttons and knobs from N3 (additional Przeinfo plugin) and use the knobs for buttons from 293S as it works in case of connecting only one device to N3. Both N3 + 293S devices work as if they were one device with 24 configurable buttons + 3 knobs + additional display.
I also added the ability to associate and configure three knobs (three different sets of actions) with one button. Now it makes sense because you can display the method of operation (attached actions) to individual knobs on the display panel (Info Board).

144

主题

916

回帖

2993

积分

版主

积分
2993
发表于 2024-10-28 17:40:03 | 显示全部楼层
Ryszard 发表于 2024-10-27 00:23
I have added an improvement - in case of connecting two devices at the same time StreamDock N3 + Str ...

Sure, such a great feature, send a video to watch

3

主题

52

回帖

298

积分

中级会员

积分
298
 楼主| 发表于 2024-11-5 18:57:32 | 显示全部楼层
本帖最后由 Ryszard 于 2024-11-6 00:50 编辑
Sure, such a great feature, send a video to watch

https://www.youtube.com/watch?v=mArYAr-KeD0

144

主题

916

回帖

2993

积分

版主

积分
2993
发表于 2024-11-6 14:23:08 | 显示全部楼层
Ryszard 发表于 2024-11-5 18:57
https://www.youtube.com/watch?v=mArYAr-KeD0

I understand now. You are using two devices together like one device, and the secondary screen of the 293S has become the indicator for the N3 knob. This is a very good idea. You are amazing
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Stream Dock 论坛 ( 粤ICP备16086630号 )

GMT+8, 2024-11-21 18:10 , Processed in 0.075445 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表