Rise
The Vieneo Province
Loading...
Searching...
No Matches
KeyboardChart.h File Reference
#include <winsock2.h>
#include <windows.h>
#include "Rendering/ClientRuntime11.h"
#include <dinput.h>
#include <array>
#include <string>
#include <vector>
#include <map>
#include <tuple>
#include "Viewscreen/binding.h"
Include dependency graph for KeyboardChart.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Keychart::Key
struct  Keychart::Label
struct  Keychart::MarqueePosition
class  KeyboardChart
struct  KeyboardChart::TextLayout

Namespaces

namespace  Keychart

Macros

#define DIRECTINPUT_VERSION   0x0800

Typedefs

using Keychart::Labels = std::array<std::array<Label, ModifierCount>, 256>

Functions

const std::vector< Key > & Keychart::Layout ()
Label Keychart::ControlLabel (BindingEnum function, const Label &normal)
MarqueePosition Keychart::Marquee (double elapsedSeconds, LONG textWidth, LONG availableWidth)
template<typename Translate>
Labels Keychart::BuildLabels (const std::vector< KeyBinding > &bindings, char profile, bool admin, Translate translate)

Variables

constexpr int Keychart::Width = 1815
constexpr int Keychart::ModifierCount = 4
constexpr int Keychart::KeyRowHeight = 124
constexpr int Keychart::LabelTop = 25
constexpr int Keychart::LabelHeight = 22
constexpr int Keychart::Height = 68 + 6 * KeyRowHeight + 12
constexpr double Keychart::MarqueeStartHold = 3.0
constexpr double Keychart::MarqueeEndHold = 1.0
constexpr double Keychart::MarqueePixelsPerSecond = 36.0

Macro Definition Documentation

◆ DIRECTINPUT_VERSION

#define DIRECTINPUT_VERSION   0x0800

Definition at line 7 of file KeyboardChart.h.