| skipped 132 lines |
133 | 133 | | 'VK_SCROLL' : 70, |
134 | 134 | | 'VK_NUMLOCK' : 69, |
135 | 135 | | 'VK_CAPITAL' : 58, |
136 | | - | 'VK_PAUSE' : 57629, |
| 136 | + | 'VK_RCONTROL' : 57629, |
137 | 137 | | 'VK_MULTIPLY' : 55, |
138 | 138 | | 'VK_ADD' : 78, |
139 | 139 | | 'VK_SUBTRACT' : 74, |
140 | 140 | | 'VK_DIVIDE' : 57397, |
141 | 141 | | 'VK_SNAPSHOT' : 84, |
142 | | - | 'VK_RCONTROL' : 57373, |
| 142 | + | #'VK_RCONTROL' : 57373, |
| 143 | + | #'VK_PAUSE' : 57629, |
143 | 144 | | 'VK_RMENU' : 57400, |
144 | 145 | | #'VK_DBE_NOCODEINPUT': 98, # except on KLID: 00000412 (ko) |
145 | 146 | | #'VK_DECIMAL' not found anywhere? |
| skipped 916 lines |
1062 | 1063 | | if vk in self.__vk_to_sc: |
1063 | 1064 | | scancode = self.__vk_to_sc[vk] |
1064 | 1065 | | is_extended = True |
1065 | | - | print('EXT') |
1066 | 1066 | | else: |
1067 | 1067 | | scancode = scancode_hint |
1068 | 1068 | | return await self.send_key_scancode(scancode, is_pressed, is_extended) |
| skipped 137 lines |
1206 | 1206 | | return |
1207 | 1207 | | if indata.type == RDPDATATYPE.KEYSCAN: |
1208 | 1208 | | indata = cast(RDP_KEYBOARD_SCANCODE, indata) |
| 1209 | + | #right side control, altgr, and pause buttons still dont work well... |
| 1210 | + | #if indata.keyCode in [97]: |
| 1211 | + | # await self.send_key_virtualkey('VK_RCONTROL', indata.is_pressed, indata.is_extended, scancode_hint=indata.keyCode) |
1209 | 1212 | | if indata.vk_code is not None: |
1210 | 1213 | | await self.send_key_virtualkey(indata.vk_code, indata.is_pressed, indata.is_extended, scancode_hint=indata.keyCode) |
1211 | 1214 | | else: |
| skipped 109 lines |