EmbAJAX
Simplistic framework for creating and handling displays and controls on a web page served by an embeddable device (Arduino or other microcontroller with Arduino support).
Classes | Variables
EmbAJAXJoystick.h File Reference
#include "EmbAJAX.h"
Include dependency graph for EmbAJAXJoystick.h:

Go to the source code of this file.

Classes

class  EmbAJAXJoystick
 

Variables

const char EmbAJAXJoystick_SNAP_BACK [] = "if (!pressed) { x = 0; y = 0; }\n"
 
const char EmbAJAXJoystick_NO_SNAP_BACK [] = ""
 
const char EmbAJAXJoystick_FREE_POSITION [] = ""
 
const char EmbAJAXJoystick_POSITION_9_DIRECTIONS []
 

Variable Documentation

◆ EmbAJAXJoystick_FREE_POSITION

const char EmbAJAXJoystick_FREE_POSITION[] = ""

◆ EmbAJAXJoystick_NO_SNAP_BACK

const char EmbAJAXJoystick_NO_SNAP_BACK[] = ""

◆ EmbAJAXJoystick_POSITION_9_DIRECTIONS

const char EmbAJAXJoystick_POSITION_9_DIRECTIONS[]
Initial value:
= "if (pressed) {\n"
" if (x < -500) x = -1000;\n"
" else if (x > 500) x = 1000\n"
" else x = 0;\n"
"\n"
" if (y < -500) y = -1000;\n"
" else if (y > 500) y = 1000\n"
" else y = 0;\n"
"}\n"

◆ EmbAJAXJoystick_SNAP_BACK

const char EmbAJAXJoystick_SNAP_BACK[] = "if (!pressed) { x = 0; y = 0; }\n"

EmbAJAX - Simplistic framework for creating and handling displays and controls on a WebPage served by an Arduino (or other small device).

Copyright (C) 2018-2019 Thomas Friedrichsmeier

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.