profile
viewpoint

Ask questionshs.razer - Add support for Razer devices

I've discussed this before in other issues (#2447, #2876), but something I'd love to tackle sooner rather than later is add support for the Razer Tartarus V2 to Hammerspoon, offering a similar extension to hs.streamdeck.

Hardware:

  • https://www.razer.com/gaming-keypads/Razer-Tartarus-V2/RZ07-02270100-R3U1

Useful Code:

  • https://github.com/1kc/librazermacos

Related:

  • https://github.com/1kc/razer-macos
  • https://github.com/FruityRazer/FruityKit
  • https://github.com/kprinssu/osx-razer-blade
  • https://github.com/openrazer/openrazer (Linux Only)
  • https://github.com/z3ntu/razer_test (Works on macOS)
  • https://github.com/CalcProgrammer1/openrazer-win32 (Windows Only)
Hammerspoon/hammerspoon

Answer questions latenitefilms

Doesn't seem to... I can just type this in Terminal:

hidutil property --matching '{"ProductID":0x022b}' --set '{"UserKeyMapping": 
 [{"HIDKeyboardModifierMappingSrc":0x70000002C,
   "HIDKeyboardModifierMappingDst":0x700000004
 }]
}'

...and it just works.

Note to self:

  • https://stackoverflow.com/questions/8676135/osx-hid-filter-for-secondary-keyboard
  • https://gist.github.com/GaretJax/3783042
useful!
source:https://uonfu.com/
answerer
Chris Hocking latenitefilms LateNite Films Australia https://latenitefilms.com Filmmaker (and occasional coder) @ LateNite Films
Github User Rank List