Changeset 178d6a3 in mainline for uspace/srv/hid/remcons/user.h


Ignore:
Timestamp:
2012-01-12T11:03:17Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
03e0a244
Parents:
c17c4e28
Message:

remcons: handle backspace

The handling is a bit hackish because the server pretends that it remembers
X cursor position and sends BS manually when they differ (with the new one)
by minus one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/remcons/user.h

    rc17c4e28 r178d6a3  
    7171        int locsrv_connection_count;
    7272        bool socket_closed;
     73
     74        /** X position of the cursor. */
     75        int cursor_x;
    7376} telnet_user_t;
    7477
     
    7982void telnet_user_notify_client_disconnected(telnet_user_t *user);
    8083int telnet_user_get_next_keyboard_event(telnet_user_t *user, kbd_event_t *event);
     84int telnet_user_send_data(telnet_user_t *user, uint8_t *data, size_t size);
     85void telnet_user_update_cursor_x(telnet_user_t *user, int new_x);
    8186
    8287/** Print informational message about connected user. */
Note: See TracChangeset for help on using the changeset viewer.