Skip to content

Commit

Permalink
getting rid of zeromemory
Browse files Browse the repository at this point in the history
kinda redudant since its reset at start so
  • Loading branch information
zappybiby committed Feb 10, 2017
1 parent b8746df commit efcd613
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
Binary file modified ets2_auto_driving.sdf
Binary file not shown.
3 changes: 0 additions & 3 deletions ets2_auto_driving.sln
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,4 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(Performance) = preSolution
HasPerformanceSessions = true
EndGlobalSection
EndGlobal
Binary file modified ets2_auto_driving.v12.suo
Binary file not shown.
2 changes: 0 additions & 2 deletions ets2_auto_driving/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ int main() {
cout << "go left ";

INPUT input[2];
::ZeroMemory(input, sizeof(input));
input[0].type = INPUT_KEYBOARD;
// Translating 'A' to Scan Code, then pressing down
input[0].ki.wScan = MapVirtualKey(0x41, MAPVK_VK_TO_VSC);
Expand Down Expand Up @@ -176,7 +175,6 @@ int main() {
cout << "go right ";
{
INPUT input[2];
::ZeroMemory(input, sizeof(input));
input[0].type = INPUT_KEYBOARD;
// Translating 'D' to Scan Code, then pressing down
input[0].ki.wScan = MapVirtualKey(0x44, MAPVK_VK_TO_VSC);
Expand Down
Binary file modified ets2_auto_driving/vc120.pdb
Binary file not shown.

0 comments on commit efcd613

Please sign in to comment.