Compare commits

..
5 Commits
Author SHA1 Message Date
toxblh 10d94d65e2 version 0.17 2018-08-26 21:12:18 +01:00
toxblh 7de87ad029 Merge remote-tracking branch 'origin/master' 2018-08-26 21:10:27 +01:00
toxblh ad27d26c86 Added keyboard illumination buttons #106 2018-08-26 21:10:16 +01:00
Anton Palgunov ecbd2beb48 Merge pull request #108 from luongvo209/master
Add Luong Vo's customisation
2018-08-22 21:14:52 +01:00
Luong Vo 0aed9a8680 Add Luong Vo's customisation 2018-08-23 00:49:31 +07:00
9 changed files with 138 additions and 2 deletions
+24
View File
@@ -0,0 +1,24 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ill_down.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

+24
View File
@@ -0,0 +1,24 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "ill_up.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

+1 -1
View File
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.16.2</string>
<string>0.17</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
+10
View File
@@ -58,6 +58,16 @@ class SupportedTypesHolder {
return (item: .staticButton(title: ""), action: .keyPress(keycode: 145), longAction: .none, parameters: [.image: imageParameter])
},
"illuminationUp": { _ in
let imageParameter = GeneralParameter.image(source: #imageLiteral(resourceName: "ill_up"))
return (item: .staticButton(title: ""), action: .hidKey(keycode: NX_KEYTYPE_ILLUMINATION_UP), longAction: .none, parameters: [.image: imageParameter])
},
"illuminationDown": { _ in
let imageParameter = GeneralParameter.image(source: #imageLiteral(resourceName: "ill_down"))
return (item: .staticButton(title: ""), action: .hidKey(keycode: NX_KEYTYPE_ILLUMINATION_DOWN), longAction: .none, parameters: [.image: imageParameter])
},
"volumeDown": { _ in
let imageParameter = GeneralParameter.image(source: NSImage(named: .touchBarVolumeDownTemplate)!)
return (item: .staticButton(title: ""), action: .hidKey(keycode: NX_KEYTYPE_SOUND_DOWN), longAction: .none, parameters: [.image: imageParameter])
+8 -1
View File
@@ -66,10 +66,12 @@ File for customize your preset for MTMR: `open ~/Library/Application\ Support/MT
- exitTouchbar
- brightnessUp
- brightnessDown
- illuminationUp (keyboard illumination)
- illuminationDown (keyboard illumination)
- volumeDown
- volumeUp
- mute
- dock
- dock (half-long click to open app, full-long click to kill app)
> Native Plugins
- battery
@@ -292,6 +294,11 @@ This then you want to use longPress for some operations is will the same values
[@ReDetection preset](Resources/ReDetection.json)
### User's presets
[@luongvo209 preset](Resources/luongvo209.json)
![](Resources/luongvo209.png)
## Credits
<a href="https://www.buymeacoffee.com/toxblh" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB