I am confused again.
I have finally started to look at using the keyboard to perform LCD commands and have hit the proverbial brick wall. I have the key_export.dll file in \windows\system32 directory. The CC2 log reports the file is loaded. All fine and good. At this point, I would need to use the key_tester to determine my keyboard scan-codes. OK.
I look in the plugin_info directory to peruse the cc2_keyboard.ini to determine command syntax. And now I am stuck.
The sample file
[options]
;key combination
[input00]
;id for reported event
id=2110068363
;key repeat rate in milliseconds
repeat=250
;key codes are in hex (Alt + Down here)
key0=0x1050
key1=0x0038
key2=0
tells me ... What?
I assume that the ini file captures the keyboard input and allows one to program events in the cc2_service.ini file?
For example,
if_type=1
if=1175782708
cond=0
to=4
do_type=6
do=0
I see 4 possibilties in the cc2_defs.h file: LCD, OTHER, GUI, TRANS. I see no keyboard so I assume I am heading down the wrong path here. Also, I would have no idea what to put in the to=? line.
So, after all that meandering, my question is: would it possible to upload an updated sample cc2_keyboard.ini to better explain how to program keyboard events?
Jim
I have finally started to look at using the keyboard to perform LCD commands and have hit the proverbial brick wall. I have the key_export.dll file in \windows\system32 directory. The CC2 log reports the file is loaded. All fine and good. At this point, I would need to use the key_tester to determine my keyboard scan-codes. OK.
I look in the plugin_info directory to peruse the cc2_keyboard.ini to determine command syntax. And now I am stuck.
The sample file
[options]
;key combination
[input00]
;id for reported event
id=2110068363
;key repeat rate in milliseconds
repeat=250
;key codes are in hex (Alt + Down here)
key0=0x1050
key1=0x0038
key2=0
tells me ... What?
I assume that the ini file captures the keyboard input and allows one to program events in the cc2_service.ini file?
For example,
if_type=1
if=1175782708
cond=0
to=4
do_type=6
do=0
I see 4 possibilties in the cc2_defs.h file: LCD, OTHER, GUI, TRANS. I see no keyboard so I assume I am heading down the wrong path here. Also, I would have no idea what to put in the to=? line.
So, after all that meandering, my question is: would it possible to upload an updated sample cc2_keyboard.ini to better explain how to program keyboard events?
Jim
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.