C
C#2y ago
javboy

✅ intercept keyboard

I'm working on a kiosk app that should lock out certain user levels, just inquiring the best method to intercept Keyboard inputs that would let the user leave the app (ctrl, win ect.)
12 Replies
Sossenbinder
Sossenbinder2y ago
If you're on windows, you can leverage the win32 api I'm not sure about other platforms though
javboy
javboyOP2y ago
yeah pure win 10 LTSC
jcotton42
jcotton422y ago
Kiosk settings for Windows 10/11 in Microsoft Intune
Configure your Windows 10/11 client devices as single-app and multi-app kiosks, customize the start menu, add apps, show the task bar, and configure a web browser in Microsoft Intune.
jcotton42
jcotton422y ago
These are OS-level settings though
javboy
javboyOP2y ago
i cant do IoT just LTSC enterprise
jcotton42
jcotton422y ago
Second link should work then I think
javboy
javboyOP2y ago
thanks ill look multi app kiosk looks like it might fit, but depending on users on the app ( can be local non windows accounts, or LDAP authenticated accounts from another Domain) users should or should not have access to windows shell can i call that from my app?
jcotton42
jcotton422y ago
I dunno I just googled "windows kiosk" because I remembered this feature existing
javboy
javboyOP2y ago
gocha looks its not a dynamic lockdown
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
javboy
javboyOP2y ago
end solution (for now) was to use the KBDLLHOOKSTRUCT and the user32.dll to manage hooks
Want results from more Discord servers?
Add your server