andi_lindl
Joined: 01 Jul 2015 Posts: 2
|
Posted: Thu Jul 02, 2015 8:56 pm Post subject: |
|
|
i have the solution
f Usb_data_to_send <> 0 Then
If Key_hit = 0 And Transmit_no_key = 0 Then
--->>> new Read Usb_key1 'zuerst den HID modifier 0=normal, 2=left shift
Read Usb_key ' read data
---
Keys:
Data 'HID modifier' 0 , &H1E , 2 , 7 , 0 , 9 , 0 , 11 , 0 , 13 , 0 , 15 , 0 , 17 , 0 , 18
Transmit_no_key = 1
Uenum = Ep_kbd_in
--->>> new Uedatx = Usb_key1
Uedatx = 0 ' Byte1: Reserved
Uedatx = Usb_key ' Byte2: Keycode 0
Uedatx = 0 ' Byte2: Keycode 1
Uedatx = 0 ' Byte2: Keycode 2
Uedatx = 0 ' Byte2: Keycode 3
Uedatx = 0 ' Byte2: Keycode 4
Uedatx = 0 ' Byte2: Keycode 5 |
|