<!--
 Copyright (c) 2019 Emilian Roman
 
 This software is provided 'as-is', without any express or implied
 warranty. In no event will the authors be held liable for any damages
 arising from the use of this software.
 
 Permission is granted to anyone to use this software for any purpose,
 including commercial applications, and to alter it and redistribute it
 freely, subject to the following restrictions:
 
 1. The origin of this software must not be misrepresented; you must not
    claim that you wrote the original software. If you use this software
    in a product, an acknowledgment in the product documentation would be
    appreciated but is not required.
 2. Altered source versions must be plainly marked as such, and must not be
    misrepresented as being the original software.
 3. This notice may not be removed or altered from any source distribution.
-->

DEVELOPER DOCUMENTATION
=======================

HXE permits you to import it into your own .NET 4.5.\* project and rely
on its functionality. This documentation outlines the various ways its
library can be used.

PROFILE EDITING
---------------

The default/last-used HCE profile can be automatically detected and
loaded. You can then manipulate its contents and save it. The following
snippet provides a robust example of how to use the API:

    try
    {
        var profile = Profile.Detect();

        profile.Details.Name            = "Red Girl";
        profile.Details.Colour          = Crimson;
        profile.Video.Resolution.Width  = 1920;
        profile.Video.Resolution.Height = 1080;
        profile.Audio.Volume.Master     = 10;
        profile.Audio.Quality           = Normal;

        profile.Save();
    }
    catch (FileNotFoundException e)
    {
        // profile likely does not exist
    }

The tables below outline all of the exposed properties, categorised into
three types:

-   options: enum-based properties, e.g. colours, network types

-   integer: properties which you can set an integer value to,
    e.g. volumes, resolutions

-   boolean: properties you can toggle, e.g. video effects, mouse
    vertical axis inversion

OPTIONS

  Section   Property
  --------- ------------
  Details   Colour
  Video     FrameRate
            Particles
            Quality
  Audio     Variety
  Network   Connection

INTEGER

  Section   Property
  --------- ------------------------
  Mouse     Sensitivity.Horizontal
            Sensitivity.Vertical
  Video     Resolution.Width
            Resolution.Height
            RefreshRate
            Gamma
  Audio     Volume.Master
            Volume.Effects
            Volume.Music
  Network   Port.Server
            Port.Client

BOOLEAN

  Section   Property
  --------- --------------------
  Mouse     InvertVerticalAxis
  Video     Effects.Specular
            Effects.Shadows
            Effects.Decals
