Kōtuku
  • Gallery
  • API
  • Wiki
  • GitHub
    •  Overview
    • Audio
    • Config
    • Core
    • Display
    • Document
    • Font
    • HTTP
    • Network
    • Regex
    • SVG
    • Tiri
    • Vector
    • XML
    • XQuery
    • XRandR
      • Audio
      • MP3
      • Sound
      • File
      • MetaClass
      • Module
      • StorageDevice
      • Task
      • Thread
      • Time
      • Compression
      • CompressedStream
      • Config
      • LZMAStream
      • Script
      • Tiri
      • XML
      • XQuery
      • Controller
      • BlurFX
      • ColourFX
      • CompositeFX
      • ConvolveFX
      • DisplacementFX
      • FilterEffect
      • FloodFX
      • ImageFX
      • LightingFX
      • MergeFX
      • MorphologyFX
      • OffsetFX
      • RemapFX
      • SourceFX
      • TurbulenceFX
      • WaveFunctionFX
      • Scintilla
      • Bitmap
      • Clipboard
      • Display
      • Document
      • Font
      • Image
      • Pointer
      • Surface
      • SVG
      • ClientSocket
      • HTTP
      • NetClient
      • NetLookup
      • NetServer
      • NetSocket
      • Proxy
      • Gradient
      • GradientConic
      • GradientContour
      • GradientDiamond
      • GradientDiffusion
      • GradientDistal
      • GradientGouraud
      • GradientLinear
      • GradientMesh
      • GradientRadial
      • GradientVoronoi
      • Vector
      • VectorClip
      • VectorColour
      • VectorEllipse
      • VectorFilter
      • VectorGradient
      • VectorGroup
      • VectorImage
      • VectorPath
      • VectorPattern
      • VectorPolygon
      • VectorRectangle
      • VectorScene
      • VectorShape
      • VectorSpiral
      • VectorText
      • VectorTransition
      • VectorViewport
      • VectorWave
      • Linux Builds
      • Windows Builds
      • Customising Your Build
      • Kōtuku Objects
      • Kōtuku In Depth
      • Kōtuku Design Patterns
      • Coding With AI
      • Regex Manual
      • XML Comparisons
      • Tiri Reference Manual
      • Config API
      • Defer Syntax
      • GUI API
      • HTTP Server API
      • I/O API
      • JSON API
      • OAuth API
      • Options API
      • Proxy Server API
      • Tempus API
      • URL API
      • VFX API
      • Widgets
      • RIPL Reference Manual
      • Origo
      • Flute / Unit Testing
      • Tuku
      • Embedded Document Format
      • TDL Reference Manual
      • TDL Tools
      • Action Reference Manual
      • System Error Codes

Document Module

Functions

Structures

DateTime | InputEvent | dcAudio | dcDeviceInput | dcKeyEntry | dcRequest

Classes

Document

Constants

AC | CCF | CLIPMODE | DATA | DCF | DEF | DEVICE | DRT | EVG | FD | FSO | JET | JTYPE | KQ | MEM | PERMIT | RIPL | SEEK | TT

AC Type

Action identifiers.

NameDescription
AC::Activate
AC::Clear
AC::Clipboard
AC::CopyData
AC::DataFeed
AC::Deactivate
AC::Disable
AC::DragDrop
AC::Draw
AC::END
AC::Enable
AC::Flush
AC::Focus
AC::Free
AC::FreePlacement
AC::FreeWarning
AC::GetKey
AC::Hide
AC::Init
AC::Lock
AC::LostFocus
AC::Move
AC::MoveToBack
AC::MoveToFront
AC::MoveToPoint
AC::NewChild
AC::NewObject
AC::NewOwner
AC::NewPlacement
AC::Next
AC::Prev
AC::Query
AC::Read
AC::Redimension
AC::Redo
AC::Refresh
AC::Rename
AC::Reset
AC::Resize
AC::SaveImage
AC::SaveSettings
AC::SaveToObject
AC::Seek
AC::SetField
AC::SetKey
AC::Show
AC::Signal
AC::Undo
AC::Unlock
AC::Write
Document module documentation © Paul Manias © 2005-2026

CCF Type

Class categories

NameDescription
CCF::AUDIOAudio classes interface with audio hardware and drivers for audio playback and recording purposes.
CCF::COMMANDCommand classes perform specific procedures, like copying or moving a file, managing volumes or executing a program.
CCF::DATAData classes parse, query and manipulate data.
CCF::FILESYSTEMFileSystem classes are based on file management and interaction with file based data.
CCF::GRAPHICSGraphics classes provide graphics management and drawing services.
CCF::GUIGUI classes are used in the development of graphical user interfaces.
CCF::IOI/O classes manage hardware and software based input and output.
CCF::MISCMiscellaneous classes do not fit into any of the other available categories.
CCF::MULTIMEDIAClasses that represent more than one media type, e.g. video files.
CCF::NETWORKNetwork classes interface with system drivers to simplify network communications.
CCF::SYSTEMSystem classes are designed to provide low-level services related to system management.
CCF::TOOLTools provide interactive services for the user.
Document module documentation © Paul Manias © 2005-2026

CLIPMODE Type

Clipboard modes

NameDescription
CLIPMODE::COPYCopy from the clipboard.
CLIPMODE::CUTCut from the clipboard.
CLIPMODE::PASTEPaste from the clipboard.
Document module documentation © Paul Manias © 2005-2026

DATA Type

Data codes

NameDescription
DATA::AUDIOAudio file data, recognised by the Sound class
DATA::CONTENTDocument content (between XML tags) - sent by document objects only
DATA::DEVICE_INPUTDevice activity
DATA::FILEFile location (the data will reflect the complete file path)
DATA::IMAGEImage file data, recognised by the Image class
DATA::INPUT_READYDevice input that has been transformed into user input
DATA::RAWRaw unprocessed data
DATA::RECEIPTReceipt for item data, in response to an earlier request
DATA::RECORDDatabase record
DATA::REQUESTMake a request for item data
DATA::TEXTStandard ASCII text
DATA::XMLMarkup based text data. NOTE - For clipboard data, the top-level encapsulating tag must declare the type of XML, e.g. 'html', 'ripple'. For plain XML, use 'xml'
Document module documentation © Paul Manias © 2005-2026

DCF Type

Document flags

NameDescription
DCF::DISABLEDThis read-only flag is set if the UI has been disabled through the Disable action.
DCF::EDITAllow direct keyboard input and document editing.
DCF::NO_LAYOUT_MSGTurn off debug output produced during document layout and processing - useful on refresh for example.
DCF::NO_SYS_KEYSSystem-keys provide standard key support for Ctrl-C, Ctrl-X etc. Set this flag to turn them off.
DCF::OVERWRITEThis flag forces overwrite mode when the user enters information through the keyboard. If the flag is not set, then insert mode is used.
DCF::UNRESTRICTEDTurn off all security measures - may only be set prior to initialisation.
Document module documentation © Paul Manias © 2005-2026

DEF Type

Event flags for selectively receiving events from the Document object.

NameDescription
DEF::LINK_ACTIVATEDThe user has interacted with a hyperlink. This event can be cancelled by returning ERR::Skip.
DEF::ON_CLICKThe user has interacted with an element that has an on-click definition.
DEF::ON_CROSSINGSynonym for ON_CROSSING_IN | ON_CROSSING_OUT
DEF::ON_CROSSING_INThe mouse pointer has crossed into an element.
DEF::ON_CROSSING_OUTThe mouse pointer has crossed out of an element.
DEF::ON_MOTIONThe user has triggered a motion event in an element that supports motion monitoring.
DEF::PATHThe source file path has changed. Useful for detecting when the user has left the page.
DEF::WIDGET_STATEThe state value of a widget has changed (e.g. input, checkbox, text). name and value keys will be defined in the event parameters.
Document module documentation © Paul Manias © 2005-2026

DEVICE Type

NameDescription
DEVICE::BOOKMARKThis marker indicates that the presented volume is a bookmark and not a device name.
DEVICE::COMPACT_DISCCompact disc style device
DEVICE::FIXEDCatch-all for fixed media devices that are not directly identifiable.
DEVICE::FLOPPY_DISKFloppy disk style device
DEVICE::HARD_DISKHard disk style device
DEVICE::MEMORYDevice is RAM, ROM, WORM, NVRAM, flashdisk or other form of memory. Does not guarantee a fast connection as it could be over a slow USB 1.1 connection for example
DEVICE::MODEMDevice is a modem.
DEVICE::NETWORKDevice represents a network link
DEVICE::PRINTERDevice is a paper-based printer.
DEVICE::PRINTER_3DDevice is a three dimensional printer.
DEVICE::READDevice is readable
DEVICE::REMOVABLEDevice media is removable from the hardware
DEVICE::REMOVEABLEDevice media is removable from the hardware
DEVICE::SCANNERDevice is a two dimensional scanner.
DEVICE::SCANNER_3DDevice is a three dimensional scanner.
DEVICE::SOFTWAREDevice is virtual/software defined
DEVICE::TAPETape/Stream style device
DEVICE::TEMPORARYAll storage is temporary
DEVICE::USBRemovable USB storage device. May be further qualified by HARD_DISK, FLOPPY_DISK etc
DEVICE::WRITEDevice is writeable
Document module documentation © Paul Manias © 2005-2026

DRT Type

Internal trigger codes

NameDescription
DRT::AFTER_LAYOUT
DRT::BEFORE_LAYOUT
DRT::END
DRT::GOT_FOCUS
DRT::LEAVING_PAGE
DRT::LOST_FOCUS
DRT::PAGE_PROCESSED
DRT::REFRESH
DRT::USER_CLICK
DRT::USER_CLICK_RELEASE
DRT::USER_MOVEMENT
Document module documentation © Paul Manias © 2005-2026

EVG Type

Event categories.

NameDescription
EVG::ANDROIDAndroid specific events that do not already fit existing categories.
EVG::APPCustom event dispatched from an application
EVG::AUDIOAudio system events.
EVG::CLASSCustom event dispatched from a class that doesn't fit within the rest of the event framework
EVG::DISPLAYVideo display events.
EVG::FILESYSTEMFile system events.
EVG::GUIEvents generated by the Graphical User Interface.
EVG::HARDWAREHardware device events that are not covered by other types.
EVG::IOInput/Output events.
EVG::NETWORKNetwork events.
EVG::POWERPower Management - can also include app-specific events relating to resource management.
EVG::SYSTEMSystem-wide events
EVG::USERUser activity events (such as user login).
Document module documentation © Paul Manias © 2005-2026

FD Type

Field descriptors.

NameDescription
FD::ALLOCIndicates the returned value is a dynamic allocation that needs to be manually freed (by default is a memory pointer, can be an object if combined with FD_OBJECT)
FD::ARRAYIndicates an array of values. Function descriptors must combine this flag with CPP to represent a kt::vector; raw pointer arrays are unsupported for calls.
FD::BUFFERFUNCDEF Overrides WRITE. Indicates a buffer that can be filled with data by the function if paired with RESULT; must be paired with BUFSIZE in second argument.
FD::BUFSIZEFUNCDEF Overrides LOOKUP. Pair with BUFFER to indicate the byte size of the buffer memory.
FD::BYTE8 bit integer.
FD::CLASS_TYPESAll types that directly contribute to the core definition of a C/C++ type
FD::CPPUse the C++ variant of the indicated type, e.g. ARRAY is a kt::vector.
FD::CUSTOM
FD::DOUBLE64 bit float.
FD::DOUBLERESULTFor actions and methods
FD::ERRORFUNCDEF
FD::FLAGSCLASSDEF
FD::FLOAT32 bit float. Not valid for use in class definitions.
FD::FUNCTIONIntended for callbacks, uses the rkFunction structure.
FD::FUNCTIONPTRSynonym for PTR | FUNCTION
FD::ISynonym for INIT
FD::INITCLASSDEF
FD::INT32 bit integer.
FD::INT6464 bit integer.
FD::INT64RESULTFor actions and methods
FD::INTRESULTFor actions and methods
FD::LOCALCLASSDEF Pointer to an object that is local to the class
FD::LOOKUPCLASSDEF
FD::MUTABLEFUNCDEF Overrides VIRTUAL. The function will overwrite incoming BUFFER or STRING content. If used in conjunction with the RESULT flag, an empty buffer is expected for output.
FD::NORMALISEDSupplementary, indicates a normalised float value for multiplicative scaling.
FD::OBJECTSupplementary, can be used with ints (for IDs) or pointers
FD::OBJECTIDSynonym for INT | OBJECT
FD::OBJECTPTRSynonym for PTR | OBJECT
FD::POINTERPointer (32 or 64 bit).
FD::PRIVATESynonym for SYSTEM
FD::PTRSynonym for POINTER
FD::PTRBUFFERThe next argument should be INT|BUFSIZE
FD::PTRRESULTUse for pointer-based value results only
FD::PTRSIZESynonym for BUFSIZE
FD::PTR_DOUBLERESULTUse for pointer-based value results only.
FD::PTR_INT64RESULTUse for pointer-based value results only.
FD::PTR_INTRESULTUse for pointer-based value results only.
FD::PURESupplementary, indicates that the Getter function for a field is non-mutating and context free (inc. non-logging).
FD::RSynonym for READ
FD::READCLASSDEF
FD::RESOURCEThe referenced struct or pointer is a special resource. Changes some behaviours, e.g. a resourced struct will use direct value references rather than being copied in Tiri.
FD::RESULTFUNCDEF Overrides READ
FD::RISynonym for READ | INIT
FD::RWSynonym for READ | WRITE
FD::SCALEDSynonym for NORMALISED
FD::STRSynonym for STRING
FD::STRINGPointer to a string.
FD::STRRESULTSynonym for STR | RESULT
FD::STRUCTSupplementary, defines the field as a structure reference. MUST be combined with FD_POINTER. If used in a class, it is possible to name the structure definition in field->Arg
FD::SYNONYMCLASSDEF Use to declare fields that duplicate the functionality of another field.
FD::SYSTEMCLASSDEF System, internal and private fields.
FD::TAGSFUNCDEF Overrides INIT
FD::UNITA value that describes a display unit.
FD::UNSIGNEDSupplementary, integer value is unsigned.
FD::VARTAGSFUNCDEF Overrides FLAGS. Use for 64-bit taglists that require value definitions, e.g. TDOUBLE, TINT etc.
FD::VIRTUALCLASSDEF Ensures that the field has no physical representation in the structure.
FD::VOID
FD::WSynonym for WRITE
FD::WORD16 bit integer.
FD::WRITECLASSDEF
Document module documentation © Paul Manias © 2005-2026

FSO Type

These are document style flags, as used in the DocStyle structure

NameDescription
FSO::ALIGN_CENTERAlign to the centre.
FSO::ALIGN_RIGHTAlign to the right.
FSO::NO_WRAPDo not wrap the text.
FSO::PREFORMATAll white-space is taken into account.
FSO::STYLESSynonym for UNDERLINE
FSO::UNDERLINEDraw a line under the text.
Document module documentation © Paul Manias © 2005-2026

JET Type

JET constants are documented in GetInputEvent()

NameDescription
JET::ABS_XYThe X, Y values are defined as absolute coordinates, relative to the top-left of the display.
JET::BUTTON_1Left mouse button; XBox A button, PS square button. Value is pressure sensitive, ranging between 0 - 1.0 (0 is released, 1.0 is fully depressed).
JET::BUTTON_10Non-specific button assignment.
JET::BUTTON_2Right mouse button; XBox X button, PS cross button.
JET::BUTTON_3Middle mouse button; XBox Y button, PS triangle.
JET::BUTTON_4Alt. mouse button 1; XBox B button, PS circle.
JET::BUTTON_5Alt. mouse button 2.
JET::BUTTON_6Non-specific button assignment.
JET::BUTTON_7Non-specific button assignment.
JET::BUTTON_8Non-specific button assignment.
JET::BUTTON_9Non-specific button assignment.
JET::CROSSED_INThis message is sent by the input system when the mouse pointer enters an area for the first time. The message value refers to the object ID of the container being monitored for movement.
JET::CROSSED_OUTThis message is sent by the input system when the mouse pointer leaves an area. The message value refers to the object ID of the container being monitored for movement.
JET::DEVICE_TILT_XYController tilted on the X/Y axis. Value indicates angle, -ve = left, +ve = right
JET::DEVICE_TILT_ZController is rising or falling. Value expressed as 'speed',
JET::DISPLAY_EDGERecently supplied input occurred at the edge of the display.
JET::PEN_TILT_XYPen tilt angle. 0 is pointing down directly with nib at bottom, 0.5 is 90 degrees, 1.0 is inversed (eraser at bottom)
JET::PRESSUREAmount of pressure applied, ranges from 0 (none) to 1.0 (normal) and possibly higher if user presses hard enough
JET::WHEELMouse wheel rotation - the value generally reflects the number of 'clicks' rotated on the wheel.
JET::WHEEL_TILTSome mouse wheels can be tilted to the left or right. Ranges from -1.0 to +1.0
Document module documentation © Paul Manias © 2005-2026

JTYPE Type

JTYPE flags are used to categorise input types.

NameDescription
JTYPE::ANALOGAnalog movement (ranging from -1.0 to 1.0)
JTYPE::ANCHOREDCursor has been anchored with LockCursor()
JTYPE::BUTTONInput is a physical button or switch
JTYPE::CROSSINGCrossing events manage the entering and leaving of an area.
JTYPE::DBL_CLICKSet by the input system if the Type is a button and the button has been clicked in quick succession so as to be classed as a double-click.
JTYPE::DIGITALD-Pad or digital joystick source (restricted to +/- 1)
JTYPE::DRAGGEDSet if sufficient movement occurred between the original click and its point of release (usually requires a 3 or more pixel difference).
JTYPE::DRAG_ITEMThis special flag is set by the input system if the pointer is click-dragging an object at the time of the event.
JTYPE::EXT_MOVEMENTExtended or indirect movement information. This covers all types of movement that are unconnected to coordinate positioning - mouse wheel movement and pen tilt are two such examples.
JTYPE::MOVEMENTX/Y coordinate movement only. Movement such as the wheel mouse spinning is not covered by this type as it does not influence the coordinate system.
JTYPE::REPEATEDInput is a repeated entry (i.e. user is holding down a button and a repetition timer is being triggered)
JTYPE::SECONDARYIndicates to the receiver of this message that it is not the primary/original recipient
Document module documentation © Paul Manias © 2005-2026

KQ Type

Special qualifier flags

NameDescription
KQ::ALTSynonym for L_ALT | R_ALT
KQ::ALTGRSynonym for R_ALT
KQ::CAPS_LOCKCaps-Lock is on
KQ::COMMANDSynonym for L_COMMAND | R_COMMAND
KQ::CONTROLSynonym for L_CONTROL | R_CONTROL
KQ::CTRLSynonym for L_CONTROL | R_CONTROL
KQ::DEAD_KEYThis key will be affected by a previously pressed dead-key
KQ::INFOSynonym for REPEAT | RELEASED | PRESSED | NOT_PRINTABLE | CAPS_LOCK
KQ::INSTRUCTION_KEYSSynonym for ALT | CONTROL
KQ::L_ALTLeft Alt is held
KQ::L_COMMANDLeft Logo/Special
KQ::L_CONTROLControl Key is held
KQ::L_CTRLControl Key is held
KQ::L_SHIFTLeft Shift is held
KQ::NOT_PRINTABLEThe represented key value is not printable
KQ::NUM_LOCKNumLock is on
KQ::NUM_PADIdentifies numeric keypad keys
KQ::PRESSEDKey is being held or tapped
KQ::QUALIFIERSSynonym for SHIFT | COMMAND | ALT | CONTROL
KQ::RELEASEDThe key is being released
KQ::REPEATThis is a repeated key
KQ::R_ALTRight Alt is held
KQ::R_COMMANDRight Logo/Special
KQ::R_CONTROLControl Key is held
KQ::R_CTRLControl Key is held
KQ::R_SHIFTRight Shift is held
KQ::SCR_LOCKScroll Lock is on
KQ::SHIFTSynonym for L_SHIFT | R_SHIFT
Document module documentation © Paul Manias © 2005-2026

MEM Type

Memory types used by AllocMemory(). The lower 16 bits are stored with allocated blocks, the upper 16 bits are function-relative only.

NameDescription
MEM::AUDIOIdentifies memory located on an audio device, such as a sound card.
MEM::CODEUsed for memory that can execute code.
MEM::DATAThe default type, DATA, is used to indicate a standard memory allocation from system RAM.
MEM::NO_CLEARDo not clear the memory on allocation (saves time).
MEM::READThe memory is explicitly marked as readable.
MEM::READ_WRITESynonym for READ | WRITE
MEM::STRINGIdentifies the memory content as a null terminated string, which aids diagnostics.
MEM::TEXTUREIdentifies non-displayable video memory, e.g. texture graphics.
MEM::UNTRACKEDPrevents the memory block from being tracked back to the current context.
MEM::VIDEOIdentifies video memory, such as the frame buffer.
MEM::WRITEThe memory is explicitly marked as writeable.
Document module documentation © Paul Manias © 2005-2026

PERMIT Type

Permission flags

NameDescription
PERMIT::ALL_DELETESynonym for EVERYONE_DELETE
PERMIT::ALL_EXECSynonym for EVERYONE_EXEC
PERMIT::ALL_READSynonym for EVERYONE_READ
PERMIT::ALL_WRITESynonym for EVERYONE_WRITE
PERMIT::ARCHIVEMarks the file for future backup. The flag should be cleared after the backup has succeeded.
PERMIT::DELETEOwner can delete. If the file system does not support this, deletion is enabled via the WRITE flag.
PERMIT::EVERYONE_ACCESSSynonym for EVERYONE_READ | EVERYONE_WRITE | EVERYONE_EXEC | EVERYONE_DELETE
PERMIT::EVERYONE_DELETESynonym for DELETE | GROUP_DELETE | OTHERS_DELETE
PERMIT::EVERYONE_EXECSynonym for EXEC | GROUP_EXEC | OTHERS_EXEC
PERMIT::EVERYONE_READSynonym for READ | GROUP_READ | OTHERS_READ
PERMIT::EVERYONE_READWRITESynonym for EVERYONE_READ | EVERYONE_WRITE
PERMIT::EVERYONE_WRITESynonym for WRITE | GROUP_WRITE | OTHERS_WRITE
PERMIT::EXECUser/Owner can execute.
PERMIT::GROUPSynonym for GROUP_READ | GROUP_WRITE | GROUP_EXEC | GROUP_DELETE
PERMIT::GROUPIDAllows executables to run with a set group id.
PERMIT::GROUP_DELETEGroup members can delete.
PERMIT::GROUP_EXECGroup members can execute.
PERMIT::GROUP_READGroup members can read.
PERMIT::GROUP_WRITEGroup members can write.
PERMIT::HIDDENRecommends that the file is hidden from view by default.
PERMIT::INHERITInherit permissions from parent folder and logical OR them with preset permission flags.
PERMIT::METASynonym for HIDDEN | PASSWORD | OFFLINE | NETWORK
PERMIT::NETWORKFile is hosted on another machine.
PERMIT::OFFLINEFile content for this networked file has not been cached on the local PC.
PERMIT::OTHERSSynonym for OTHERS_READ | OTHERS_WRITE | OTHERS_EXEC | OTHERS_DELETE
PERMIT::OTHERS_DELETEOthers can delete.
PERMIT::OTHERS_EXECOthers can execute.
PERMIT::OTHERS_READOthers can read.
PERMIT::OTHERS_WRITEOthers can write.
PERMIT::PASSWORDFile is password protected.
PERMIT::READUser/Owner has read access. This will not allow compiled code to be executed.
PERMIT::USERSynonym for READ | WRITE | EXEC | DELETE
PERMIT::USERIDAllows executables to run with a set user id.
PERMIT::USER_EXECSynonym for EXEC
PERMIT::USER_READSynonym for READ
PERMIT::USER_WRITESynonym for WRITE
PERMIT::WRITEUser/Owner can write.
Document module documentation © Paul Manias © 2005-2026

RIPL Type

Official version number (date format). Any changes to the handling of document content require that this number be updated.

NameDescription
RIPL::VERSION
Document module documentation © Paul Manias © 2005-2026

SEEK Type

Seek positions

NameDescription
SEEK::CURRENTUse an index at the end of the last read/write operation.
SEEK::ENDUse an index at the end of the data buffer.
SEEK::RELATIVEThe index is between 0 and 1.0 and relative to the data size.
SEEK::STARTUse an index at position zero.
Document module documentation © Paul Manias © 2005-2026

TT Type

NameDescription
TT::EDIT
TT::LINK
TT::VECTOR
Document module documentation © Paul Manias © 2005-2026

DateTime Structure

Generic structure for date-time management.

FieldTypeDescription
YearINT16Year
MonthINT8Month 1 to 12
DayINT8Day 1 to 31
HourINT8Hour 0 to 23
MinuteINT8Minute 0 to 59
SecondINT8Second 0 to 59
TimeZoneINT8TimeZone -13 to +13
Document module documentation © Paul Manias © 2005-2026

InputEvent Structure

FieldTypeDescription
Nextconst struct InputEvent *Next event in the chain
ValueDOUBLEThe value associated with the Type
TimestampINT64PreciseTime() of the recorded input
RecipientIDOBJECTIDSurface that the input message is being conveyed to
OverIDOBJECTIDSurface that is directly under the mouse pointer at the time of the event
AbsXDOUBLEAbsolute horizontal position of mouse cursor (relative to the top left of the display)
AbsYDOUBLEAbsolute vertical position of mouse cursor (relative to the top left of the display)
XDOUBLEHorizontal position relative to the surface that the pointer is over - unless a mouse button is held or pointer is anchored - then the coordinates are relative to the click-held surface
YDOUBLEVertical position relative to the surface that the pointer is over - unless a mouse button is held or pointer is anchored - then the coordinates are relative to the click-held surface
DeviceIDOBJECTIDThe hardware device that this event originated from
TypeJETJET constant that describes the event
FlagsJTYPEBroad descriptors for the given Type (see JTYPE flags). Automatically defined when delivered to the pointer object
MaskJTYPEMask to use for checking against subscribers
Document module documentation © Paul Manias © 2005-2026

dcAudio Structure

Data feed structure for Audio

FieldTypeDescription
SizeINTByte size of this structure
FormatINTFormat of the audio data
Document module documentation © Paul Manias © 2005-2026

dcDeviceInput Structure

FieldTypeDescription
ValuesDOUBLEThe value(s) associated with the Type
TimestampINT64PreciseTime() of the recorded input
DeviceIDOBJECTIDThe hardware device that this event originated from (note: This ID can be to a private/inaccessible object, the point is that the ID is unique)
FlagsJTYPEBroad descriptors for the given Type. Automatically defined when delivered to the pointer object
TypeJETJET constant
Document module documentation © Paul Manias © 2005-2026

dcKeyEntry Structure

Data feed structure for Keypress

FieldTypeDescription
FlagsINTShift/Control/CapsLock...
ValueINTASCII value of the key A/B/C/D...
TimestampINT64PreciseTime() at which the keypress was recorded
UnicodeINTUnicode value for pre-calculated key translations
Document module documentation © Paul Manias © 2005-2026

dcRequest Structure

Data feed item request

FieldTypeDescription
ItemINTIdentifier for retrieval from the source
PreferenceINT8Data preferences for the returned item(s)
Document module documentation © Paul Manias © 2005-2026