/* * Copyright 2011 cruxframework.org. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ package org.cruxframework.crux.core.client.screen; /** * @author Thiago da Rosa de Bustamante * */ public class ArrowsDevice { /** * Key codes for d-pad Navigation * @author Thiago da Rosa de Bustamante * */ public static class Keys { public static final int KEY_LEFT_ARROW = 37; public static final int KEY_UP_ARROW = 38; public static final int KEY_RIGHT_ARROW = 39; public static final int KEY_DOWN_ARROW = 40; public static final int KEY_ENTER_SELECT = 13; public static final int KEY_BACK = 66; public static final int KEY_MENU = 77; public static final int KEY_PLAY_PAUSE = 179; public static final int KEY_STOP = 178; public static final int KEY_SKIP_BACK = 177; public static final int KEY_SKIP_FORWARD = 176; public static final int KEY_REWIND = 227; public static final int KEY_FAST_FORWARD = 228; } }