How do I use 1x scancodes as argument in SendInput

113 views Asked by At

I'm using SendInput() (using InteropServices, C#) with scancodes as argument. However, I don't manage to send combinations using R-ALT. I'm using Mac with Bootcamp and the R-ALT scancode is registered as 1x38 (R-ALT + L-Control) but I can't use 138 (1x38?) as a scancode argument (ushort/int).

Error message is just "The name x38 does not exist in the current context".

How do I properly use scancodes like 138 as argument in SendInput()?

0

There are 0 answers