mnscript
NumpadTriggerDevice Device.FindNumpadTrigger(string)
Description ​
Finds a connected Numpad Trigger Device
Arguments ​
string
- The device name to search for
Returns ​
NumpadTriggerDevice
- The found device
Example ​
msc
using Device;
// Finds a numpad trigger device with the name "My Numpad Trigger" and set its key.
NumpadTriggerDevice device = Device.FindNumpadTrigger("My Numpad Trigger");
device.SetKeyNumber(38);