Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

terminalkeys.h File Reference

Sends a key to the output, taking terminal emulation settings into account. More...

#include <e32std.h>
#include <e32keys.h>

Go to the source code of this file.

Functions

void SendKey (TKeyCode aCode, TUint aModifiers)
 Sends a keypress to the backend.


Detailed Description

Sends a key to the output, taking terminal emulation settings into account.

This really should be a part of the terminal emulation code, and not in the frontend!

The keyboard translation code also should use some kind of Putty-internal key codes, instead of system-specific codes, which would make it portable. Now each port has to handle keyboard completely separately.

Based on TranslateKey() in window.c.

Copyright 2002 Petteri Kangaslampi

See license.txt for full copyright and license information.


Function Documentation

void SendKey TKeyCode    aCode,
TUint    aModifiers
 

Sends a keypress to the backend.

Used in the engine implementation.

Parameters:
aCode  Key code
aModifiers  Key modifiers (TKeyEvent::iModifiers)


Generated on Sun Feb 9 13:01:29 2003 for PuTTY by doxygen1.2.18