Commit Graph

52 Commits

Author SHA1 Message Date
László Monda
e99d9da072 Use let instead of var all the way. 2017-01-16 01:16:42 +01:00
László Monda
99be63e5a8 Remove initLeds() and initLedCommands because it's better to rather not mess around with the LED control registers. 2017-01-16 01:13:15 +01:00
László Monda
c3457e33b7 Add script. 2017-01-16 01:00:35 +01:00
László Monda
941639e3da Update usage information. 2017-01-15 14:42:19 +01:00
László Monda
c2774030c2 Add intervals in usage explanation. 2017-01-15 14:39:47 +01:00
László Monda
8343547906 Add set-led-values.js 2017-01-15 14:38:28 +01:00
László Monda
b0b292066c Control the PWM brightness of the left and right keyboard halves separately. 2017-01-15 04:53:01 +01:00
László Monda
93b284cd07 Add script. 2017-01-15 03:58:34 +01:00
László Monda
a1f191a324 Rename script. 2017-01-15 03:53:14 +01:00
László Monda
e2002dd63b Expose uhk.sendUsbPackets() and implement uhk.sendUsbPacket() based on it. 2017-01-15 03:51:00 +01:00
László Monda
a826bd25cb Name file more aptly because both LEDs get toggled. 2017-01-15 03:38:11 +01:00
László Monda
d61e7ed128 Move UhkConnection.js and uhkcmd to the newly created legacy directory. 2017-01-15 03:29:18 +01:00
László Monda
e54c1df13e Vastly simplify jump-to-bootloader.js by using uhk.sendUsbPacket() 2017-01-15 03:24:33 +01:00
László Monda
73f682193a Expose usb.sendUsbPacketsByCallback() and use it to vastly simplify blink-test-led.js and led-pwm.js 2017-01-15 03:22:13 +01:00
László Monda
e87fbb3c11 Dashify filename to be consistent with the other scripts. 2017-01-15 02:24:53 +01:00
László Monda
d6d8144bc3 Use let instead of var. 2017-01-15 02:24:08 +01:00
László Monda
bdb9c85031 Expose uhk.sendUsbPacket() and vastly simplify {write,read}-eeprom.js by using it. Make led_pwm.js use uhk.js instead of the obsoleted util.js file. 2017-01-15 02:20:44 +01:00
László Monda
339602178a Rename util.js to uhk.js and refactor the dependent scripts to utilize its API. 2017-01-15 01:31:23 +01:00
László Monda
e83a7b8cf6 Add usbCommands. 2017-01-15 01:12:01 +01:00
László Monda
0e59a99e36 Ues ES6 features all across util.js 2017-01-15 01:03:29 +01:00
László Monda
199030effb Extract getUsbEndpoints() to util.js. Use ES6 features in led_pwm.js 2017-01-15 01:00:55 +01:00
László Monda
180d40a7a5 Add script. 2017-01-13 22:58:05 +01:00
László Monda
ffc820f47a Remove jumper scripts because no solder jumpers will be used. These settings will be stored in the EEPROM in accordance with #152. 2016-12-10 00:50:35 +01:00
József Farkas
090d6565ce Correct README.md of usb 2016-11-17 09:01:44 +01:00
László Monda
e294b259e2 Add jump to bootloader script. 2016-11-12 22:03:17 +01:00
Farkas József
30d8fbc91f Add README.md to usb demos 2016-11-12 21:21:41 +01:00
Farkas József
3b3c324c8e Fix more USB test scripts on Windows 2016-11-12 21:21:18 +01:00
Farkas József
055cba0575 Fix blink test led on Windows 2016-11-12 15:18:26 +01:00
László Monda
c1290d3686 Don't disable the LEDs of the LED display. 2016-10-21 02:41:33 +02:00
László Monda
f33f1d71ea Make texts less redundant. 2016-10-20 00:28:00 +02:00
László Monda
729d7b2297 Output text of whether the keyboard halves are merged or split. 2016-10-20 00:26:30 +02:00
László Monda
ee404fe09e Display text about the state of the LED jumper. 2016-10-20 00:20:54 +02:00
László Monda
f1525679ef Add script for detecting the state of the ISO jumper. 2016-10-20 00:18:37 +02:00
László Monda
e44d53f4f3 Add script to test the LED jumper. 2016-10-18 18:58:50 +02:00
László Monda
c59900f9b2 Add script to test the merge sensor. 2016-10-17 23:22:03 +02:00
László Monda
fec68d8931 Light up the SW11 LEDs of the left and right keyboard halves. 2016-10-17 02:55:49 +02:00
László Monda
272663b275 Add read-eeprom.js and write-eeprom.js 2016-10-12 12:51:50 +02:00
László Monda
a43d17f497 Extend the script to be able to send commands upon initialization. Enable the ghost image prevention bit which doesn't seem to fix the ghosting issue. 2016-10-10 01:30:44 +02:00
László Monda
ac5bab2ced Iterate over the alphabet and layer icons. 2016-09-29 02:33:49 +02:00
László Monda
dc4aa96482 Add letter definitions and letter drawing function. 2016-09-29 01:48:41 +02:00
László Monda
0fead7b556 Add new script that is partially working. 2016-09-27 17:11:42 +02:00
László Monda
67695151aa Add util.js featuring bufferToString() 2016-09-27 16:08:00 +02:00
László Monda
fcd1bc4f58 Update command id according to the changed firmware. 2016-09-27 00:13:03 +02:00
László Monda
07af142718 Transfer the actual payload to be sent. Read and display response. 2016-09-26 23:36:36 +02:00
László Monda
7bbf944ad8 Extract command id. 2016-09-26 02:40:09 +02:00
László Monda
aaebf0e051 Prefix the state of the LED with the ID of the LED test command. 2016-09-26 02:38:12 +02:00
László Monda
554a7b45f6 Send 0 and 1 instead of their ASCII counterparts. 2016-09-26 01:56:46 +02:00
László Monda
2b80d75211 Make the test LED actually blink. 2016-09-26 01:40:54 +02:00
László Monda
3719a6ece3 Add script. 2016-09-25 01:56:21 +02:00
László Monda
cb2b08f990 Make the uhkcmd script work and add a package.json for it. 2016-09-25 00:34:15 +02:00