picofuse-objc

Classes | Enumerations
NXInputEvent.h File Reference

Defines NXInputEvent, and NXKeyEvent, NXMoveEvent and NXSensorEvent, what an input, such as a keyboard, a mouse, a touchscreen or a sensor, sends its target. More...

#include <Foundation/Foundation.h>
#include <picofuse/hid/keycode.h>
Include dependency graph for NXInputEvent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NXInputEvent
 What an input sends its target, which is an NXKeyEvent, an NXMoveEvent or an NXSensorEvent: one method can take any of them, and check which it is with -kind. More...
 
class  NXKeyEvent
 A key pressed, held so it repeats, or released. More...
 
class  NXMoveEvent
 A mouse button or a finger pressed, moved while it's pressed, or released, or a mouse's pointer moved with nothing pressed, which a touchscreen doesn't send. More...
 
class  NXSensorEvent
 A sensor's reading of one quantity, such as a temperature, which it sends each time it's read. More...
 

Enumerations

enum  NXKeyModifiers {
  NXKeyModifierNone = 0, NXKeyModifierShift = (1 << 0), NXKeyModifierControl = (1 << 1), NXKeyModifierAlt = (1 << 2),
  NXKeyModifierMeta = (1 << 3), NXKeyModifierCapsLock = (1 << 4)
}
 The modifier keys held, and Caps Lock, of a key event, which can be combined. More...
 
enum  NXMovePhase { NXMovePhaseBegan = 0, NXMovePhaseMoved, NXMovePhaseEnded, NXMovePhaseHover }
 How a move went: a mouse button or a finger pressed, moved while it's pressed, or released, or a mouse's pointer moved with nothing pressed. More...
 
enum  NXInputEventKind { NXInputEventKindKey = 0, NXInputEventKindMove, NXInputEventKindSensor }
 What kind an input event is, and so which class. More...
 

Detailed Description

Defines NXInputEvent, and NXKeyEvent, NXMoveEvent and NXSensorEvent, what an input, such as a keyboard, a mouse, a touchscreen or a sensor, sends its target.

Definition in file NXInputEvent.h.