P.I. Engineering User Forum

Product Support, Technical Questions and Answers, and Examples for P.I. Engineering Products

You are not logged in.

#1 2017-04-18 19:03:12

tomerb
Member
Registered: 2017-04-18
Posts: 3

xkeys xk68 and disabling the keyboard

Hi,
I've got an xk68 keyboard with the job, I'm controlling it via the API and c#
when a button is pressed it comes to the
"void HandlePIEHidData(Byte[] data, PIEDevice sourceDevice, int error)" event,
however it seems like the keystrokes are still sent to windows at the same time (pressing the top left button would send F1 and load the help menu on my software, etc)

is it possible to somehow make it report the actions to my app, and avoid sending any keyboard strokes to windows?

Offline

#2 2017-04-19 08:04:10

PIE Amber
Technical Software Developer
From: Williamston, MI
Registered: 2016-01-21
Posts: 169
Website

Re: xkeys xk68 and disabling the keyboard

Yes, the keystrokes are still sent. Generally, keystrokes are sent if they're in the memory -- I highly recommend unprogramming the X-keys in question. If there's nothing programmed, nothing will be sent.

We have a program on our website, EraseHWMacros.exe, which you can run to get rid of anything hiding in the memory: http://piengineering.com/assets/FileDow … Macros.zip

You *could* hypothetically switch to a non-keyboard PID, but it just makes more sense to remove the problem (the programming from the memory) instead of doing that.


Amber from P.I. Engineering

Offline

#3 2017-04-19 08:26:38

tomerb
Member
Registered: 2017-04-18
Posts: 3

Re: xkeys xk68 and disabling the keyboard

Hi,
Thanks for the quick reply,
I eventually used macro works to remove all the settings from the keyboard,
was wondering - is it possible to do so with the api?

Offline

#4 2017-04-19 08:30:48

PIE Amber
Technical Software Developer
From: Williamston, MI
Registered: 2016-01-21
Posts: 169
Website

Re: xkeys xk68 and disabling the keyboard

No, the API does not reveal anything about hardware mode (how to write it or clear it).


Amber from P.I. Engineering

Offline

#5 2017-04-19 08:31:19

tomerb
Member
Registered: 2017-04-18
Posts: 3

Re: xkeys xk68 and disabling the keyboard

gotcha
thanks!

Last edited by tomerb (2017-04-19 08:31:30)

Offline

Board footer

Powered by FluxBB