Changes

Jump to navigation Jump to search
795 bytes added ,  15:54, 3 August 2020
Line 5: Line 5:  
[[File:Corsair top keys.png|thumb|Top row keys]]
 
[[File:Corsair top keys.png|thumb|Top row keys]]
 
* Use the round key in the center of the top row marked with a ''sun'' to set the keyboard backlight level in 4 steps.
 
* Use the round key in the center of the top row marked with a ''sun'' to set the keyboard backlight level in 4 steps.
* Use the round key in the left of the top row marked with a ''keyboard'' to switch between ''backlight on'' and ''programmed backlight''.
+
* Use the round key in the left of the top row marked with a ''keyboard'' to switch between ''backlight on'' and ''programmed backlight''. In ''backlight on'' mode all backlights will be ''on''. In ''programmed backlight'' mode only those backlights that you have selected will be on.
 
* Press and hold the round key in the left of the top row marked with a ''keyboard'' to change which keys are ''on'' and which keys are ''off'' in programmed mode. Watch [https://www.youtube.com/watch?v=Au2D8GnGlPw this video] for a demonstration.
 
* Press and hold the round key in the left of the top row marked with a ''keyboard'' to change which keys are ''on'' and which keys are ''off'' in programmed mode. Watch [https://www.youtube.com/watch?v=Au2D8GnGlPw this video] for a demonstration.
   Line 15: Line 15:  
[[File:Das Keyboard Simon Task.png|thumb|Das Keyboard backlight reacting to the counterbalanced key mapping of a Simon experiment.]]
 
[[File:Das Keyboard Simon Task.png|thumb|Das Keyboard backlight reacting to the counterbalanced key mapping of a Simon experiment.]]
   −
If you want to borrow the Das Keyboard 4Q, please contact the Technical Support Group. Please note that the Das Keyboard Q software must be installed on a computer for the keyboard backlights to work.
+
If you want to borrow the Das Keyboard 4Q, please contact the Technical Support Group. Please note that the [https://www.daskeyboard.io/get-started/software/ Das Keyboard Q software] must be installed on a computer for the keyboard backlights to work.
    
[https://www.daskeyboard.io/get-started/ Detailed information] about programming the Das Keyboard 4Q can be found on the manufacturer website. A few examples are given below.
 
[https://www.daskeyboard.io/get-started/ Detailed information] about programming the Das Keyboard 4Q can be found on the manufacturer website. A few examples are given below.
Line 28: Line 28:     
=== Setting key backlights from Python, the hard way ===
 
=== Setting key backlights from Python, the hard way ===
What is done below the hood is that you python code calls a restful deamon that controls the keyboard:
+
What is done below the hood is that your python code calls a restful deamon that controls the keyboard:
 
<source lang="python">
 
<source lang="python">
 
#!/usr/bin/env python3  
 
#!/usr/bin/env python3  
Line 58: Line 58:  
print("Error: " + result.text)
 
print("Error: " + result.text)
 
</source>
 
</source>
 +
 +
== Corsair K70 RGB MK.2 ==
 +
The K70 RGB MK.2 also has advanced backlight capabilities. The keyboard is similar to the K70 without RGB backlight, but has software controllable RGB backlighting.
 +
 +
Install the [https://github.com/ckb-next/ckb-next ckb-next] software. Open the user interface and select the [https://github.com/ckb-next/ckb-next/wiki/Animations#pipe Pipe animation]. From your experiment you can now simply make the g key red with (in bash):
 +
 +
  echo "rgb g:ff0000ff" > /tmp/ckbpipe000
 +
 +
or (in Python):
 +
 +
  with open("/tmp/ckbpipe000", "w") as k70:
 +
    print("rgb g:ff0000ff", file=k70)

Navigation menu