Advertisement
Javi

OBS: Control with external keyboard

Sep 26th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. Capture secondary keyboard
  2. =============================================
  3.  
  4. * Install interception driver (https://github.com/oblitum/Interception/releases)
  5.  
  6. ```
  7. C:\tools\Interception\command line installer\install-interception.exe /install
  8. ```
  9.  
  10. * Reboot
  11. * Install intercept (https://autohotkey.com/boards/viewtopic.php?t=7545)
  12. * Copy intercept configuration (will transform 1 into shift-f1)
  13.  
  14. ```
  15. [1 shift-f1]
  16. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  17. trigger=2,0,0
  18. combo=2a,0,0|3b,0,0|3b,0,1|2a,0,1
  19.  
  20. [2 shift-f2]
  21. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  22. trigger=3,0,0
  23. combo=2a,0,0|3c,0,0|3c,0,1|2a,0,1
  24.  
  25. [3 shift-f3]
  26. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  27. trigger=4,0,0
  28. combo=2a,0,0|3d,0,0|3d,0,1|2a,0,1
  29.  
  30. [4 shift-f4]
  31. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  32. trigger=5,0,0
  33. combo=2a,0,0|3e,0,0|3e,0,1|2a,0,1
  34.  
  35. [5 shift-f5]
  36. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  37. trigger=6,0,0
  38. combo=2a,0,0|3f,0,0|3f,0,1|2a,0,1
  39.  
  40. [6 shift-f6]
  41. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  42. trigger=7,0,0
  43. combo=2a,0,0|40,0,0|40,0,1|2a,0,1
  44.  
  45. [7 shift-f7]
  46. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  47. trigger=8,0,0
  48. combo=2a,0,0|41,0,0|41,0,1|2a,0,1
  49.  
  50. [8 shift-f8]
  51. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  52. trigger=9,0,0
  53. combo=2a,0,0|42,0,0|42,0,1|2a,0,1
  54. [9 shift-f9]
  55. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  56. trigger=a,0,0
  57. combo=2a,0,0|43,0,0|43,0,1|2a,0,1
  58. [0 ctrl-f1]
  59. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  60. trigger=b,0,0
  61. combo=1d,0,0|3b,0,0|3b,0,1|1d,0,1
  62. [del ctrl-f2]
  63. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  64. trigger=34,0,0
  65. combo=1d,0,0|3c,0,0|3c,0,1|1d,0,1
  66. [enter ctrl-f3]
  67. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  68. trigger=1c,0,2
  69. combo=1d,0,0|3d,0,0|3d,0,1|1d,0,1
  70. [+ ctrl-f4]
  71. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  72. trigger=4e,0,0
  73. combo=1d,0,0|3e,0,0|3e,0,1|1d,0,1
  74. [- ctrl-f5]
  75. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  76. trigger=4a,0,0
  77. combo=1d,0,0|3f,0,0|3f,0,1|1d,0,1
  78. [/ ctrl-f6]
  79. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  80. trigger=35,0,2
  81. combo=1d,0,0|40,0,0|40,0,1|1d,0,1
  82. [* ctrl-f7]
  83. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  84. trigger=37,0,0
  85. combo=1d,0,0|41,0,0|41,0,1|1d,0,1
  86. [backspace ctrl-f8]
  87. device=HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000204e8_PID&7021&Col01
  88. trigger=e,0,0
  89. combo=1d,0,0|42,0,0|42,0,1|1d,0,1
  90. ```
  91.  
  92. * Run intercept.exe and press `y` (apply)
  93. * Install ahk
  94. * Add "send to obs" configuration (will transform shift-f1 into f13, for example)
  95.  
  96. ```
  97. +F1::controlSend,,{F13},ahk_class Qt5QWindowIcon
  98. +F2::controlSend,,{F14},ahk_class Qt5QWindowIcon
  99. +F3::controlSend,,{F15},ahk_class Qt5QWindowIcon
  100. +F4::controlSend,,{F16},ahk_class Qt5QWindowIcon
  101. +F5::controlSend,,{F17},ahk_class Qt5QWindowIcon
  102. +F6::controlSend,,{F18},ahk_class Qt5QWindowIcon
  103. +F7::controlSend,,{F19},ahk_class Qt5QWindowIcon
  104. +F8::controlSend,,{F20},ahk_class Qt5QWindowIcon
  105. +F9::controlSend,,{F21},ahk_class Qt5QWindowIcon
  106. +F10::controlSend,,{F22},ahk_class Qt5QWindowIcon
  107. ```
  108.  
  109. * Configure obs with the secondary keyboard
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement