Ali مدیر کل
تاريخ عضويت: شنبه 20 تير 1383 تعداد ارسالها: 2983 محل سكونت: On the edge
3 شنبه 22 شهريور 1384 - 17:59 |
|
|
keyboard_check(key) Returns whether the key with the particular keycode is currently down.
keyboard_check_pressed(key) Returns whether the key with the particular keycode was pressed since the last step.
keyboard_check_released(key) Returns whether the key with the particular keycode was released since the last step.
keyboard_check_direct(key) Returns whether the key with the particular keycode is pressed by checking the hardware directly. The result is independent of which application has focus. It allows for a few more checks. In particular you can use keycodes vk_lshift, vk_lcontrol, vk_lalt, vk_rshift, vk_rcontrol and vk_ralt to check whether the left or right shift, control or alt key is pressed.
اینها کدهایی هستن که به بررسی فشرده شدن و رها شدن کلیدهای کیبورد میپردازن... در ضمن خواهشمندم قبل از سوال اول راهنمای نرم افزار رو مطالعه کنید...
---------------> RTM
علی |
_________________ پی سی گیمرز - آرشيو بزرگ بازی های کامپیوتری |
|