• Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    MarK
    Posts: 641 from 2004/1/25
    From: Prague, The Cz...
    Hi! You can always use AmigaOS3 compatible functions in MorphOS to play with CTRL+C/D/E/F (source code in PowerD):

    Code:
    // this function returns TRUE when CTRL+C was pressed... 
    MODULE 'dos/dos'

    PROC CtrlC()(L)
    ..IF SetSignal(0,0)&SIGBREAKF_CTRL_C
    ....SetSignal(0,SIGBREAKF_CTRL_C)
    ....RETURN TRUE
    ..ELSE
    ....RETURN FALSE
    ..ENDIF
    ENDPROC


    // EOF

    ps: sorry for dots instead of spaces/tabs...
    bye, MarK.
  • »15.12.10 - 08:26
    Profile