aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2024-09-11 14:31:50 -0700
committerDeterminant <[email protected]>2024-09-11 14:31:50 -0700
commit58d1279c1455fd6912b047666f3288a36e24a81d (patch)
tree216168a6f76e9556bb148dfe2a88a429cc308774
parentcd1a5f240fb0c503fccd92e9bda3f3a23e10d4ed (diff)
v0.0.11
-rwxr-xr-xapp.mjs4
-rw-r--r--font.ttfbin55400 -> 140292 bytes
-rw-r--r--package-lock.json4
-rw-r--r--package.json2
-rw-r--r--profile.yaml11
5 files changed, 5 insertions, 16 deletions
diff --git a/app.mjs b/app.mjs
index 7325da9..18318d1 100755
--- a/app.mjs
+++ b/app.mjs
@@ -2,7 +2,7 @@
import { registerFont } from "canvas";
-const defaultFont = "OCR A Extended";
+const defaultFont = "B612"; // font.ttf uses the font from https://b612-font.com/
if (process.platform == "linux") {
process.env.FONTCONFIG_FILE = import.meta.dirname;
//console.warn(
@@ -19,7 +19,7 @@ import { parse } from "yaml";
import { queue } from "async";
import { XPlane } from "./xplane.mjs";
-const defaultTextSize = 22;
+const defaultTextSize = 18;
const xplane = new XPlane();
if (process.argv.length > 3) {
diff --git a/font.ttf b/font.ttf
index 0e77e20..32bbdee 100644
--- a/font.ttf
+++ b/font.ttf
Binary files differ
diff --git a/package-lock.json b/package-lock.json
index 518dbb4..4dd115a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "loupe-flightdeck",
- "version": "0.0.10",
+ "version": "0.0.11",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "loupe-flightdeck",
- "version": "0.0.10",
+ "version": "0.0.11",
"dependencies": {
"async": "^3.2.6",
"canvas": "^2.11.2",
diff --git a/package.json b/package.json
index 712ca8d..6caf781 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "loupe-flightdeck",
- "version": "0.0.10",
+ "version": "0.0.11",
"description": "Turn your stream deck into a flight deck!",
"repository": {
"type": "git",
diff --git a/profile.yaml b/profile.yaml
index bcf9780..88aa7ca 100644
--- a/profile.yaml
+++ b/profile.yaml
@@ -127,7 +127,6 @@
- label:
- Flaps
- Up
- size: 20
pressed:
xplane_cmd: sim/flight_controls/flaps_up
- display:
@@ -166,7 +165,6 @@
- label:
- Flaps
- Down
- size: 20
pressed:
xplane_cmd: sim/flight_controls/flaps_down
- display:
@@ -243,7 +241,6 @@
- label: Brake
pressed:
xplane_cmd: sim/flight_controls/brakes_toggle_regular
- size: 20
# Page 1
- right:
@@ -308,7 +305,6 @@
# Page 2
- left:
- label: FMS out
- size: 20
inc:
xplane_cmd: sim/GPS/g1000n1_fms_outer_up
dec:
@@ -316,7 +312,6 @@
pressed:
xplane_cmd: sim/GPS/g1000n1_cursor
- label: FMS in
- size: 20
inc:
xplane_cmd: sim/GPS/g1000n1_fms_inner_up
dec:
@@ -330,7 +325,6 @@
xplane_cmd: sim/GPS/g1000n1_baro_down
right:
- label: FMS out
- size: 20
inc:
xplane_cmd: sim/GPS/g1000n3_fms_outer_up
dec:
@@ -338,7 +332,6 @@
pressed:
xplane_cmd: sim/GPS/g1000n3_cursor
- label: FMS in
- size: 20
inc:
xplane_cmd: sim/GPS/g1000n3_fms_inner_up
dec:
@@ -388,7 +381,6 @@
# Page 3
- left:
- label: COM in
- size: 20
inc:
xplane_cmd: sim/GPS/g1000n1_com_inner_up
dec:
@@ -396,7 +388,6 @@
pressed:
xplane_cmd: sim/GPS/g1000n1_com12
- label: COM out
- size: 20
inc:
xplane_cmd: sim/GPS/g1000n1_com_outer_up
dec:
@@ -406,7 +397,6 @@
-
right:
- label: NAV in
- size: 20
inc:
xplane_cmd: sim/GPS/g1000n1_nav_inner_up
dec:
@@ -414,7 +404,6 @@
pressed:
xplane_cmd: sim/GPS/g1000n1_nav12
- label: NAV out
- size: 20
inc:
xplane_cmd: sim/GPS/g1000n1_nav_outer_up
dec: