Skip to content

Commit

Permalink
Added missing license header
Browse files Browse the repository at this point in the history
  • Loading branch information
yurii-litvinov committed Jul 11, 2014
1 parent b3d9105 commit 2467e50
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion trikControl/src/gamepad.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/* Copyright 2013 - 2014 Matvey Bryksin, Yurii Litvinov, CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. */

#include "gamepad.h"

#include <QtCore/QStringList>
Expand Down Expand Up @@ -38,7 +52,6 @@ bool Gamepad::isPadPressed(int pad)
int Gamepad::padX(int pad)
{
return (!mPads.contains(pad) || !mPads.value(pad).isPressed) ? -1 : mPads.value(pad).x;

}

int Gamepad::padY(int pad)
Expand Down
2 changes: 1 addition & 1 deletion trikServer/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright 2013 Yurii Litvinov
/* Copyright 2013 - 2014 CuberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 2467e50

Please sign in to comment.