diff options
author | James <git@panaceas.org> | 2014-05-05 17:54:12 +0100 |
---|---|---|
committer | James <git@panaceas.org> | 2014-05-05 17:54:12 +0100 |
commit | 0dd7af76f012e9a02182ed37b7cb0be3dcd55fed (patch) | |
tree | edd0bcc8c90a630a0c72eb561fad07df95e55af9 /layout.c | |
parent | d00119c905bccaa796a885e17f945f5644404772 (diff) | |
download | kmd_usb-0dd7af76f012e9a02182ed37b7cb0be3dcd55fed.tar.gz kmd_usb-0dd7af76f012e9a02182ed37b7cb0be3dcd55fed.tar.bz2 kmd_usb-0dd7af76f012e9a02182ed37b7cb0be3dcd55fed.zip |
indent
Diffstat (limited to 'layout.c')
-rw-r--r-- | layout.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -35,7 +35,7 @@ layout_possible (int console, int computer) if (console_locked[console]) return 0; -return 1; + return 1; } #elif defined(LAYOUT_HOME) int @@ -77,6 +77,8 @@ layout_map (int console, int computer) { int oc; + printf ("layout_map %d %d\n", console, computer); + if ((console < 1) || (console > N_CONSOLE)) return; if ((computer < 1) || (computer > N_COMPUTER)) @@ -143,11 +145,15 @@ layout_toggle_lock (int computer) int layout_init (void) { +#ifdef LAYOUT_HOME mm = MM_open (); layout_map (1, 3); layout_map (2, 4); layout_map (3, 5); +#elif defined(LAYOUT_BROMIUM) + layout_map (1, 1); +#endif layout_status (3); |