Commit Graph

18 Commits

Author SHA1 Message Date
László Monda
ed0b51dbff Restore the original I2c{Read,Write}() implementations to make the communication between keyboard halves fully functional again. Fixes #8. 2016-12-09 22:24:15 +01:00
László Monda
6c6afd6395 Make comments more explicit. 2016-12-09 21:59:19 +01:00
László Monda
c47105afd3 Change I2cRead() and I2cWrite() to more closely resemble I2C_MasterReadBlocking() and I2C_MasterWriteBlocking() respectively. This way, we should be able to figure out the root cause of the communication error regarding the blink script more easily. 2016-12-09 21:44:03 +01:00
Robert Csordas
1d2f35dfe9 Fix i2c hangs when disconnecting the left half. 2016-11-13 18:35:22 +01:00
Robert Csordas
fc434c7857 Remove keyboard scanning from USB interrupt. Fix initial blink of LEDs when initializing. Coding style fixes. 2016-11-13 15:50:49 +01:00
László Monda
05359dc320 Add back the code of the old KeyMatrix functions via ifdefs. 2016-10-20 20:54:14 +02:00
László Monda
a08bdbf124 Reverse the diodes and optimize key scanning as much as possible. 2016-10-20 19:29:36 +02:00
László Monda
7a6e5523fb Make bidirectional communication work between the keyboard halves. Make the set test LED USB command set the test LED of the left half, too. 2016-10-19 19:39:00 +02:00
László Monda
9436be444c Implement read EEPROM and write EEPROM USB commands. 2016-10-12 12:51:22 +02:00
László Monda
d65e846502 Add lots of useful comments about I2C addresses. 2016-10-12 00:24:28 +02:00
László Monda
2dd260e84b Fix and use KeyMatrix_Scan() 2016-10-11 21:56:24 +02:00
László Monda
fbfb744fa4 Reduce the number of false positive keystroke registrations by setting output logic right... Hopefully. 2016-10-10 23:26:55 +02:00
László Monda
c8284fcd6f Add KeyMatrix_Scan() although don't use it yet. Send every detected scancode to the host of which there are false positives for some reason. 2016-10-10 22:39:22 +02:00
László Monda
5588aecb78 Extract KeyMatrix_Init() and create related typedefs. 2016-10-10 17:33:11 +02:00
László Monda
0550c19cf5 Delete board.[ch]. Add reset_button.h 2016-10-04 16:44:16 +02:00
László Monda
b519cd412d Implement the write LED driver protocol command. 2016-09-27 02:03:43 +02:00
László Monda
7b3178a10a Generalize LED driver functions by adding I2C address parameters. 2016-09-26 21:37:29 +02:00
László Monda
36bb5fabba Rename the toplevel include directory to shared. Add it to the project workspace. Include led_driver.h from main.c 2016-09-26 20:36:49 +02:00