Rev 8715 | Rev 8866 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8715 | Rev 8858 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; |
2 | ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2020. All rights reserved. |
3 | ;; Copyright (C) KolibriOS team 2004-2021. All rights reserved. |
4 | ;; PROGRAMMING: |
4 | ;; PROGRAMMING: |
5 | ;; Ivan Poddubny |
5 | ;; Ivan Poddubny |
6 | ;; Marat Zakiyanov (Mario79) |
6 | ;; Marat Zakiyanov (Mario79) |
7 | ;; VaStaNi |
7 | ;; VaStaNi |
8 | ;; Trans |
8 | ;; Trans |
Line 28... | Line 28... | ||
28 | ;; CleverMouse |
28 | ;; CleverMouse |
29 | ;; tsdima |
29 | ;; tsdima |
30 | ;; turbanoff |
30 | ;; turbanoff |
31 | ;; Asper |
31 | ;; Asper |
32 | ;; art_zh |
32 | ;; art_zh |
- | 33 | ;; dunkaist |
|
- | 34 | ;; Coldy |
|
- | 35 | ;; rgimad |
|
- | 36 | ;; Boppan |
|
- | 37 | ;; Doczom |
|
- | 38 | ;; and others |
|
33 | ;; |
39 | ;; |
34 | ;; Data in this file was originally part of MenuetOS project which is |
40 | ;; Data in this file was originally part of MenuetOS project which is |
35 | ;; distributed under the terms of GNU GPL. It is modified and redistributed as |
41 | ;; distributed under the terms of GNU GPL. It is modified and redistributed as |
36 | ;; part of KolibriOS project under the terms of GNU GPL. |
42 | ;; part of KolibriOS project under the terms of GNU GPL. |
37 | ;; |
43 | ;; |
Line 69... | Line 75... | ||
69 | format binary as "mnt" |
75 | format binary as "mnt" |
Line 70... | Line 76... | ||
70 | 76 | ||
71 | include 'macros.inc' |
77 | include 'macros.inc' |
Line 72... | Line 78... | ||
72 | include 'struct.inc' |
78 | include 'struct.inc' |
Line 73... | Line 79... | ||
73 | 79 | ||
74 | $Revision: 8715 $ |
80 | $Revision: 8858 $ |
Line 4043... | Line 4049... | ||
4043 | ;----------------------------------------------------------------------------- |
4049 | ;----------------------------------------------------------------------------- |
4044 | align 4 |
4050 | align 4 |
4045 | set_app_param: |
4051 | set_app_param: |
4046 | mov edi, [TASK_BASE] |
4052 | mov edi, [TASK_BASE] |
4047 | mov eax, ebx |
4053 | mov eax, ebx |
4048 | btr eax, 3 ; move MOUSE_FILTRATION |
- | |
4049 | mov ebx, [current_slot] ; bit into event_filter |
- | |
4050 | setc byte [ebx+APPDATA.event_filter] |
- | |
4051 | xchg eax, [edi + TASKDATA.event_mask] ; set new event mask |
4054 | xchg eax, [edi + TASKDATA.event_mask] ; set new event mask |
4052 | mov [esp+32], eax ; return old mask value |
4055 | mov [esp+32], eax ; return old mask value |
4053 | ret |
4056 | ret |
4054 | ;----------------------------------------------------------------------------- |
4057 | ;----------------------------------------------------------------------------- |