diff --git a/client/main.js b/client/main.js index a1f8797..950aa16 100644 --- a/client/main.js +++ b/client/main.js @@ -136,4 +136,4 @@ function scaleValue(value, maxValue, canvasSize) { } // Initial WebSocket connection -// connectWebSocket(); +connectWebSocket(); diff --git a/internal/events/events.go b/internal/events/events.go index 1b366e0..a4d6cfe 100644 --- a/internal/events/events.go +++ b/internal/events/events.go @@ -21,7 +21,7 @@ const ( // InputEvent from the reMarkable type InputEvent struct { - Time syscall.Timeval + Time syscall.Timeval `json:"-"` Type uint16 // Code holds the position of the mouse/touch // In case of an EV_ABS event,