Any plans to add HID Output to Device Monitor?
5 posts
• Page 1 of 1
Any plans to add HID Output to Device Monitor?
Title pretty much says it all. Would be good to have some way of monitoring HID output for keyboard and mouse in the Device Monitor.
- creedkiller
- Lieutenant
- Posts: 293
- Joined: Fri Mar 17, 2017 4:08 pm
Re: Any plans to add HID Output to Device Monitor?
This is already possible using a script.
example.
example.
- Code: Select all
#include <keyboard.gph>
#include <mouse.gph>
main {
set_val(0, key_status(KEY_A));
set_val(1, key_status(KEY_B));
set_val(2, key_status(KEY_C));
set_val(3, key_status(KEY_D));
set_val(4, key_status(KEY_E));
.
.
.
set_val(5, mouse_status(MOUSE_X));
set_val(6, mouse_status(MOUSE_Y));
set_val(7, mouse_status(MBUTTON_1));
set_val(8, mouse_status(MBUTTON_2));
.
.
.
}
-
DontAtMe - Captain
- Posts: 502
- Joined: Tue Oct 02, 2018 4:49 am
Re: Any plans to add HID Output to Device Monitor?
your script effectively maps keyboard and mouse to gamepad outputs which can be helpful for some uses, but in general it would be much better to be able to monitor both input and output as keyboard and mouse without mapping anything. The same way be now monitor input and output for gamepads on the device monitor it would be good if we could monitor keyboard input and mouse input and if HID output protocol is set then also keyboard and mouse outputs.DontAtMe wrote:This is already possible using a script.
example.
- Code: Select all
#include <keyboard.gph>
#include <mouse.gph>
main {
set_val(0, key_status(KEY_A));
set_val(1, key_status(KEY_B));
set_val(2, key_status(KEY_C));
set_val(3, key_status(KEY_D));
set_val(4, key_status(KEY_E));
.
.
.
set_val(5, mouse_status(MOUSE_X));
set_val(6, mouse_status(MOUSE_Y));
set_val(7, mouse_status(MBUTTON_1));
set_val(8, mouse_status(MBUTTON_2));
.
.
.
}
- creedkiller
- Lieutenant
- Posts: 293
- Joined: Fri Mar 17, 2017 4:08 pm
Re: Any plans to add HID Output to Device Monitor?
creedkiller wrote:Title pretty much says it all. Would be good to have some way of monitoring HID output for keyboard and mouse in the Device Monitor.
This implementation is not currently planned. The workaround, if needed monitor some keyboard or mouse input, is map to a GPC Designator with a Input Translator, or using a script as suggested by DontAtMe, or, also using script, pritnf() to output panel the key press/release events.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: Any plans to add HID Output to Device Monitor?
J2Kbr wrote:creedkiller wrote:Title pretty much says it all. Would be good to have some way of monitoring HID output for keyboard and mouse in the Device Monitor.
This implementation is not currently planned. The workaround, if needed monitor some keyboard or mouse input, is map to a GPC Designator with a Input Translator, or using a script as suggested by DontAtMe, or, also using script, pritnf() to output panel the key press/release events.
Thanks J2Kbr.
- creedkiller
- Lieutenant
- Posts: 293
- Joined: Fri Mar 17, 2017 4:08 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 111 guests