From 0f6d2945fc65b2939dbede096508bd9e59c8adb9 Mon Sep 17 00:00:00 2001 From: Maschell Date: Wed, 3 Aug 2016 21:44:59 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a5437e2..a77e266 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,14 @@ setControllerDataFromHID(&buffer,HID_ALL_CONNECTED_DEVICES); ``` This example will add the input from ALL connected HID devices into the created VPADData. +The postion of the mouse cursor can be read from here: +``` +#include "controller_patcher/cp_retain_vars.h" + +X Value gHID_Mouse.pad_data[0].data[0].X (0-1280) +Y Value gHID_Mouse.pad_data[0].data[0].Y (0-720) +``` + #Credits: - Maschell - FIX94 - huge thanks to him and his initally created gc-to-vpad. Was a motivation and base to start all this