From 850fb54f5248e3e4a6f8ade1ca006ae46558866d Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Mon, 19 Sep 2016 09:49:58 -0700 Subject: [PATCH] missing shims for devices namespace --- sim/state/misc.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/sim/state/misc.ts b/sim/state/misc.ts index 5a271efe..96f3700a 100644 --- a/sim/state/misc.ts +++ b/sim/state/misc.ts @@ -116,6 +116,28 @@ namespace pxsim.pins { } } +namespace pxsim.devices { + export function tellCameraTo(action: number) { + // TODO + } + export function tellRemoteControlTo(action: number) { + // TODO + } + export function raiseAlertTo(action: number) { + // TODO + } + export function onSignalStrengthChanged(action: number) { + // TODO + } + export function signalStrength() : number { + // TODO + return 0; + } + export function onGamepadButton(button: number, body: RefAction) { + // TODO + } +} + namespace pxsim.bluetooth { export function startIOPinService(): void { // TODO