Jump to content


Photo

bbzero and Surface (Pro 3)


  • Please log in to reply
4 replies to this topic

#1 espais

espais

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 10 November 2016 - 05:24 AM

Decided to fully migrate to bbZero and was happy until I realized that none of the special keys work!  Is there an easy way to figure out how to remap them?

 

For instance, the volume rocker on the side doesn't change volume, the mute key on the keyboard doesn't do anything, etc.



#2 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 10 November 2016 - 05:30 PM

They should work - mine do (Logitech G15).



#3 espais

espais

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 10 November 2016 - 06:19 PM

Completely unresponsive for me...using either the keyboard that comes with my device, an external USB keyboard, or the hardware buttons on the side.  What would the best way to troubleshoot this be?



#4 xDemonessx

xDemonessx

    Member

  • Members
  • PipPipPip
  • 56 posts
  • LocationChicago

Posted 02 December 2016 - 02:16 AM

This is common when replacing your shell. The workaround involves using autohotkey and nircmd to "talk" to windows.

 

I can say confidently to you that I would find no reason for this solution not to work out of the box with AHK on any windows system.

You can download the file from my dots if you wish here: https://github.com/x...rtup/volume.ahk

 

 

From my old FAQ source: http://pastebin.com/raw/BwVC1f9w

First, download NirCMD http://www.nirsoft.net/utils/nircmd.html  
You can find links at the bottom of the page.
Extract the exes to your Windows directory (C:\Windows).
Create or add the following lines to your Auto Hot Key Script:

Volume_Up::
run nircmd.exe changesysvolume 2000
return
Volume_Down::
run nircmd.exe changesysvolume -2000
return
Volume_Mute::
run nircmd.exe mutesysvolume 2
return

The same method with nircmd also applies to bbkeys. The code for bbkeys would look something like this: 
KeyToGrab(Num9), WithModifier(Win), WithAction(ExecCommand), DoThis(C:\Blackbox\usr\bin\nircmd\nircmd.exe changesysvolume -2000)
KeyToGrab(Num0), WithModifier(Win), WithAction(ExecCommand), DoThis(C:\Blackbox\usr\bin\nircmd\nircmd.exe changesysvolume 2000)

Just edit the key you want to use for volume controls, save the .rc and restart blackbox. If you wanted to use the buttons or sliders on a media keyboard, use bbkeyhook to define them.
Run the script. You an also compile the script with Auto Hot Key, and drop it in your windows Startup folder. This will allow Windows to run it automatically on boot. Copy the compiled .exe to C:\Users\"username"\AppData\Roaming\Microsoft\Window s\Start Menu\Programs\Startup.

  • pitkon likes this

#5 tordenflesk

tordenflesk

    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 05 December 2016 - 01:53 AM

If you'd prefer doing it purely as AHK #Include this: https://autohotkey.c...trol-functions/

in your ahk script.

See my attached example / butchery. :).

 


  • pitkon likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users