Changeset 09f41d3 in mainline for uspace/srv/hid/output


Ignore:
Timestamp:
2024-09-25T17:19:36Z (17 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
c23a1fe
Parents:
6a753a9c
Message:

Tetris should be able to detect screen cursor control capability

Location:
uspace/srv/hid/output
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/ctl/serial.c

    r6a753a9c r09f41d3  
    8585static console_caps_t serial_get_caps(outdev_t *dev)
    8686{
    87         return (CONSOLE_CAP_STYLE | CONSOLE_CAP_INDEXED | CONSOLE_CAP_RGB);
     87        return (CONSOLE_CAP_CURSORCTL | CONSOLE_CAP_STYLE |
     88            CONSOLE_CAP_INDEXED | CONSOLE_CAP_RGB);
    8889}
    8990
  • uspace/srv/hid/output/port/ddev.c

    r6a753a9c r09f41d3  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * Copyright (c) 2008 Martin Decky
    44 * Copyright (c) 2006 Jakub Vana
     
    198198static console_caps_t output_ddev_get_caps(outdev_t *dev)
    199199{
    200         return (CONSOLE_CAP_STYLE | CONSOLE_CAP_INDEXED | CONSOLE_CAP_RGB);
     200        return (CONSOLE_CAP_CURSORCTL | CONSOLE_CAP_STYLE |
     201            CONSOLE_CAP_INDEXED | CONSOLE_CAP_RGB);
    201202}
    202203
  • uspace/srv/hid/output/port/ega.c

    r6a753a9c r09f41d3  
    143143static console_caps_t ega_get_caps(outdev_t *dev)
    144144{
    145         return (CONSOLE_CAP_STYLE | CONSOLE_CAP_INDEXED);
     145        return (CONSOLE_CAP_CURSORCTL | CONSOLE_CAP_STYLE |
     146            CONSOLE_CAP_INDEXED);
    146147}
    147148
Note: See TracChangeset for help on using the changeset viewer.