Support for multiple keyboards

#1

Would be cool to be able to connect second keyboard and use it for macros only.

0 Likes

#2

Just imagine that you could connect a second keyboard and record a specific action per application i.e. have specific keys for video editing, programming, etc.
I mean BetterTouchTool already supports pretty much everything that needs to be done for this except being able to distinguish between different keyboards.

0 Likes

#3

Unfortunately I don't know of a way to distinguish between keyboards at the level where BTT works. Otherwise I'd like to add this...

Maybe I can find a way to do this in the future.

0 Likes

#4

Actually I have found a way to make it work. It's included in the latest update:

0 Likes

#5

Boom! Time to buy a second license :grin:

0 Likes

#6

Hi - I was very excited to see this in BTT but it doesn't want to work for me :worried: (v 2.724)

I have a tenkeyless keyboard (realforce 87U) and a separate numpad (adesso AKP-220B). Both have a key which BTT reports as F13 when pressed.

I created two new triggers and selected "Recognize only on keyboard used for recording the shortcut" before I recorded the shortcut and defined the action. But, whenever I press the key on either keyboard I get a little pop-up menu with the two action I have defined.

0 Likes

#7

Do you maybe have the old keyboard shortcut implementation activated? (it can not work with that)

It can also not work while secure input is active (BTT will show a message about that)

0 Likes

#8

Hi Andreas - thanks for the quick reply.

Just to be sure, I clicked "Reset ALL Settings" in BTT, then I deleted all my actions, then I created the two new actions again:

  • Add New Shortcut or Key Sequence
  • Click "gear" icon on the left and select "Recognize only on keyboard used for recording the shortcut"
  • Record the shortcut, and define the action.

It still does not want to work for me. I have copied the JSON for both actions below. They both have the same BTTKeyboardShortcutKeyboardType - is that a problem?

{
"BTTGestureNotes" : "Created-on-87U",
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTPredefinedActionType" : 25,
"BTTPredefinedActionName" : "Volume Down",
"BTTAdditionalConfiguration" : "8388608",
"BTTEnabled2" : 1,
"BTTKeyboardShortcutScope" : 1,
"BTTKeyboardShortcutKeyboardType" : 40,
"BTTUUID" : "B1CAB015-F5A9-4C5A-B2C1-A1D5FC532C4C",
"BTTTriggerOnDown" : 1,
"BTTEnabled" : 1,
"BTTModifierMode" : 0,
"BTTShortcutKeyCode" : 105,
"BTTShortcutModifierKeys" : 8388608,
"BTTOrder" : 0,
"BTTDisplayOrder" : 0,
"BTTMergeIntoTouchBarGroups" : 0
}

{
"BTTGestureNotes" : "Created-on-Adesso",
"BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
"BTTPredefinedActionType" : 96,
"BTTPredefinedActionName" : "Maximize Window to Top Half",
"BTTAdditionalConfiguration" : "8388608",
"BTTEnabled2" : 1,
"BTTKeyboardShortcutScope" : 1,
"BTTKeyboardShortcutKeyboardType" : 40,
"BTTUUID" : "6A322BA6-6109-40B4-A5AD-ABE67889425C",
"BTTTriggerOnDown" : 1,
"BTTEnabled" : 1,
"BTTModifierMode" : 0,
"BTTShortcutKeyCode" : 105,
"BTTShortcutModifierKeys" : 8388608,
"BTTOrder" : 1,
"BTTDisplayOrder" : 0,
"BTTMergeIntoTouchBarGroups" : 0
}

(edited after a few minutes b/c I realized I'd copied the same JSON twice)

0 Likes

#9

Damn you seem to be unlucky, both of your keyboards seem to report as type "40".
Unfortunately BTT can only do the differentiation based on the keyboard type provided, for me this has worked with all my keyboards, but keyboards can report the same type ;-(

0 Likes

#10

Do you know if there's any way to edit the keyboard type, or how it's reported in OSX?
I have another numpad I will try as well.
Thanks!
Sameer

0 Likes

#11

Unfortunately I think that's hardcoded in the keyboard hardware.
In the future I might be able to include more information like the keyboard vendor and model id, but this is not yet done.

0 Likes

#12

Hi Andreas,

A bit more information: the keyboard type appears to be linked to that set in the OSX "Keyboard" preference pane (i.e. the Change Keyboard Type) button. ANSI = 40, ISO = 41, JIS = 42.

0 Likes

#13

Ah that's interesting!
There seem to be many more types though (e.g. the Touch Bar acts as a keyboard with type 198).

However I think I have a solution to make the keyboard detection work in all cases. I'll implement this next week!

1 Like

#14

HI Andreas,
Have you had any success with the solution for keyboard detection?
Thanks,
Sam

0 Likes