Possiedo un CM Storm Devastator e non riesco a far funzionare la retroilluminazione su Mac. Ho seguito le seguenti istruzioni:
- Go here: https://developer.apple.com/library/mac/samplecode/HID_LED_test_tool/Introduction/Intro.html
- Click the little "Download sample code" button
- Open the downloaded folder and go to Build / Release
- Drag the HID LED test tool file to your Applications folder
- Launch the OS X "Automator" program
- Choose "Service" document type
- Under "Library", click "Utilities", and drag "Run Shell Script" to the blank area / workflow pane.
- For "selected service receives" choose "no input" in "any application" (important)
- For "pass input" choose "as arguments" (important)
- For "shell" choose "/bin/bash"
Paste in this script:
/Applications/HID\ LED\ test\ tool & pid=$! sleep 3 kill $pid
Click "run" to test. After 3 seconds, your keyboard should remain in a state with num lock and scroll lock enabled, and all the keys should be lit up. Yay! Continue to assign keyboard shortcut to do this.
- Click "File" > "Save", "Save service as" : "Devastator LED Lighter"
- Go to System Preferences > Keyboard > Shortcuts > Services > General > "Devastator LED Lighter"
- Assign a shortcut. Scroll lock and F keys didn't work for me. I ended up choosing "
I problemi che ho riscontrato:
-
Il file scaricato si chiama "HID_LED_test_tool". Questo contiene 3 file
- Strumento di test LED HID: leggimi.txt
- HID LED test tool.xcodeproj
- main.c
Problema: non contiene una cartella build / release, quindi ho trascinato HID LED test tool.xcodeproj nella cartella Applicazioni.
-
Ho seguito tutte le istruzioni sopra riportate rinominando il file HID LED ... su un HID semplice. Il problema è che quando eseguo il programma di automazione come indicato sopra, ottengo la risposta
xxxxx is a directory.
Non riesco ad aggirare questo problema; Ho provato a estrarre il file all'interno della cartella degli strumenti di test LED HID e quindi a eseguire l'automazione con quel nome di file, ma succede esattamente la stessa cosa .... -
Quando tento di aprire il file project.pbxproj nel Terminale, ottengo la risposta:
Last login: Sat Feb 7 19:34:21 on ttys000 /Applications/HID\ LED\ test\ tool.xcodeproj/project.pbxproj ; exit; Zakias-MacBook-Pro:~ zakia$ /Applications/HID\ LED\ test\ tool.xcodeproj/project.pbxproj ; exit; /Applications/HID LED test tool.xcodeproj/project.pbxproj: line 1: //: is a directory /Applications/HID LED test tool.xcodeproj/project.pbxproj: line 3: archiveVersion: command not found /Applications/HID LED test tool.xcodeproj/project.pbxproj: line 4: classes: command not found /Applications/HID LED test tool.xcodeproj/project.pbxproj: line 6: objectVersion: command not found /Applications/HID LED test tool.xcodeproj/project.pbxproj: line 7: objects: command not found /Applications/HID LED test tool.xcodeproj/project.pbxproj: line 9: /Applications: is a directory /Applications/HID LED test tool.xcodeproj/project.pbxproj: line 10: syntax error near unexpected token '(' /Applications/HID LED test tool.xcodeproj/project.pbxproj: line 10: ' 8DD76F770486A8DE00D96B5E /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 08FB7796FE84155DC02AAC07 /* main.c */; settings = {ATTRIBUTES = (); }; };' logout [Process completed]