Subversion Repositories Kolibri OS

Rev

Rev 115 | Rev 164 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 115 Rev 118
Line 187... Line 187...
187
       jz    @f
187
       jz    @f
188
       mov   bl,[keymap_shift+eax]
188
       mov   bl,[keymap_shift+eax]
189
   @@: test  dl,VKEY_ALT         ; alt on ?
189
   @@: test  dl,VKEY_ALT         ; alt on ?
190
       jz    @f
190
       jz    @f
191
       mov   bl,[keymap_alt+eax]
191
       mov   bl,[keymap_alt+eax]
192
; alt mouse ?
-
 
193
       xor   edx,edx
-
 
194
       cmp   bl,178
-
 
195
       jnz   .no_alt.up
-
 
196
       mov   edx,5*65536
-
 
197
       jmp   .mouse.change
-
 
198
   .no_alt.up:
-
 
199
       cmp   bl,177
-
 
200
       jnz   .no_alt.down
-
 
201
       mov   edx,251*65536
-
 
202
       jmp   .mouse.change
-
 
203
   .no_alt.down:
-
 
204
       cmp   bl,176
-
 
205
       jnz   .no_alt.left
-
 
206
       mov   edx,251*256
-
 
207
       jmp   .mouse.change
-
 
208
   .no_alt.left:
-
 
209
       cmp   bl,179
-
 
210
       jnz   .no_alt.right
-
 
211
       mov   edx,5*256
-
 
212
       jmp   .mouse.change
-
 
213
   .no_alt.right:
-
 
214
       cmp   bl,' '
-
 
215
       jne   @f
-
 
216
       xor   [altmouseb],1
-
 
217
   .mouse.change:
-
 
218
       mov   byte[0xF604],1; ps2 data
-
 
219
       mov   byte[0xFB00],0; ps2 chunk count
-
 
220
       mov   word[0x2E0000+4096*12],3; mouse data count
-
 
221
       mov   dl,[altmouseb]
-
 
222
       mov   [0x2E0000+4096*12+0x10],edx
-
 
223
       mov   bl,0
-
 
224
   @@:
192
   @@:
225
        mov     bh, 0
193
        mov     bh, 0
226
        jmp     .writekey
194
        jmp     .writekey
227
.modifier:
195
.modifier:
228
        test    ch, ch
196
        test    ch, ch