Commit Graph

166 Commits

Author SHA1 Message Date
László Monda
f4f7fd72d9 Move the lufa directory one level upwards. 2016-10-04 17:29:06 +02:00
László Monda
db8f1ff691 Rename include/usb to ksdk_usb. 2016-10-04 17:12:34 +02:00
László Monda
5f1c85147b Remove pin_mux.[ch], add init_peripherials.[ch], add reset_button.h which I forgot to add previously. 2016-10-04 17:02:46 +02:00
László Monda
0550c19cf5 Delete board.[ch]. Add reset_button.h 2016-10-04 16:44:16 +02:00
László Monda
9172493642 Rename TEST_RED_* to TEST_LED_* 2016-10-04 16:21:19 +02:00
László Monda
e2944663bf Scan the keyboard matrix and output scan codes over USB accordingly. 2016-10-03 23:34:38 +02:00
László Monda
2ed34073fc Add rows and columns for the right keyboard matrix. 2016-10-03 23:03:36 +02:00
László Monda
ab22637f1e Key scanning fixed by @santiagogf89 2016-10-01 02:32:25 +02:00
László Monda
f92cf981dc Trying to scan SW11 of the keyboard matrix. 2016-10-01 01:06:14 +02:00
László Monda
77f41c1655 Make WriteLedDriver() only send the payload to the target LED driver. 2016-09-27 22:55:01 +02:00
László Monda
b519cd412d Implement the write LED driver protocol command. 2016-09-27 02:03:43 +02:00
László Monda
7855fa3f87 Add system properties. 2016-09-27 01:42:28 +02:00
László Monda
13a71ea826 Extract dedicated protocol handler functions per command. 2016-09-27 00:11:26 +02:00
László Monda
9e29018ff7 Move the USB protocol handler into its own file. 2016-09-26 23:49:50 +02:00
László Monda
d2b810a3cf Explode GenericHidBuffer[2] as GenericHidInBuffer and GenericHidOutBuffer. 2016-09-26 23:32:13 +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
7b1f6a37ff Add LED driver related macros instead of using magic numbers. 2016-09-26 21:19:35 +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
László Monda
2dd9aa87b0 Name a couple of I2C related variables more intuitively. 2016-09-26 20:33:03 +02:00
László Monda
b280fde8a5 Extract LED driver related functions to led_driver.[ch] 2016-09-26 20:28:12 +02:00
László Monda
9e3d512e89 Put the files that contain the usb descriptors into the newly created usb_descriptors directory. 2016-09-26 18:54:16 +02:00
László Monda
77f956d5bb Put usb_device_{dci,khci}.[ch] directly under the newly created usb virtual folder. 2016-09-26 18:46:37 +02:00
László Monda
8a396446a6 Unlink even more USB related redundant files. 2016-09-26 08:57:48 +02:00
László Monda
6e400246ad Unlink redundant USB related files. 2016-09-26 08:55:40 +02:00
László Monda
11401a6448 Make less use of linked files and folders for better long-term maintainability by moving the source files under the newly created src directory and only linking that directory to the workspace. 2016-09-26 08:45:59 +02:00
László Monda
3f7c911f33 Arrange project files into groups. 2016-09-26 07:34:14 +02:00
László Monda
42c40a6cbc Remove unused dependencies from CMakeLists.txt 2016-09-26 07:28:47 +02:00
László Monda
a72d66b0ec Unlink file: fsl_smc.h 2016-09-26 07:22:30 +02:00
László Monda
94958f5095 Remove redundant linked file: fsl_port.h 2016-09-26 07:21:23 +02:00
László Monda
0f3382c7e0 Remove additional linked files. This time for UART. 2016-09-26 07:17:43 +02:00
László Monda
251d27b15d Remove unused linked files. 2016-09-26 07:16:33 +02:00
László Monda
390197e59c Branch on a per command basis based on the first byte of the USB payload. 2016-09-26 02:37:31 +02:00
László Monda
5d21312a0c Don't initialize OpenSDA because it's not used anymore. 2016-09-26 02:05:06 +02:00
László Monda
7f002cf2b4 Interpret 0 and 1 instead of their ASCII counterparts. 2016-09-26 01:55:58 +02:00
László Monda
962d65589c Extract test LED macros to test_led.h 2016-09-26 01:20:36 +02:00
László Monda
c1c6301ce3 Remove unused code, mostly board macros and BOARD_InitDebugConsole() 2016-09-26 01:00:14 +02:00
László Monda
d055e0411f Expose the test LED via generic HID. Update USB VID and PID. Remove the macros of green and blue LEDs. 2016-09-25 01:49:27 +02:00
László Monda
124c88afed Update USB manufacturer name, product name, and VID. 2016-09-24 23:16:13 +02:00
László Monda
be8d1dc44d Make the LED driver power every LED at full blast. 2016-09-24 16:52:04 +02:00
László Monda
a798e61e74 Remove unused VLPR and HSRUN code. 2016-09-22 22:46:45 +02:00
László Monda
64b58f06f5 KDS has made some changes to this file which don't seem to have any effect. 2016-09-22 22:37:16 +02:00
László Monda
0fdf4fd411 Don't move the mouse leftwards until I2C communication is properly implemented for the UHK PCBs. 2016-09-22 22:35:36 +02:00
László Monda
48aa999e08 Convert Windows line ends to Unix line ends. 2016-09-22 22:30:29 +02:00
László Monda
0df5cd596e Make the firmware of the right keyboard half work on the UHK PCB by using the IRC48MCLK of the K22. This fix was implemented by Santiago. 2016-09-21 02:30:33 +02:00
László Monda
ab3c95d4ad Clean up code. 2016-03-16 01:37:56 +01:00
László Monda
4dfd710a65 Add module name. 2016-03-15 18:14:43 +01:00
László Monda
9c9b7bbed1 Request individual layers, not the whole keymap at once. 2016-03-15 18:11:23 +01:00
László Monda
ab5bd90f56 Request pointer info, which includes pointer roles and speed related fields. 2016-03-15 18:04:23 +01:00
László Monda
eeb807d8ea Add pointer_t 2016-03-15 17:56:22 +01:00
László Monda
1b8e535e73 Add additional module requests and remove module statuses that won't be used. 2016-03-15 12:30:34 +01:00