The Pedigree Project  0.1
Public Attributes | List of all members
Input::InputNotification Struct Reference

#include <Input.h>

+ Collaboration diagram for Input::InputNotification:

Public Attributes

CallbackType type
 
union {
   struct {
      uint64_t   key
 
   }   key
 
   struct {
      ssize_t   relx
 
      ssize_t   rely
 
      ssize_t   relz
 
      bool   buttons [64]
 
   }   pointy
 
   struct {
      uint8_t   scancode
 
      bool   keyUp
 Whether this is a keyUp event or not.
 
   }   rawkey
 
data
 

Detailed Description

Structure containing notification to the remote application of input. Used to generalise input handling across the system for all types of devices.

Definition at line 40 of file Input.h.

Member Data Documentation

uint8_t Input::InputNotification::scancode

HID scancode for the key (most generic type of scancode, and easy to build translation tables for)

Definition at line 62 of file Input.h.


The documentation for this struct was generated from the following file: