Skip to content

Commit

Permalink
added 200Hz rate limit for PS/2
Browse files Browse the repository at this point in the history
  • Loading branch information
dekuNukem committed Apr 30, 2023
1 parent 3b944ff commit 5d1a74e
Show file tree
Hide file tree
Showing 15 changed files with 1,578 additions and 408 deletions.
30 changes: 15 additions & 15 deletions firmware/ibmpc/MDK-ARM/ibmpc.uvguix.allen

Large diffs are not rendered by default.

56 changes: 28 additions & 28 deletions firmware/ibmpc/MDK-ARM/ibmpc.uvoptx
Original file line number Diff line number Diff line change
Expand Up @@ -421,22 +421,14 @@
</File>
</Group>

<Group>
<GroupName>::CMSIS</GroupName>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>1</RteFlg>
</Group>

<Group>
<GroupName>Drivers/STM32F0xx_HAL_Driver</GroupName>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>18</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -448,7 +440,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>19</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -460,7 +452,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>20</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -472,7 +464,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>21</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -484,7 +476,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>22</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -496,7 +488,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>23</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -508,7 +500,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>24</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -520,7 +512,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>25</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -532,7 +524,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>26</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -544,7 +536,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>27</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -556,7 +548,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>28</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -568,7 +560,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>29</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -580,7 +572,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>30</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -592,7 +584,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>31</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -604,7 +596,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>32</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -616,7 +608,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>33</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -628,7 +620,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>34</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -640,7 +632,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>35</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -652,7 +644,7 @@
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<GroupNumber>3</GroupNumber>
<FileNumber>36</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -672,7 +664,7 @@
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
<File>
<GroupNumber>5</GroupNumber>
<GroupNumber>4</GroupNumber>
<FileNumber>37</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
Expand All @@ -685,4 +677,12 @@
</File>
</Group>

<Group>
<GroupName>::CMSIS</GroupName>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>1</RteFlg>
</Group>

</ProjectOpt>
6 changes: 3 additions & 3 deletions firmware/ibmpc/MDK-ARM/ibmpc.uvprojx
Original file line number Diff line number Diff line change
Expand Up @@ -474,9 +474,6 @@
</File>
</Files>
</Group>
<Group>
<GroupName>::CMSIS</GroupName>
</Group>
<Group>
<GroupName>Drivers/STM32F0xx_HAL_Driver</GroupName>
<Files>
Expand Down Expand Up @@ -587,6 +584,9 @@
</File>
</Files>
</Group>
<Group>
<GroupName>::CMSIS</GroupName>
</Group>
</Groups>
</Target>
</Targets>
Expand Down
Binary file modified firmware/ibmpc/MDK-ARM/ibmpc/ibmpc.axf
Binary file not shown.
17 changes: 13 additions & 4 deletions firmware/ibmpc/MDK-ARM/ibmpc/ibmpc.build_log.htm
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,25 @@ <h2>Tool Versions:</h2>

<h2>Project:</h2>
C:\Users\allen\Desktop\repos\USB4VC\firmware\ibmpc\MDK-ARM\ibmpc.uvprojx
Project File Date: 03/07/2023
Project File Date: 04/30/2023

<h2>Output:</h2>
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'ibmpc'
compiling ps2mouse.c...
compiling main.c...
../Src/main.c(556): warning: #188-D: enumerated type mixed with another type
HAL_GPIO_WritePin(GAMEPAD_B1_GPIO_Port, GAMEPAD_B1_Pin, !(this_gamepad_event->button_1));
../Src/main.c(557): warning: #188-D: enumerated type mixed with another type
HAL_GPIO_WritePin(GAMEPAD_B2_GPIO_Port, GAMEPAD_B2_Pin, !(this_gamepad_event->button_2));
../Src/main.c(558): warning: #188-D: enumerated type mixed with another type
HAL_GPIO_WritePin(GAMEPAD_B3_GPIO_Port, GAMEPAD_B3_Pin, !(this_gamepad_event->button_3));
../Src/main.c(559): warning: #188-D: enumerated type mixed with another type
HAL_GPIO_WritePin(GAMEPAD_B4_GPIO_Port, GAMEPAD_B4_Pin, !(this_gamepad_event->button_4));
../Src/main.c: 4 warnings, 0 errors
linking...
Program Size: Code=17252 RO-data=768 RW-data=140 ZI-data=2340
Program Size: Code=17284 RO-data=768 RW-data=144 ZI-data=2344
FromELF: creating hex file...
"ibmpc\ibmpc.axf" - 0 Error(s), 0 Warning(s).
"ibmpc\ibmpc.axf" - 0 Error(s), 4 Warning(s).

<h2>Software Packages used:</h2>

Expand Down
Loading

0 comments on commit 5d1a74e

Please sign in to comment.