Code : Tout sélectionner
key = #PB_Key_LeftControl | #PB_Key_C
Il me semble que j'ai su le faire avec une seule ligne de code mais incapable de m'en souvenir.
Merci de votre aide
Code : Tout sélectionner
key = #PB_Key_LeftControl | #PB_Key_C
Code : Tout sélectionner
key = #PB_Key_LeftControl | #PB_Key_C
debug bool((key&#pb_key_c)=#pb_key_c)
Code : Tout sélectionner
key = #PB_Key_LeftControl | #PB_Key_C
X = Bool((Key & #PB_Key_LeftControl) = #PB_Key_LeftControl)
Code : Tout sélectionner
Y = (Key & #PB_Key_LeftControl) - #PB_Key_LeftControl
Code : Tout sélectionner
Z = (Key ! #PB_Key_LeftControl) - Key