Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
diff --git sys/dev/acpi/acpi.c sys/dev/acpi/acpi.c | |
index 853bad1ab..26a5c1702 100644 | |
--- sys/dev/acpi/acpi.c | |
+++ sys/dev/acpi/acpi.c | |
@@ -52,6 +52,9 @@ | |
#define APMDEV_NORMAL 0 | |
#define APMDEV_CTL 8 | |
+#define GPE_RATE_MIN_CYCLE 5 /* seconds */ | |
+#define GPE_RATE_MAX 1000 /* per second */ |
#include <iostream> | |
#include <string> | |
#include <curl/curl.h> | |
static size_t WriteCallback(void *contents, size_t size, size_t nmemb, void *userp) | |
{ | |
((std::string*)userp)->append((char*)contents, size * nmemb); | |
return size * nmemb; | |
} |